14473 lines
536 KiB
TypeScript
14473 lines
536 KiB
TypeScript
|
|
/**
|
|
* 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<T> = $Public.PrismaPromise<T>
|
|
|
|
|
|
/**
|
|
* Model msasuransi
|
|
*
|
|
*/
|
|
export type msasuransi = $Result.DefaultSelection<Prisma.$msasuransiPayload>
|
|
/**
|
|
* Model mspasien
|
|
*
|
|
*/
|
|
export type mspasien = $Result.DefaultSelection<Prisma.$mspasienPayload>
|
|
/**
|
|
* Model mspegawai
|
|
*
|
|
*/
|
|
export type mspegawai = $Result.DefaultSelection<Prisma.$mspegawaiPayload>
|
|
/**
|
|
* Model msruangpelayanan
|
|
*
|
|
*/
|
|
export type msruangpelayanan = $Result.DefaultSelection<Prisma.$msruangpelayananPayload>
|
|
/**
|
|
* Model mstindakan
|
|
*
|
|
*/
|
|
export type mstindakan = $Result.DefaultSelection<Prisma.$mstindakanPayload>
|
|
/**
|
|
* Model trregistrasi
|
|
*
|
|
*/
|
|
export type trregistrasi = $Result.DefaultSelection<Prisma.$trregistrasiPayload>
|
|
/**
|
|
* Model trtransaksi
|
|
*
|
|
*/
|
|
export type trtransaksi = $Result.DefaultSelection<Prisma.$trtransaksiPayload>
|
|
/**
|
|
* Model msusers
|
|
*
|
|
*/
|
|
export type msusers = $Result.DefaultSelection<Prisma.$msusersPayload>
|
|
|
|
/**
|
|
* ## 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.LogLevel | Prisma.LogDefinition> ? Prisma.GetEvents<T['log']> : never : never,
|
|
ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs
|
|
> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T, Prisma.PrismaClientOptions>);
|
|
$on<V extends U>(eventType: V, callback: (event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent) => void): void;
|
|
|
|
/**
|
|
* Connect with the database
|
|
*/
|
|
$connect(): $Utils.JsPromise<void>;
|
|
|
|
/**
|
|
* Disconnect from the database
|
|
*/
|
|
$disconnect(): $Utils.JsPromise<void>;
|
|
|
|
/**
|
|
* 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<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<number>;
|
|
|
|
/**
|
|
* 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<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<number>;
|
|
|
|
/**
|
|
* 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<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<T>;
|
|
|
|
/**
|
|
* 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<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<T>;
|
|
|
|
/**
|
|
* 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<P extends Prisma.PrismaPromise<any>[]>(arg: [...P], options?: { isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise<runtime.Types.Utils.UnwrapTuple<P>>
|
|
|
|
$transaction<R>(fn: (prisma: Omit<PrismaClient, runtime.ITXClientDenyList>) => $Utils.JsPromise<R>, options?: { maxWait?: number, timeout?: number, isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise<R>
|
|
|
|
|
|
$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<ExtArgs>;
|
|
|
|
/**
|
|
* `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<ExtArgs>;
|
|
|
|
/**
|
|
* `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<ExtArgs>;
|
|
|
|
/**
|
|
* `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<ExtArgs>;
|
|
|
|
/**
|
|
* `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<ExtArgs>;
|
|
|
|
/**
|
|
* `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<ExtArgs>;
|
|
|
|
/**
|
|
* `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<ExtArgs>;
|
|
|
|
/**
|
|
* `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<ExtArgs>;
|
|
}
|
|
|
|
export namespace Prisma {
|
|
export import DMMF = runtime.DMMF
|
|
|
|
export type PrismaPromise<T> = $Public.PrismaPromise<T>
|
|
|
|
/**
|
|
* 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<T> = runtime.Metric<T>
|
|
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<JsonValue> {}
|
|
|
|
/**
|
|
* 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<InputJsonValue | null> {}
|
|
|
|
/**
|
|
* 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<any>> = T extends PromiseLike<infer U> ? U : T;
|
|
|
|
/**
|
|
* Get the return type of a function which returns a Promise.
|
|
*/
|
|
export type PromiseReturnType<T extends (...args: any) => $Utils.JsPromise<any>> = PromiseType<ReturnType<T>>
|
|
|
|
/**
|
|
* From T, pick a set of properties whose keys are in the union K
|
|
*/
|
|
type Prisma__Pick<T, K extends keyof T> = {
|
|
[P in K]: T[P];
|
|
};
|
|
|
|
|
|
export type Enumerable<T> = T | Array<T>;
|
|
|
|
export type RequiredKeys<T> = {
|
|
[K in keyof T]-?: {} extends Prisma__Pick<T, K> ? never : K
|
|
}[keyof T]
|
|
|
|
export type TruthyKeys<T> = keyof {
|
|
[K in keyof T as T[K] extends false | undefined | null ? never : K]: K
|
|
}
|
|
|
|
export type TrueKeys<T> = TruthyKeys<Prisma__Pick<T, RequiredKeys<T>>>
|
|
|
|
/**
|
|
* Subset
|
|
* @desc From `T` pick properties that exist in `U`. Simple version of Intersection
|
|
*/
|
|
export type Subset<T, U> = {
|
|
[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<T, U> = {
|
|
[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<T, U, K> = {
|
|
[key in keyof T]: key extends keyof U ? T[key] : never
|
|
} &
|
|
K
|
|
|
|
type Without<T, U> = { [P in Exclude<keyof T, keyof U>]?: 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, U> =
|
|
T extends object ?
|
|
U extends object ?
|
|
(Without<T, U> & U) | (Without<U, T> & T)
|
|
: U : T
|
|
|
|
|
|
/**
|
|
* Is T a Record?
|
|
*/
|
|
type IsObject<T extends any> = T extends Array<any>
|
|
? 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 unknown> = T extends Array<infer U> ? U : T
|
|
|
|
/**
|
|
* From ts-toolbelt
|
|
*/
|
|
|
|
type __Either<O extends object, K extends Key> = Omit<O, K> &
|
|
{
|
|
// Merge all but K
|
|
[P in K]: Prisma__Pick<O, P & keyof O> // With K possibilities
|
|
}[K]
|
|
|
|
type EitherStrict<O extends object, K extends Key> = Strict<__Either<O, K>>
|
|
|
|
type EitherLoose<O extends object, K extends Key> = ComputeRaw<__Either<O, K>>
|
|
|
|
type _Either<
|
|
O extends object,
|
|
K extends Key,
|
|
strict extends Boolean
|
|
> = {
|
|
1: EitherStrict<O, K>
|
|
0: EitherLoose<O, K>
|
|
}[strict]
|
|
|
|
type Either<
|
|
O extends object,
|
|
K extends Key,
|
|
strict extends Boolean = 1
|
|
> = O extends unknown ? _Either<O, K, strict> : never
|
|
|
|
export type Union = any
|
|
|
|
type PatchUndefined<O extends object, O1 extends object> = {
|
|
[K in keyof O]: O[K] extends undefined ? At<O1, K> : O[K]
|
|
} & {}
|
|
|
|
/** Helper Types for "Merge" **/
|
|
export type IntersectOf<U extends Union> = (
|
|
U extends unknown ? (k: U) => void : never
|
|
) extends (k: infer I) => void
|
|
? I
|
|
: never
|
|
|
|
export type Overwrite<O extends object, O1 extends object> = {
|
|
[K in keyof O]: K extends keyof O1 ? O1[K] : O[K];
|
|
} & {};
|
|
|
|
type _Merge<U extends object> = IntersectOf<Overwrite<U, {
|
|
[K in keyof U]-?: At<U, K>;
|
|
}>>;
|
|
|
|
type Key = string | number | symbol;
|
|
type AtBasic<O extends object, K extends Key> = K extends keyof O ? O[K] : never;
|
|
type AtStrict<O extends object, K extends Key> = O[K & keyof O];
|
|
type AtLoose<O extends object, K extends Key> = O extends unknown ? AtStrict<O, K> : never;
|
|
export type At<O extends object, K extends Key, strict extends Boolean = 1> = {
|
|
1: AtStrict<O, K>;
|
|
0: AtLoose<O, K>;
|
|
}[strict];
|
|
|
|
export type ComputeRaw<A extends any> = A extends Function ? A : {
|
|
[K in keyof A]: A[K];
|
|
} & {};
|
|
|
|
export type OptionalFlat<O> = {
|
|
[K in keyof O]?: O[K];
|
|
} & {};
|
|
|
|
type _Record<K extends keyof any, T> = {
|
|
[P in K]: T;
|
|
};
|
|
|
|
// cause typescript not to expand types and preserve names
|
|
type NoExpand<T> = T extends unknown ? T : never;
|
|
|
|
// this type assumes the passed object is entirely optional
|
|
type AtLeast<O extends object, K extends string> = 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, _U = U> = U extends unknown ? U & OptionalFlat<_Record<Exclude<Keys<_U>, keyof U>, never>> : never;
|
|
|
|
export type Strict<U extends object> = ComputeRaw<_Strict<U>>;
|
|
/** End Helper Types for "Merge" **/
|
|
|
|
export type Merge<U extends object> = ComputeRaw<_Merge<Strict<U>>>;
|
|
|
|
/**
|
|
A [[Boolean]]
|
|
*/
|
|
export type Boolean = True | False
|
|
|
|
// /**
|
|
// 1
|
|
// */
|
|
export type True = 1
|
|
|
|
/**
|
|
0
|
|
*/
|
|
export type False = 0
|
|
|
|
export type Not<B extends Boolean> = {
|
|
0: 1
|
|
1: 0
|
|
}[B]
|
|
|
|
export type Extends<A1 extends any, A2 extends any> = [A1] extends [never]
|
|
? 0 // anything `never` is false
|
|
: A1 extends A2
|
|
? 1
|
|
: 0
|
|
|
|
export type Has<U extends Union, U1 extends Union> = Not<
|
|
Extends<Exclude<U1, U>, U1>
|
|
>
|
|
|
|
export type Or<B1 extends Boolean, B2 extends Boolean> = {
|
|
0: {
|
|
0: 0
|
|
1: 1
|
|
}
|
|
1: {
|
|
0: 1
|
|
1: 1
|
|
}
|
|
}[B1][B2]
|
|
|
|
export type Keys<U extends Union> = U extends unknown ? keyof U : never
|
|
|
|
type Cast<A, B> = A extends B ? A : B;
|
|
|
|
export const type: unique symbol;
|
|
|
|
|
|
|
|
/**
|
|
* Used by group by
|
|
*/
|
|
|
|
export type GetScalarType<T, O> = O extends object ? {
|
|
[P in keyof T]: P extends keyof O
|
|
? O[P]
|
|
: never
|
|
} : never
|
|
|
|
type FieldPaths<
|
|
T,
|
|
U = Omit<T, '_avg' | '_sum' | '_count' | '_min' | '_max'>
|
|
> = IsObject<T> extends True ? U : T
|
|
|
|
type GetHavingFields<T> = {
|
|
[K in keyof T]: Or<
|
|
Or<Extends<'OR', K>, 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<UnEnumerate<TK> extends object ? Merge<UnEnumerate<TK>> : never>
|
|
: never
|
|
: {} extends FieldPaths<T[K]>
|
|
? never
|
|
: K
|
|
}[keyof T]
|
|
|
|
/**
|
|
* Convert tuple to union
|
|
*/
|
|
type _TupleToUnion<T> = T extends (infer E)[] ? E : never
|
|
type TupleToUnion<K extends readonly any[]> = _TupleToUnion<K>
|
|
type MaybeTupleToUnion<T> = T extends any[] ? TupleToUnion<T> : T
|
|
|
|
/**
|
|
* Like `Pick`, but additionally can also accept an array of keys
|
|
*/
|
|
type PickEnumerable<T, K extends Enumerable<keyof T> | keyof T> = Prisma__Pick<T, MaybeTupleToUnion<K>>
|
|
|
|
/**
|
|
* Exclude all keys with underscores
|
|
*/
|
|
type ExcludeUnderscoreKeys<T extends string> = T extends `_${string}` ? never : T
|
|
|
|
|
|
export type FieldRef<Model, FieldType> = runtime.FieldRef<Model, FieldType>
|
|
|
|
type FieldRefInputType<Model, FieldType> = Model extends never ? never : FieldRef<Model, FieldType>
|
|
|
|
|
|
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<string, any>> {
|
|
returns: Prisma.TypeMap<this['params']['extArgs']>
|
|
}
|
|
|
|
export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
meta: {
|
|
modelProps: 'msasuransi' | 'mspasien' | 'mspegawai' | 'msruangpelayanan' | 'mstindakan' | 'trregistrasi' | 'trtransaksi' | 'msusers'
|
|
txIsolationLevel: Prisma.TransactionIsolationLevel
|
|
},
|
|
model: {
|
|
msasuransi: {
|
|
payload: Prisma.$msasuransiPayload<ExtArgs>
|
|
fields: Prisma.msasuransiFieldRefs
|
|
operations: {
|
|
findUnique: {
|
|
args: Prisma.msasuransiFindUniqueArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$msasuransiPayload> | null
|
|
}
|
|
findUniqueOrThrow: {
|
|
args: Prisma.msasuransiFindUniqueOrThrowArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$msasuransiPayload>
|
|
}
|
|
findFirst: {
|
|
args: Prisma.msasuransiFindFirstArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$msasuransiPayload> | null
|
|
}
|
|
findFirstOrThrow: {
|
|
args: Prisma.msasuransiFindFirstOrThrowArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$msasuransiPayload>
|
|
}
|
|
findMany: {
|
|
args: Prisma.msasuransiFindManyArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$msasuransiPayload>[]
|
|
}
|
|
create: {
|
|
args: Prisma.msasuransiCreateArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$msasuransiPayload>
|
|
}
|
|
createMany: {
|
|
args: Prisma.msasuransiCreateManyArgs<ExtArgs>,
|
|
result: Prisma.BatchPayload
|
|
}
|
|
delete: {
|
|
args: Prisma.msasuransiDeleteArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$msasuransiPayload>
|
|
}
|
|
update: {
|
|
args: Prisma.msasuransiUpdateArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$msasuransiPayload>
|
|
}
|
|
deleteMany: {
|
|
args: Prisma.msasuransiDeleteManyArgs<ExtArgs>,
|
|
result: Prisma.BatchPayload
|
|
}
|
|
updateMany: {
|
|
args: Prisma.msasuransiUpdateManyArgs<ExtArgs>,
|
|
result: Prisma.BatchPayload
|
|
}
|
|
upsert: {
|
|
args: Prisma.msasuransiUpsertArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$msasuransiPayload>
|
|
}
|
|
aggregate: {
|
|
args: Prisma.MsasuransiAggregateArgs<ExtArgs>,
|
|
result: $Utils.Optional<AggregateMsasuransi>
|
|
}
|
|
groupBy: {
|
|
args: Prisma.msasuransiGroupByArgs<ExtArgs>,
|
|
result: $Utils.Optional<MsasuransiGroupByOutputType>[]
|
|
}
|
|
count: {
|
|
args: Prisma.msasuransiCountArgs<ExtArgs>,
|
|
result: $Utils.Optional<MsasuransiCountAggregateOutputType> | number
|
|
}
|
|
}
|
|
}
|
|
mspasien: {
|
|
payload: Prisma.$mspasienPayload<ExtArgs>
|
|
fields: Prisma.mspasienFieldRefs
|
|
operations: {
|
|
findUnique: {
|
|
args: Prisma.mspasienFindUniqueArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$mspasienPayload> | null
|
|
}
|
|
findUniqueOrThrow: {
|
|
args: Prisma.mspasienFindUniqueOrThrowArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$mspasienPayload>
|
|
}
|
|
findFirst: {
|
|
args: Prisma.mspasienFindFirstArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$mspasienPayload> | null
|
|
}
|
|
findFirstOrThrow: {
|
|
args: Prisma.mspasienFindFirstOrThrowArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$mspasienPayload>
|
|
}
|
|
findMany: {
|
|
args: Prisma.mspasienFindManyArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$mspasienPayload>[]
|
|
}
|
|
create: {
|
|
args: Prisma.mspasienCreateArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$mspasienPayload>
|
|
}
|
|
createMany: {
|
|
args: Prisma.mspasienCreateManyArgs<ExtArgs>,
|
|
result: Prisma.BatchPayload
|
|
}
|
|
delete: {
|
|
args: Prisma.mspasienDeleteArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$mspasienPayload>
|
|
}
|
|
update: {
|
|
args: Prisma.mspasienUpdateArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$mspasienPayload>
|
|
}
|
|
deleteMany: {
|
|
args: Prisma.mspasienDeleteManyArgs<ExtArgs>,
|
|
result: Prisma.BatchPayload
|
|
}
|
|
updateMany: {
|
|
args: Prisma.mspasienUpdateManyArgs<ExtArgs>,
|
|
result: Prisma.BatchPayload
|
|
}
|
|
upsert: {
|
|
args: Prisma.mspasienUpsertArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$mspasienPayload>
|
|
}
|
|
aggregate: {
|
|
args: Prisma.MspasienAggregateArgs<ExtArgs>,
|
|
result: $Utils.Optional<AggregateMspasien>
|
|
}
|
|
groupBy: {
|
|
args: Prisma.mspasienGroupByArgs<ExtArgs>,
|
|
result: $Utils.Optional<MspasienGroupByOutputType>[]
|
|
}
|
|
count: {
|
|
args: Prisma.mspasienCountArgs<ExtArgs>,
|
|
result: $Utils.Optional<MspasienCountAggregateOutputType> | number
|
|
}
|
|
}
|
|
}
|
|
mspegawai: {
|
|
payload: Prisma.$mspegawaiPayload<ExtArgs>
|
|
fields: Prisma.mspegawaiFieldRefs
|
|
operations: {
|
|
findUnique: {
|
|
args: Prisma.mspegawaiFindUniqueArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$mspegawaiPayload> | null
|
|
}
|
|
findUniqueOrThrow: {
|
|
args: Prisma.mspegawaiFindUniqueOrThrowArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$mspegawaiPayload>
|
|
}
|
|
findFirst: {
|
|
args: Prisma.mspegawaiFindFirstArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$mspegawaiPayload> | null
|
|
}
|
|
findFirstOrThrow: {
|
|
args: Prisma.mspegawaiFindFirstOrThrowArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$mspegawaiPayload>
|
|
}
|
|
findMany: {
|
|
args: Prisma.mspegawaiFindManyArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$mspegawaiPayload>[]
|
|
}
|
|
create: {
|
|
args: Prisma.mspegawaiCreateArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$mspegawaiPayload>
|
|
}
|
|
createMany: {
|
|
args: Prisma.mspegawaiCreateManyArgs<ExtArgs>,
|
|
result: Prisma.BatchPayload
|
|
}
|
|
delete: {
|
|
args: Prisma.mspegawaiDeleteArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$mspegawaiPayload>
|
|
}
|
|
update: {
|
|
args: Prisma.mspegawaiUpdateArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$mspegawaiPayload>
|
|
}
|
|
deleteMany: {
|
|
args: Prisma.mspegawaiDeleteManyArgs<ExtArgs>,
|
|
result: Prisma.BatchPayload
|
|
}
|
|
updateMany: {
|
|
args: Prisma.mspegawaiUpdateManyArgs<ExtArgs>,
|
|
result: Prisma.BatchPayload
|
|
}
|
|
upsert: {
|
|
args: Prisma.mspegawaiUpsertArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$mspegawaiPayload>
|
|
}
|
|
aggregate: {
|
|
args: Prisma.MspegawaiAggregateArgs<ExtArgs>,
|
|
result: $Utils.Optional<AggregateMspegawai>
|
|
}
|
|
groupBy: {
|
|
args: Prisma.mspegawaiGroupByArgs<ExtArgs>,
|
|
result: $Utils.Optional<MspegawaiGroupByOutputType>[]
|
|
}
|
|
count: {
|
|
args: Prisma.mspegawaiCountArgs<ExtArgs>,
|
|
result: $Utils.Optional<MspegawaiCountAggregateOutputType> | number
|
|
}
|
|
}
|
|
}
|
|
msruangpelayanan: {
|
|
payload: Prisma.$msruangpelayananPayload<ExtArgs>
|
|
fields: Prisma.msruangpelayananFieldRefs
|
|
operations: {
|
|
findUnique: {
|
|
args: Prisma.msruangpelayananFindUniqueArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$msruangpelayananPayload> | null
|
|
}
|
|
findUniqueOrThrow: {
|
|
args: Prisma.msruangpelayananFindUniqueOrThrowArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$msruangpelayananPayload>
|
|
}
|
|
findFirst: {
|
|
args: Prisma.msruangpelayananFindFirstArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$msruangpelayananPayload> | null
|
|
}
|
|
findFirstOrThrow: {
|
|
args: Prisma.msruangpelayananFindFirstOrThrowArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$msruangpelayananPayload>
|
|
}
|
|
findMany: {
|
|
args: Prisma.msruangpelayananFindManyArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$msruangpelayananPayload>[]
|
|
}
|
|
create: {
|
|
args: Prisma.msruangpelayananCreateArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$msruangpelayananPayload>
|
|
}
|
|
createMany: {
|
|
args: Prisma.msruangpelayananCreateManyArgs<ExtArgs>,
|
|
result: Prisma.BatchPayload
|
|
}
|
|
delete: {
|
|
args: Prisma.msruangpelayananDeleteArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$msruangpelayananPayload>
|
|
}
|
|
update: {
|
|
args: Prisma.msruangpelayananUpdateArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$msruangpelayananPayload>
|
|
}
|
|
deleteMany: {
|
|
args: Prisma.msruangpelayananDeleteManyArgs<ExtArgs>,
|
|
result: Prisma.BatchPayload
|
|
}
|
|
updateMany: {
|
|
args: Prisma.msruangpelayananUpdateManyArgs<ExtArgs>,
|
|
result: Prisma.BatchPayload
|
|
}
|
|
upsert: {
|
|
args: Prisma.msruangpelayananUpsertArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$msruangpelayananPayload>
|
|
}
|
|
aggregate: {
|
|
args: Prisma.MsruangpelayananAggregateArgs<ExtArgs>,
|
|
result: $Utils.Optional<AggregateMsruangpelayanan>
|
|
}
|
|
groupBy: {
|
|
args: Prisma.msruangpelayananGroupByArgs<ExtArgs>,
|
|
result: $Utils.Optional<MsruangpelayananGroupByOutputType>[]
|
|
}
|
|
count: {
|
|
args: Prisma.msruangpelayananCountArgs<ExtArgs>,
|
|
result: $Utils.Optional<MsruangpelayananCountAggregateOutputType> | number
|
|
}
|
|
}
|
|
}
|
|
mstindakan: {
|
|
payload: Prisma.$mstindakanPayload<ExtArgs>
|
|
fields: Prisma.mstindakanFieldRefs
|
|
operations: {
|
|
findUnique: {
|
|
args: Prisma.mstindakanFindUniqueArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$mstindakanPayload> | null
|
|
}
|
|
findUniqueOrThrow: {
|
|
args: Prisma.mstindakanFindUniqueOrThrowArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$mstindakanPayload>
|
|
}
|
|
findFirst: {
|
|
args: Prisma.mstindakanFindFirstArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$mstindakanPayload> | null
|
|
}
|
|
findFirstOrThrow: {
|
|
args: Prisma.mstindakanFindFirstOrThrowArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$mstindakanPayload>
|
|
}
|
|
findMany: {
|
|
args: Prisma.mstindakanFindManyArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$mstindakanPayload>[]
|
|
}
|
|
create: {
|
|
args: Prisma.mstindakanCreateArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$mstindakanPayload>
|
|
}
|
|
createMany: {
|
|
args: Prisma.mstindakanCreateManyArgs<ExtArgs>,
|
|
result: Prisma.BatchPayload
|
|
}
|
|
delete: {
|
|
args: Prisma.mstindakanDeleteArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$mstindakanPayload>
|
|
}
|
|
update: {
|
|
args: Prisma.mstindakanUpdateArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$mstindakanPayload>
|
|
}
|
|
deleteMany: {
|
|
args: Prisma.mstindakanDeleteManyArgs<ExtArgs>,
|
|
result: Prisma.BatchPayload
|
|
}
|
|
updateMany: {
|
|
args: Prisma.mstindakanUpdateManyArgs<ExtArgs>,
|
|
result: Prisma.BatchPayload
|
|
}
|
|
upsert: {
|
|
args: Prisma.mstindakanUpsertArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$mstindakanPayload>
|
|
}
|
|
aggregate: {
|
|
args: Prisma.MstindakanAggregateArgs<ExtArgs>,
|
|
result: $Utils.Optional<AggregateMstindakan>
|
|
}
|
|
groupBy: {
|
|
args: Prisma.mstindakanGroupByArgs<ExtArgs>,
|
|
result: $Utils.Optional<MstindakanGroupByOutputType>[]
|
|
}
|
|
count: {
|
|
args: Prisma.mstindakanCountArgs<ExtArgs>,
|
|
result: $Utils.Optional<MstindakanCountAggregateOutputType> | number
|
|
}
|
|
}
|
|
}
|
|
trregistrasi: {
|
|
payload: Prisma.$trregistrasiPayload<ExtArgs>
|
|
fields: Prisma.trregistrasiFieldRefs
|
|
operations: {
|
|
findUnique: {
|
|
args: Prisma.trregistrasiFindUniqueArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$trregistrasiPayload> | null
|
|
}
|
|
findUniqueOrThrow: {
|
|
args: Prisma.trregistrasiFindUniqueOrThrowArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$trregistrasiPayload>
|
|
}
|
|
findFirst: {
|
|
args: Prisma.trregistrasiFindFirstArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$trregistrasiPayload> | null
|
|
}
|
|
findFirstOrThrow: {
|
|
args: Prisma.trregistrasiFindFirstOrThrowArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$trregistrasiPayload>
|
|
}
|
|
findMany: {
|
|
args: Prisma.trregistrasiFindManyArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$trregistrasiPayload>[]
|
|
}
|
|
create: {
|
|
args: Prisma.trregistrasiCreateArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$trregistrasiPayload>
|
|
}
|
|
createMany: {
|
|
args: Prisma.trregistrasiCreateManyArgs<ExtArgs>,
|
|
result: Prisma.BatchPayload
|
|
}
|
|
delete: {
|
|
args: Prisma.trregistrasiDeleteArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$trregistrasiPayload>
|
|
}
|
|
update: {
|
|
args: Prisma.trregistrasiUpdateArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$trregistrasiPayload>
|
|
}
|
|
deleteMany: {
|
|
args: Prisma.trregistrasiDeleteManyArgs<ExtArgs>,
|
|
result: Prisma.BatchPayload
|
|
}
|
|
updateMany: {
|
|
args: Prisma.trregistrasiUpdateManyArgs<ExtArgs>,
|
|
result: Prisma.BatchPayload
|
|
}
|
|
upsert: {
|
|
args: Prisma.trregistrasiUpsertArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$trregistrasiPayload>
|
|
}
|
|
aggregate: {
|
|
args: Prisma.TrregistrasiAggregateArgs<ExtArgs>,
|
|
result: $Utils.Optional<AggregateTrregistrasi>
|
|
}
|
|
groupBy: {
|
|
args: Prisma.trregistrasiGroupByArgs<ExtArgs>,
|
|
result: $Utils.Optional<TrregistrasiGroupByOutputType>[]
|
|
}
|
|
count: {
|
|
args: Prisma.trregistrasiCountArgs<ExtArgs>,
|
|
result: $Utils.Optional<TrregistrasiCountAggregateOutputType> | number
|
|
}
|
|
}
|
|
}
|
|
trtransaksi: {
|
|
payload: Prisma.$trtransaksiPayload<ExtArgs>
|
|
fields: Prisma.trtransaksiFieldRefs
|
|
operations: {
|
|
findUnique: {
|
|
args: Prisma.trtransaksiFindUniqueArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$trtransaksiPayload> | null
|
|
}
|
|
findUniqueOrThrow: {
|
|
args: Prisma.trtransaksiFindUniqueOrThrowArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$trtransaksiPayload>
|
|
}
|
|
findFirst: {
|
|
args: Prisma.trtransaksiFindFirstArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$trtransaksiPayload> | null
|
|
}
|
|
findFirstOrThrow: {
|
|
args: Prisma.trtransaksiFindFirstOrThrowArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$trtransaksiPayload>
|
|
}
|
|
findMany: {
|
|
args: Prisma.trtransaksiFindManyArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$trtransaksiPayload>[]
|
|
}
|
|
create: {
|
|
args: Prisma.trtransaksiCreateArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$trtransaksiPayload>
|
|
}
|
|
createMany: {
|
|
args: Prisma.trtransaksiCreateManyArgs<ExtArgs>,
|
|
result: Prisma.BatchPayload
|
|
}
|
|
delete: {
|
|
args: Prisma.trtransaksiDeleteArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$trtransaksiPayload>
|
|
}
|
|
update: {
|
|
args: Prisma.trtransaksiUpdateArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$trtransaksiPayload>
|
|
}
|
|
deleteMany: {
|
|
args: Prisma.trtransaksiDeleteManyArgs<ExtArgs>,
|
|
result: Prisma.BatchPayload
|
|
}
|
|
updateMany: {
|
|
args: Prisma.trtransaksiUpdateManyArgs<ExtArgs>,
|
|
result: Prisma.BatchPayload
|
|
}
|
|
upsert: {
|
|
args: Prisma.trtransaksiUpsertArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$trtransaksiPayload>
|
|
}
|
|
aggregate: {
|
|
args: Prisma.TrtransaksiAggregateArgs<ExtArgs>,
|
|
result: $Utils.Optional<AggregateTrtransaksi>
|
|
}
|
|
groupBy: {
|
|
args: Prisma.trtransaksiGroupByArgs<ExtArgs>,
|
|
result: $Utils.Optional<TrtransaksiGroupByOutputType>[]
|
|
}
|
|
count: {
|
|
args: Prisma.trtransaksiCountArgs<ExtArgs>,
|
|
result: $Utils.Optional<TrtransaksiCountAggregateOutputType> | number
|
|
}
|
|
}
|
|
}
|
|
msusers: {
|
|
payload: Prisma.$msusersPayload<ExtArgs>
|
|
fields: Prisma.msusersFieldRefs
|
|
operations: {
|
|
findUnique: {
|
|
args: Prisma.msusersFindUniqueArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$msusersPayload> | null
|
|
}
|
|
findUniqueOrThrow: {
|
|
args: Prisma.msusersFindUniqueOrThrowArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$msusersPayload>
|
|
}
|
|
findFirst: {
|
|
args: Prisma.msusersFindFirstArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$msusersPayload> | null
|
|
}
|
|
findFirstOrThrow: {
|
|
args: Prisma.msusersFindFirstOrThrowArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$msusersPayload>
|
|
}
|
|
findMany: {
|
|
args: Prisma.msusersFindManyArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$msusersPayload>[]
|
|
}
|
|
create: {
|
|
args: Prisma.msusersCreateArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$msusersPayload>
|
|
}
|
|
createMany: {
|
|
args: Prisma.msusersCreateManyArgs<ExtArgs>,
|
|
result: Prisma.BatchPayload
|
|
}
|
|
delete: {
|
|
args: Prisma.msusersDeleteArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$msusersPayload>
|
|
}
|
|
update: {
|
|
args: Prisma.msusersUpdateArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$msusersPayload>
|
|
}
|
|
deleteMany: {
|
|
args: Prisma.msusersDeleteManyArgs<ExtArgs>,
|
|
result: Prisma.BatchPayload
|
|
}
|
|
updateMany: {
|
|
args: Prisma.msusersUpdateManyArgs<ExtArgs>,
|
|
result: Prisma.BatchPayload
|
|
}
|
|
upsert: {
|
|
args: Prisma.msusersUpsertArgs<ExtArgs>,
|
|
result: $Utils.PayloadToResult<Prisma.$msusersPayload>
|
|
}
|
|
aggregate: {
|
|
args: Prisma.MsusersAggregateArgs<ExtArgs>,
|
|
result: $Utils.Optional<AggregateMsusers>
|
|
}
|
|
groupBy: {
|
|
args: Prisma.msusersGroupByArgs<ExtArgs>,
|
|
result: $Utils.Optional<MsusersGroupByOutputType>[]
|
|
}
|
|
count: {
|
|
args: Prisma.msusersCountArgs<ExtArgs>,
|
|
result: $Utils.Optional<MsusersCountAggregateOutputType> | 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 LogLevel | LogDefinition> = T extends LogDefinition ? T['emit'] extends 'event' ? T['level'] : never : never
|
|
export type GetEvents<T extends any> = T extends Array<LogLevel | LogDefinition> ?
|
|
GetLogType<T[0]> | GetLogType<T[1]> | GetLogType<T[2]> | GetLogType<T[3]>
|
|
: 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<T = any> = (
|
|
params: MiddlewareParams,
|
|
next: (params: MiddlewareParams) => $Utils.JsPromise<T>,
|
|
) => $Utils.JsPromise<T>
|
|
|
|
// tested in getLogLevel.test.ts
|
|
export function getLogLevel(log: Array<LogLevel | LogDefinition>): LogLevel | undefined;
|
|
|
|
/**
|
|
* `PrismaClient` proxy available in interactive transactions.
|
|
*/
|
|
export type TransactionClient = Omit<Prisma.DefaultPrismaClient, runtime.ITXClientDenyList>
|
|
|
|
export type Datasource = {
|
|
url?: string
|
|
}
|
|
|
|
/**
|
|
* Count Types
|
|
*/
|
|
|
|
|
|
/**
|
|
* Count Type MsasuransiCountOutputType
|
|
*/
|
|
|
|
export type MsasuransiCountOutputType = {
|
|
trregistrasi: number
|
|
}
|
|
|
|
export type MsasuransiCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
trregistrasi?: boolean | MsasuransiCountOutputTypeCountTrregistrasiArgs
|
|
}
|
|
|
|
// Custom InputTypes
|
|
|
|
/**
|
|
* MsasuransiCountOutputType without action
|
|
*/
|
|
export type MsasuransiCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the MsasuransiCountOutputType
|
|
*/
|
|
select?: MsasuransiCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
|
|
/**
|
|
* MsasuransiCountOutputType without action
|
|
*/
|
|
export type MsasuransiCountOutputTypeCountTrregistrasiArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
where?: trregistrasiWhereInput
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
* Count Type MspasienCountOutputType
|
|
*/
|
|
|
|
export type MspasienCountOutputType = {
|
|
trregistrasi: number
|
|
}
|
|
|
|
export type MspasienCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
trregistrasi?: boolean | MspasienCountOutputTypeCountTrregistrasiArgs
|
|
}
|
|
|
|
// Custom InputTypes
|
|
|
|
/**
|
|
* MspasienCountOutputType without action
|
|
*/
|
|
export type MspasienCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the MspasienCountOutputType
|
|
*/
|
|
select?: MspasienCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
|
|
/**
|
|
* MspasienCountOutputType without action
|
|
*/
|
|
export type MspasienCountOutputTypeCountTrregistrasiArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
where?: trregistrasiWhereInput
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
* Count Type MspegawaiCountOutputType
|
|
*/
|
|
|
|
export type MspegawaiCountOutputType = {
|
|
trregistrasi: number
|
|
trtransaksi: number
|
|
}
|
|
|
|
export type MspegawaiCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
trregistrasi?: boolean | MspegawaiCountOutputTypeCountTrregistrasiArgs
|
|
trtransaksi?: boolean | MspegawaiCountOutputTypeCountTrtransaksiArgs
|
|
}
|
|
|
|
// Custom InputTypes
|
|
|
|
/**
|
|
* MspegawaiCountOutputType without action
|
|
*/
|
|
export type MspegawaiCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the MspegawaiCountOutputType
|
|
*/
|
|
select?: MspegawaiCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
|
|
/**
|
|
* MspegawaiCountOutputType without action
|
|
*/
|
|
export type MspegawaiCountOutputTypeCountTrregistrasiArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
where?: trregistrasiWhereInput
|
|
}
|
|
|
|
|
|
/**
|
|
* MspegawaiCountOutputType without action
|
|
*/
|
|
export type MspegawaiCountOutputTypeCountTrtransaksiArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
where?: trtransaksiWhereInput
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
* Count Type MsruangpelayananCountOutputType
|
|
*/
|
|
|
|
export type MsruangpelayananCountOutputType = {
|
|
trregistrasi: number
|
|
}
|
|
|
|
export type MsruangpelayananCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
trregistrasi?: boolean | MsruangpelayananCountOutputTypeCountTrregistrasiArgs
|
|
}
|
|
|
|
// Custom InputTypes
|
|
|
|
/**
|
|
* MsruangpelayananCountOutputType without action
|
|
*/
|
|
export type MsruangpelayananCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the MsruangpelayananCountOutputType
|
|
*/
|
|
select?: MsruangpelayananCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
|
|
/**
|
|
* MsruangpelayananCountOutputType without action
|
|
*/
|
|
export type MsruangpelayananCountOutputTypeCountTrregistrasiArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
where?: trregistrasiWhereInput
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
* Count Type MstindakanCountOutputType
|
|
*/
|
|
|
|
export type MstindakanCountOutputType = {
|
|
trtransaksi: number
|
|
}
|
|
|
|
export type MstindakanCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
trtransaksi?: boolean | MstindakanCountOutputTypeCountTrtransaksiArgs
|
|
}
|
|
|
|
// Custom InputTypes
|
|
|
|
/**
|
|
* MstindakanCountOutputType without action
|
|
*/
|
|
export type MstindakanCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the MstindakanCountOutputType
|
|
*/
|
|
select?: MstindakanCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
|
|
/**
|
|
* MstindakanCountOutputType without action
|
|
*/
|
|
export type MstindakanCountOutputTypeCountTrtransaksiArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
where?: trtransaksiWhereInput
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
* Count Type TrregistrasiCountOutputType
|
|
*/
|
|
|
|
export type TrregistrasiCountOutputType = {
|
|
trtransaksi: number
|
|
}
|
|
|
|
export type TrregistrasiCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
trtransaksi?: boolean | TrregistrasiCountOutputTypeCountTrtransaksiArgs
|
|
}
|
|
|
|
// Custom InputTypes
|
|
|
|
/**
|
|
* TrregistrasiCountOutputType without action
|
|
*/
|
|
export type TrregistrasiCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the TrregistrasiCountOutputType
|
|
*/
|
|
select?: TrregistrasiCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
|
|
/**
|
|
* TrregistrasiCountOutputType without action
|
|
*/
|
|
export type TrregistrasiCountOutputTypeCountTrtransaksiArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<T extends MsasuransiAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateMsasuransi]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: GetScalarType<T[P], AggregateMsasuransi[P]>
|
|
: GetScalarType<T[P], AggregateMsasuransi[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type msasuransiGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
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<T extends msasuransiGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
PickEnumerable<MsasuransiGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof MsasuransiGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: GetScalarType<T[P], MsasuransiGroupByOutputType[P]>
|
|
: GetScalarType<T[P], MsasuransiGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
export type msasuransiSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $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<ExtArgs>
|
|
_count?: boolean | MsasuransiCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
trregistrasi?: boolean | msasuransi$trregistrasiArgs<ExtArgs>
|
|
_count?: boolean | MsasuransiCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
|
|
export type $msasuransiPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
name: "msasuransi"
|
|
objects: {
|
|
trregistrasi: Prisma.$trregistrasiPayload<ExtArgs>[]
|
|
}
|
|
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<S extends boolean | null | undefined | msasuransiDefaultArgs> = $Result.GetResult<Prisma.$msasuransiPayload, S>
|
|
|
|
type msasuransiCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
Omit<msasuransiFindManyArgs, 'select' | 'include' | 'distinct'> & {
|
|
select?: MsasuransiCountAggregateInputType | true
|
|
}
|
|
|
|
export interface msasuransiDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends msasuransiFindUniqueArgs<ExtArgs>>(
|
|
args: SelectSubset<T, msasuransiFindUniqueArgs<ExtArgs>>
|
|
): Prisma__msasuransiClient<$Result.GetResult<Prisma.$msasuransiPayload<ExtArgs>, 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<T extends msasuransiFindUniqueOrThrowArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, msasuransiFindUniqueOrThrowArgs<ExtArgs>>
|
|
): Prisma__msasuransiClient<$Result.GetResult<Prisma.$msasuransiPayload<ExtArgs>, 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<T extends msasuransiFindFirstArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, msasuransiFindFirstArgs<ExtArgs>>
|
|
): Prisma__msasuransiClient<$Result.GetResult<Prisma.$msasuransiPayload<ExtArgs>, 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<T extends msasuransiFindFirstOrThrowArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, msasuransiFindFirstOrThrowArgs<ExtArgs>>
|
|
): Prisma__msasuransiClient<$Result.GetResult<Prisma.$msasuransiPayload<ExtArgs>, 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<T extends msasuransiFindManyArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, msasuransiFindManyArgs<ExtArgs>>
|
|
): Prisma.PrismaPromise<$Result.GetResult<Prisma.$msasuransiPayload<ExtArgs>, 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<T extends msasuransiCreateArgs<ExtArgs>>(
|
|
args: SelectSubset<T, msasuransiCreateArgs<ExtArgs>>
|
|
): Prisma__msasuransiClient<$Result.GetResult<Prisma.$msasuransiPayload<ExtArgs>, 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<T extends msasuransiCreateManyArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, msasuransiCreateManyArgs<ExtArgs>>
|
|
): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends msasuransiDeleteArgs<ExtArgs>>(
|
|
args: SelectSubset<T, msasuransiDeleteArgs<ExtArgs>>
|
|
): Prisma__msasuransiClient<$Result.GetResult<Prisma.$msasuransiPayload<ExtArgs>, 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<T extends msasuransiUpdateArgs<ExtArgs>>(
|
|
args: SelectSubset<T, msasuransiUpdateArgs<ExtArgs>>
|
|
): Prisma__msasuransiClient<$Result.GetResult<Prisma.$msasuransiPayload<ExtArgs>, 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<T extends msasuransiDeleteManyArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, msasuransiDeleteManyArgs<ExtArgs>>
|
|
): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends msasuransiUpdateManyArgs<ExtArgs>>(
|
|
args: SelectSubset<T, msasuransiUpdateManyArgs<ExtArgs>>
|
|
): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends msasuransiUpsertArgs<ExtArgs>>(
|
|
args: SelectSubset<T, msasuransiUpsertArgs<ExtArgs>>
|
|
): Prisma__msasuransiClient<$Result.GetResult<Prisma.$msasuransiPayload<ExtArgs>, 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<T extends msasuransiCountArgs>(
|
|
args?: Subset<T, msasuransiCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends $Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: GetScalarType<T['select'], MsasuransiCountAggregateOutputType>
|
|
: 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<T extends MsasuransiAggregateArgs>(args: Subset<T, MsasuransiAggregateArgs>): Prisma.PrismaPromise<GetMsasuransiAggregateType<T>>
|
|
|
|
/**
|
|
* 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<T>>,
|
|
Extends<'take', Keys<T>>
|
|
>,
|
|
OrderByArg extends True extends HasSelectOrTake
|
|
? { orderBy: msasuransiGroupByArgs['orderBy'] }
|
|
: { orderBy?: msasuransiGroupByArgs['orderBy'] },
|
|
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Has<ByFields, OrderFields>,
|
|
HavingFields extends GetHavingFields<T['having']>,
|
|
HavingValid extends Has<ByFields, HavingFields>,
|
|
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<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? 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<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? 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<T, msasuransiGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMsasuransiGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* 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<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: 'PrismaPromise';
|
|
|
|
trregistrasi<T extends msasuransi$trregistrasiArgs<ExtArgs> = {}>(args?: Subset<T, msasuransi$trregistrasiArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$trregistrasiPayload<ExtArgs>, 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>;
|
|
/**
|
|
* 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<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>;
|
|
/**
|
|
* 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<T>;
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
* 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the msasuransi
|
|
*/
|
|
select?: msasuransiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: msasuransiInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which msasuransi to fetch.
|
|
*/
|
|
where: msasuransiWhereUniqueInput
|
|
}
|
|
|
|
|
|
/**
|
|
* msasuransi findUniqueOrThrow
|
|
*/
|
|
export type msasuransiFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the msasuransi
|
|
*/
|
|
select?: msasuransiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: msasuransiInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which msasuransi to fetch.
|
|
*/
|
|
where: msasuransiWhereUniqueInput
|
|
}
|
|
|
|
|
|
/**
|
|
* msasuransi findFirst
|
|
*/
|
|
export type msasuransiFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the msasuransi
|
|
*/
|
|
select?: msasuransiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: msasuransiInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the msasuransi
|
|
*/
|
|
select?: msasuransiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: msasuransiInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the msasuransi
|
|
*/
|
|
select?: msasuransiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: msasuransiInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the msasuransi
|
|
*/
|
|
select?: msasuransiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: msasuransiInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a msasuransi.
|
|
*/
|
|
data: XOR<msasuransiCreateInput, msasuransiUncheckedCreateInput>
|
|
}
|
|
|
|
|
|
/**
|
|
* msasuransi createMany
|
|
*/
|
|
export type msasuransiCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many msasuransis.
|
|
*/
|
|
data: msasuransiCreateManyInput | msasuransiCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
|
|
/**
|
|
* msasuransi update
|
|
*/
|
|
export type msasuransiUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the msasuransi
|
|
*/
|
|
select?: msasuransiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: msasuransiInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a msasuransi.
|
|
*/
|
|
data: XOR<msasuransiUpdateInput, msasuransiUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which msasuransi to update.
|
|
*/
|
|
where: msasuransiWhereUniqueInput
|
|
}
|
|
|
|
|
|
/**
|
|
* msasuransi updateMany
|
|
*/
|
|
export type msasuransiUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update msasuransis.
|
|
*/
|
|
data: XOR<msasuransiUpdateManyMutationInput, msasuransiUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which msasuransis to update
|
|
*/
|
|
where?: msasuransiWhereInput
|
|
}
|
|
|
|
|
|
/**
|
|
* msasuransi upsert
|
|
*/
|
|
export type msasuransiUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the msasuransi
|
|
*/
|
|
select?: msasuransiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: msasuransiInclude<ExtArgs> | 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<msasuransiCreateInput, msasuransiUncheckedCreateInput>
|
|
/**
|
|
* In case the msasuransi was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: XOR<msasuransiUpdateInput, msasuransiUncheckedUpdateInput>
|
|
}
|
|
|
|
|
|
/**
|
|
* msasuransi delete
|
|
*/
|
|
export type msasuransiDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the msasuransi
|
|
*/
|
|
select?: msasuransiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: msasuransiInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which msasuransi to delete.
|
|
*/
|
|
where: msasuransiWhereUniqueInput
|
|
}
|
|
|
|
|
|
/**
|
|
* msasuransi deleteMany
|
|
*/
|
|
export type msasuransiDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which msasuransis to delete
|
|
*/
|
|
where?: msasuransiWhereInput
|
|
}
|
|
|
|
|
|
/**
|
|
* msasuransi.trregistrasi
|
|
*/
|
|
export type msasuransi$trregistrasiArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trregistrasi
|
|
*/
|
|
select?: trregistrasiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: trregistrasiInclude<ExtArgs> | null
|
|
where?: trregistrasiWhereInput
|
|
orderBy?: trregistrasiOrderByWithRelationInput | trregistrasiOrderByWithRelationInput[]
|
|
cursor?: trregistrasiWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: TrregistrasiScalarFieldEnum | TrregistrasiScalarFieldEnum[]
|
|
}
|
|
|
|
|
|
/**
|
|
* msasuransi without action
|
|
*/
|
|
export type msasuransiDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the msasuransi
|
|
*/
|
|
select?: msasuransiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: msasuransiInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<T extends MspasienAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateMspasien]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: GetScalarType<T[P], AggregateMspasien[P]>
|
|
: GetScalarType<T[P], AggregateMspasien[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type mspasienGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
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<T extends mspasienGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
PickEnumerable<MspasienGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof MspasienGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: GetScalarType<T[P], MspasienGroupByOutputType[P]>
|
|
: GetScalarType<T[P], MspasienGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
export type mspasienSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $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<ExtArgs>
|
|
_count?: boolean | MspasienCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
trregistrasi?: boolean | mspasien$trregistrasiArgs<ExtArgs>
|
|
_count?: boolean | MspasienCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
|
|
export type $mspasienPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
name: "mspasien"
|
|
objects: {
|
|
trregistrasi: Prisma.$trregistrasiPayload<ExtArgs>[]
|
|
}
|
|
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<S extends boolean | null | undefined | mspasienDefaultArgs> = $Result.GetResult<Prisma.$mspasienPayload, S>
|
|
|
|
type mspasienCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
Omit<mspasienFindManyArgs, 'select' | 'include' | 'distinct'> & {
|
|
select?: MspasienCountAggregateInputType | true
|
|
}
|
|
|
|
export interface mspasienDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends mspasienFindUniqueArgs<ExtArgs>>(
|
|
args: SelectSubset<T, mspasienFindUniqueArgs<ExtArgs>>
|
|
): Prisma__mspasienClient<$Result.GetResult<Prisma.$mspasienPayload<ExtArgs>, 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<T extends mspasienFindUniqueOrThrowArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, mspasienFindUniqueOrThrowArgs<ExtArgs>>
|
|
): Prisma__mspasienClient<$Result.GetResult<Prisma.$mspasienPayload<ExtArgs>, 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<T extends mspasienFindFirstArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, mspasienFindFirstArgs<ExtArgs>>
|
|
): Prisma__mspasienClient<$Result.GetResult<Prisma.$mspasienPayload<ExtArgs>, 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<T extends mspasienFindFirstOrThrowArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, mspasienFindFirstOrThrowArgs<ExtArgs>>
|
|
): Prisma__mspasienClient<$Result.GetResult<Prisma.$mspasienPayload<ExtArgs>, 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<T extends mspasienFindManyArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, mspasienFindManyArgs<ExtArgs>>
|
|
): Prisma.PrismaPromise<$Result.GetResult<Prisma.$mspasienPayload<ExtArgs>, 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<T extends mspasienCreateArgs<ExtArgs>>(
|
|
args: SelectSubset<T, mspasienCreateArgs<ExtArgs>>
|
|
): Prisma__mspasienClient<$Result.GetResult<Prisma.$mspasienPayload<ExtArgs>, 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<T extends mspasienCreateManyArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, mspasienCreateManyArgs<ExtArgs>>
|
|
): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends mspasienDeleteArgs<ExtArgs>>(
|
|
args: SelectSubset<T, mspasienDeleteArgs<ExtArgs>>
|
|
): Prisma__mspasienClient<$Result.GetResult<Prisma.$mspasienPayload<ExtArgs>, 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<T extends mspasienUpdateArgs<ExtArgs>>(
|
|
args: SelectSubset<T, mspasienUpdateArgs<ExtArgs>>
|
|
): Prisma__mspasienClient<$Result.GetResult<Prisma.$mspasienPayload<ExtArgs>, 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<T extends mspasienDeleteManyArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, mspasienDeleteManyArgs<ExtArgs>>
|
|
): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends mspasienUpdateManyArgs<ExtArgs>>(
|
|
args: SelectSubset<T, mspasienUpdateManyArgs<ExtArgs>>
|
|
): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends mspasienUpsertArgs<ExtArgs>>(
|
|
args: SelectSubset<T, mspasienUpsertArgs<ExtArgs>>
|
|
): Prisma__mspasienClient<$Result.GetResult<Prisma.$mspasienPayload<ExtArgs>, 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<T extends mspasienCountArgs>(
|
|
args?: Subset<T, mspasienCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends $Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: GetScalarType<T['select'], MspasienCountAggregateOutputType>
|
|
: 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<T extends MspasienAggregateArgs>(args: Subset<T, MspasienAggregateArgs>): Prisma.PrismaPromise<GetMspasienAggregateType<T>>
|
|
|
|
/**
|
|
* 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<T>>,
|
|
Extends<'take', Keys<T>>
|
|
>,
|
|
OrderByArg extends True extends HasSelectOrTake
|
|
? { orderBy: mspasienGroupByArgs['orderBy'] }
|
|
: { orderBy?: mspasienGroupByArgs['orderBy'] },
|
|
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Has<ByFields, OrderFields>,
|
|
HavingFields extends GetHavingFields<T['having']>,
|
|
HavingValid extends Has<ByFields, HavingFields>,
|
|
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<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? 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<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? 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<T, mspasienGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMspasienGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* 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<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: 'PrismaPromise';
|
|
|
|
trregistrasi<T extends mspasien$trregistrasiArgs<ExtArgs> = {}>(args?: Subset<T, mspasien$trregistrasiArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$trregistrasiPayload<ExtArgs>, 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>;
|
|
/**
|
|
* 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<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>;
|
|
/**
|
|
* 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<T>;
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
* 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the mspasien
|
|
*/
|
|
select?: mspasienSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: mspasienInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which mspasien to fetch.
|
|
*/
|
|
where: mspasienWhereUniqueInput
|
|
}
|
|
|
|
|
|
/**
|
|
* mspasien findUniqueOrThrow
|
|
*/
|
|
export type mspasienFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the mspasien
|
|
*/
|
|
select?: mspasienSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: mspasienInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which mspasien to fetch.
|
|
*/
|
|
where: mspasienWhereUniqueInput
|
|
}
|
|
|
|
|
|
/**
|
|
* mspasien findFirst
|
|
*/
|
|
export type mspasienFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the mspasien
|
|
*/
|
|
select?: mspasienSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: mspasienInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the mspasien
|
|
*/
|
|
select?: mspasienSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: mspasienInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the mspasien
|
|
*/
|
|
select?: mspasienSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: mspasienInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the mspasien
|
|
*/
|
|
select?: mspasienSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: mspasienInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a mspasien.
|
|
*/
|
|
data: XOR<mspasienCreateInput, mspasienUncheckedCreateInput>
|
|
}
|
|
|
|
|
|
/**
|
|
* mspasien createMany
|
|
*/
|
|
export type mspasienCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many mspasiens.
|
|
*/
|
|
data: mspasienCreateManyInput | mspasienCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
|
|
/**
|
|
* mspasien update
|
|
*/
|
|
export type mspasienUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the mspasien
|
|
*/
|
|
select?: mspasienSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: mspasienInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a mspasien.
|
|
*/
|
|
data: XOR<mspasienUpdateInput, mspasienUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which mspasien to update.
|
|
*/
|
|
where: mspasienWhereUniqueInput
|
|
}
|
|
|
|
|
|
/**
|
|
* mspasien updateMany
|
|
*/
|
|
export type mspasienUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update mspasiens.
|
|
*/
|
|
data: XOR<mspasienUpdateManyMutationInput, mspasienUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which mspasiens to update
|
|
*/
|
|
where?: mspasienWhereInput
|
|
}
|
|
|
|
|
|
/**
|
|
* mspasien upsert
|
|
*/
|
|
export type mspasienUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the mspasien
|
|
*/
|
|
select?: mspasienSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: mspasienInclude<ExtArgs> | 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<mspasienCreateInput, mspasienUncheckedCreateInput>
|
|
/**
|
|
* In case the mspasien was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: XOR<mspasienUpdateInput, mspasienUncheckedUpdateInput>
|
|
}
|
|
|
|
|
|
/**
|
|
* mspasien delete
|
|
*/
|
|
export type mspasienDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the mspasien
|
|
*/
|
|
select?: mspasienSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: mspasienInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which mspasien to delete.
|
|
*/
|
|
where: mspasienWhereUniqueInput
|
|
}
|
|
|
|
|
|
/**
|
|
* mspasien deleteMany
|
|
*/
|
|
export type mspasienDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which mspasiens to delete
|
|
*/
|
|
where?: mspasienWhereInput
|
|
}
|
|
|
|
|
|
/**
|
|
* mspasien.trregistrasi
|
|
*/
|
|
export type mspasien$trregistrasiArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trregistrasi
|
|
*/
|
|
select?: trregistrasiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: trregistrasiInclude<ExtArgs> | null
|
|
where?: trregistrasiWhereInput
|
|
orderBy?: trregistrasiOrderByWithRelationInput | trregistrasiOrderByWithRelationInput[]
|
|
cursor?: trregistrasiWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: TrregistrasiScalarFieldEnum | TrregistrasiScalarFieldEnum[]
|
|
}
|
|
|
|
|
|
/**
|
|
* mspasien without action
|
|
*/
|
|
export type mspasienDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the mspasien
|
|
*/
|
|
select?: mspasienSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: mspasienInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<T extends MspegawaiAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateMspegawai]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: GetScalarType<T[P], AggregateMspegawai[P]>
|
|
: GetScalarType<T[P], AggregateMspegawai[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type mspegawaiGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
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<T extends mspegawaiGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
PickEnumerable<MspegawaiGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof MspegawaiGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: GetScalarType<T[P], MspegawaiGroupByOutputType[P]>
|
|
: GetScalarType<T[P], MspegawaiGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
export type mspegawaiSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $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<ExtArgs>
|
|
trtransaksi?: boolean | mspegawai$trtransaksiArgs<ExtArgs>
|
|
_count?: boolean | MspegawaiCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
trregistrasi?: boolean | mspegawai$trregistrasiArgs<ExtArgs>
|
|
trtransaksi?: boolean | mspegawai$trtransaksiArgs<ExtArgs>
|
|
_count?: boolean | MspegawaiCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
|
|
export type $mspegawaiPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
name: "mspegawai"
|
|
objects: {
|
|
trregistrasi: Prisma.$trregistrasiPayload<ExtArgs>[]
|
|
trtransaksi: Prisma.$trtransaksiPayload<ExtArgs>[]
|
|
}
|
|
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<S extends boolean | null | undefined | mspegawaiDefaultArgs> = $Result.GetResult<Prisma.$mspegawaiPayload, S>
|
|
|
|
type mspegawaiCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
Omit<mspegawaiFindManyArgs, 'select' | 'include' | 'distinct'> & {
|
|
select?: MspegawaiCountAggregateInputType | true
|
|
}
|
|
|
|
export interface mspegawaiDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends mspegawaiFindUniqueArgs<ExtArgs>>(
|
|
args: SelectSubset<T, mspegawaiFindUniqueArgs<ExtArgs>>
|
|
): Prisma__mspegawaiClient<$Result.GetResult<Prisma.$mspegawaiPayload<ExtArgs>, 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<T extends mspegawaiFindUniqueOrThrowArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, mspegawaiFindUniqueOrThrowArgs<ExtArgs>>
|
|
): Prisma__mspegawaiClient<$Result.GetResult<Prisma.$mspegawaiPayload<ExtArgs>, 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<T extends mspegawaiFindFirstArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, mspegawaiFindFirstArgs<ExtArgs>>
|
|
): Prisma__mspegawaiClient<$Result.GetResult<Prisma.$mspegawaiPayload<ExtArgs>, 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<T extends mspegawaiFindFirstOrThrowArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, mspegawaiFindFirstOrThrowArgs<ExtArgs>>
|
|
): Prisma__mspegawaiClient<$Result.GetResult<Prisma.$mspegawaiPayload<ExtArgs>, 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<T extends mspegawaiFindManyArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, mspegawaiFindManyArgs<ExtArgs>>
|
|
): Prisma.PrismaPromise<$Result.GetResult<Prisma.$mspegawaiPayload<ExtArgs>, 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<T extends mspegawaiCreateArgs<ExtArgs>>(
|
|
args: SelectSubset<T, mspegawaiCreateArgs<ExtArgs>>
|
|
): Prisma__mspegawaiClient<$Result.GetResult<Prisma.$mspegawaiPayload<ExtArgs>, 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<T extends mspegawaiCreateManyArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, mspegawaiCreateManyArgs<ExtArgs>>
|
|
): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends mspegawaiDeleteArgs<ExtArgs>>(
|
|
args: SelectSubset<T, mspegawaiDeleteArgs<ExtArgs>>
|
|
): Prisma__mspegawaiClient<$Result.GetResult<Prisma.$mspegawaiPayload<ExtArgs>, 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<T extends mspegawaiUpdateArgs<ExtArgs>>(
|
|
args: SelectSubset<T, mspegawaiUpdateArgs<ExtArgs>>
|
|
): Prisma__mspegawaiClient<$Result.GetResult<Prisma.$mspegawaiPayload<ExtArgs>, 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<T extends mspegawaiDeleteManyArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, mspegawaiDeleteManyArgs<ExtArgs>>
|
|
): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends mspegawaiUpdateManyArgs<ExtArgs>>(
|
|
args: SelectSubset<T, mspegawaiUpdateManyArgs<ExtArgs>>
|
|
): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends mspegawaiUpsertArgs<ExtArgs>>(
|
|
args: SelectSubset<T, mspegawaiUpsertArgs<ExtArgs>>
|
|
): Prisma__mspegawaiClient<$Result.GetResult<Prisma.$mspegawaiPayload<ExtArgs>, 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<T extends mspegawaiCountArgs>(
|
|
args?: Subset<T, mspegawaiCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends $Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: GetScalarType<T['select'], MspegawaiCountAggregateOutputType>
|
|
: 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<T extends MspegawaiAggregateArgs>(args: Subset<T, MspegawaiAggregateArgs>): Prisma.PrismaPromise<GetMspegawaiAggregateType<T>>
|
|
|
|
/**
|
|
* 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<T>>,
|
|
Extends<'take', Keys<T>>
|
|
>,
|
|
OrderByArg extends True extends HasSelectOrTake
|
|
? { orderBy: mspegawaiGroupByArgs['orderBy'] }
|
|
: { orderBy?: mspegawaiGroupByArgs['orderBy'] },
|
|
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Has<ByFields, OrderFields>,
|
|
HavingFields extends GetHavingFields<T['having']>,
|
|
HavingValid extends Has<ByFields, HavingFields>,
|
|
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<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? 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<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? 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<T, mspegawaiGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMspegawaiGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* 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<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: 'PrismaPromise';
|
|
|
|
trregistrasi<T extends mspegawai$trregistrasiArgs<ExtArgs> = {}>(args?: Subset<T, mspegawai$trregistrasiArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$trregistrasiPayload<ExtArgs>, T, 'findMany'> | Null>;
|
|
|
|
trtransaksi<T extends mspegawai$trtransaksiArgs<ExtArgs> = {}>(args?: Subset<T, mspegawai$trtransaksiArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$trtransaksiPayload<ExtArgs>, 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>;
|
|
/**
|
|
* 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<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>;
|
|
/**
|
|
* 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<T>;
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
* 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the mspegawai
|
|
*/
|
|
select?: mspegawaiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: mspegawaiInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which mspegawai to fetch.
|
|
*/
|
|
where: mspegawaiWhereUniqueInput
|
|
}
|
|
|
|
|
|
/**
|
|
* mspegawai findUniqueOrThrow
|
|
*/
|
|
export type mspegawaiFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the mspegawai
|
|
*/
|
|
select?: mspegawaiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: mspegawaiInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which mspegawai to fetch.
|
|
*/
|
|
where: mspegawaiWhereUniqueInput
|
|
}
|
|
|
|
|
|
/**
|
|
* mspegawai findFirst
|
|
*/
|
|
export type mspegawaiFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the mspegawai
|
|
*/
|
|
select?: mspegawaiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: mspegawaiInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the mspegawai
|
|
*/
|
|
select?: mspegawaiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: mspegawaiInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the mspegawai
|
|
*/
|
|
select?: mspegawaiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: mspegawaiInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the mspegawai
|
|
*/
|
|
select?: mspegawaiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: mspegawaiInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a mspegawai.
|
|
*/
|
|
data: XOR<mspegawaiCreateInput, mspegawaiUncheckedCreateInput>
|
|
}
|
|
|
|
|
|
/**
|
|
* mspegawai createMany
|
|
*/
|
|
export type mspegawaiCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many mspegawais.
|
|
*/
|
|
data: mspegawaiCreateManyInput | mspegawaiCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
|
|
/**
|
|
* mspegawai update
|
|
*/
|
|
export type mspegawaiUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the mspegawai
|
|
*/
|
|
select?: mspegawaiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: mspegawaiInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a mspegawai.
|
|
*/
|
|
data: XOR<mspegawaiUpdateInput, mspegawaiUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which mspegawai to update.
|
|
*/
|
|
where: mspegawaiWhereUniqueInput
|
|
}
|
|
|
|
|
|
/**
|
|
* mspegawai updateMany
|
|
*/
|
|
export type mspegawaiUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update mspegawais.
|
|
*/
|
|
data: XOR<mspegawaiUpdateManyMutationInput, mspegawaiUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which mspegawais to update
|
|
*/
|
|
where?: mspegawaiWhereInput
|
|
}
|
|
|
|
|
|
/**
|
|
* mspegawai upsert
|
|
*/
|
|
export type mspegawaiUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the mspegawai
|
|
*/
|
|
select?: mspegawaiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: mspegawaiInclude<ExtArgs> | 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<mspegawaiCreateInput, mspegawaiUncheckedCreateInput>
|
|
/**
|
|
* In case the mspegawai was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: XOR<mspegawaiUpdateInput, mspegawaiUncheckedUpdateInput>
|
|
}
|
|
|
|
|
|
/**
|
|
* mspegawai delete
|
|
*/
|
|
export type mspegawaiDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the mspegawai
|
|
*/
|
|
select?: mspegawaiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: mspegawaiInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which mspegawai to delete.
|
|
*/
|
|
where: mspegawaiWhereUniqueInput
|
|
}
|
|
|
|
|
|
/**
|
|
* mspegawai deleteMany
|
|
*/
|
|
export type mspegawaiDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which mspegawais to delete
|
|
*/
|
|
where?: mspegawaiWhereInput
|
|
}
|
|
|
|
|
|
/**
|
|
* mspegawai.trregistrasi
|
|
*/
|
|
export type mspegawai$trregistrasiArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trregistrasi
|
|
*/
|
|
select?: trregistrasiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: trregistrasiInclude<ExtArgs> | null
|
|
where?: trregistrasiWhereInput
|
|
orderBy?: trregistrasiOrderByWithRelationInput | trregistrasiOrderByWithRelationInput[]
|
|
cursor?: trregistrasiWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: TrregistrasiScalarFieldEnum | TrregistrasiScalarFieldEnum[]
|
|
}
|
|
|
|
|
|
/**
|
|
* mspegawai.trtransaksi
|
|
*/
|
|
export type mspegawai$trtransaksiArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trtransaksi
|
|
*/
|
|
select?: trtransaksiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: trtransaksiInclude<ExtArgs> | null
|
|
where?: trtransaksiWhereInput
|
|
orderBy?: trtransaksiOrderByWithRelationInput | trtransaksiOrderByWithRelationInput[]
|
|
cursor?: trtransaksiWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: TrtransaksiScalarFieldEnum | TrtransaksiScalarFieldEnum[]
|
|
}
|
|
|
|
|
|
/**
|
|
* mspegawai without action
|
|
*/
|
|
export type mspegawaiDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the mspegawai
|
|
*/
|
|
select?: mspegawaiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: mspegawaiInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<T extends MsruangpelayananAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateMsruangpelayanan]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: GetScalarType<T[P], AggregateMsruangpelayanan[P]>
|
|
: GetScalarType<T[P], AggregateMsruangpelayanan[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type msruangpelayananGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
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<T extends msruangpelayananGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
PickEnumerable<MsruangpelayananGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof MsruangpelayananGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: GetScalarType<T[P], MsruangpelayananGroupByOutputType[P]>
|
|
: GetScalarType<T[P], MsruangpelayananGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
export type msruangpelayananSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $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<ExtArgs>
|
|
_count?: boolean | MsruangpelayananCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
trregistrasi?: boolean | msruangpelayanan$trregistrasiArgs<ExtArgs>
|
|
_count?: boolean | MsruangpelayananCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
|
|
export type $msruangpelayananPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
name: "msruangpelayanan"
|
|
objects: {
|
|
trregistrasi: Prisma.$trregistrasiPayload<ExtArgs>[]
|
|
}
|
|
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<S extends boolean | null | undefined | msruangpelayananDefaultArgs> = $Result.GetResult<Prisma.$msruangpelayananPayload, S>
|
|
|
|
type msruangpelayananCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
Omit<msruangpelayananFindManyArgs, 'select' | 'include' | 'distinct'> & {
|
|
select?: MsruangpelayananCountAggregateInputType | true
|
|
}
|
|
|
|
export interface msruangpelayananDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends msruangpelayananFindUniqueArgs<ExtArgs>>(
|
|
args: SelectSubset<T, msruangpelayananFindUniqueArgs<ExtArgs>>
|
|
): Prisma__msruangpelayananClient<$Result.GetResult<Prisma.$msruangpelayananPayload<ExtArgs>, 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<T extends msruangpelayananFindUniqueOrThrowArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, msruangpelayananFindUniqueOrThrowArgs<ExtArgs>>
|
|
): Prisma__msruangpelayananClient<$Result.GetResult<Prisma.$msruangpelayananPayload<ExtArgs>, 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<T extends msruangpelayananFindFirstArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, msruangpelayananFindFirstArgs<ExtArgs>>
|
|
): Prisma__msruangpelayananClient<$Result.GetResult<Prisma.$msruangpelayananPayload<ExtArgs>, 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<T extends msruangpelayananFindFirstOrThrowArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, msruangpelayananFindFirstOrThrowArgs<ExtArgs>>
|
|
): Prisma__msruangpelayananClient<$Result.GetResult<Prisma.$msruangpelayananPayload<ExtArgs>, 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<T extends msruangpelayananFindManyArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, msruangpelayananFindManyArgs<ExtArgs>>
|
|
): Prisma.PrismaPromise<$Result.GetResult<Prisma.$msruangpelayananPayload<ExtArgs>, 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<T extends msruangpelayananCreateArgs<ExtArgs>>(
|
|
args: SelectSubset<T, msruangpelayananCreateArgs<ExtArgs>>
|
|
): Prisma__msruangpelayananClient<$Result.GetResult<Prisma.$msruangpelayananPayload<ExtArgs>, 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<T extends msruangpelayananCreateManyArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, msruangpelayananCreateManyArgs<ExtArgs>>
|
|
): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends msruangpelayananDeleteArgs<ExtArgs>>(
|
|
args: SelectSubset<T, msruangpelayananDeleteArgs<ExtArgs>>
|
|
): Prisma__msruangpelayananClient<$Result.GetResult<Prisma.$msruangpelayananPayload<ExtArgs>, 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<T extends msruangpelayananUpdateArgs<ExtArgs>>(
|
|
args: SelectSubset<T, msruangpelayananUpdateArgs<ExtArgs>>
|
|
): Prisma__msruangpelayananClient<$Result.GetResult<Prisma.$msruangpelayananPayload<ExtArgs>, 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<T extends msruangpelayananDeleteManyArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, msruangpelayananDeleteManyArgs<ExtArgs>>
|
|
): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends msruangpelayananUpdateManyArgs<ExtArgs>>(
|
|
args: SelectSubset<T, msruangpelayananUpdateManyArgs<ExtArgs>>
|
|
): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends msruangpelayananUpsertArgs<ExtArgs>>(
|
|
args: SelectSubset<T, msruangpelayananUpsertArgs<ExtArgs>>
|
|
): Prisma__msruangpelayananClient<$Result.GetResult<Prisma.$msruangpelayananPayload<ExtArgs>, 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<T extends msruangpelayananCountArgs>(
|
|
args?: Subset<T, msruangpelayananCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends $Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: GetScalarType<T['select'], MsruangpelayananCountAggregateOutputType>
|
|
: 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<T extends MsruangpelayananAggregateArgs>(args: Subset<T, MsruangpelayananAggregateArgs>): Prisma.PrismaPromise<GetMsruangpelayananAggregateType<T>>
|
|
|
|
/**
|
|
* 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<T>>,
|
|
Extends<'take', Keys<T>>
|
|
>,
|
|
OrderByArg extends True extends HasSelectOrTake
|
|
? { orderBy: msruangpelayananGroupByArgs['orderBy'] }
|
|
: { orderBy?: msruangpelayananGroupByArgs['orderBy'] },
|
|
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Has<ByFields, OrderFields>,
|
|
HavingFields extends GetHavingFields<T['having']>,
|
|
HavingValid extends Has<ByFields, HavingFields>,
|
|
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<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? 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<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? 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<T, msruangpelayananGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMsruangpelayananGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* 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<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: 'PrismaPromise';
|
|
|
|
trregistrasi<T extends msruangpelayanan$trregistrasiArgs<ExtArgs> = {}>(args?: Subset<T, msruangpelayanan$trregistrasiArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$trregistrasiPayload<ExtArgs>, 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>;
|
|
/**
|
|
* 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<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>;
|
|
/**
|
|
* 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<T>;
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
* 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the msruangpelayanan
|
|
*/
|
|
select?: msruangpelayananSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: msruangpelayananInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which msruangpelayanan to fetch.
|
|
*/
|
|
where: msruangpelayananWhereUniqueInput
|
|
}
|
|
|
|
|
|
/**
|
|
* msruangpelayanan findUniqueOrThrow
|
|
*/
|
|
export type msruangpelayananFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the msruangpelayanan
|
|
*/
|
|
select?: msruangpelayananSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: msruangpelayananInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which msruangpelayanan to fetch.
|
|
*/
|
|
where: msruangpelayananWhereUniqueInput
|
|
}
|
|
|
|
|
|
/**
|
|
* msruangpelayanan findFirst
|
|
*/
|
|
export type msruangpelayananFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the msruangpelayanan
|
|
*/
|
|
select?: msruangpelayananSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: msruangpelayananInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the msruangpelayanan
|
|
*/
|
|
select?: msruangpelayananSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: msruangpelayananInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the msruangpelayanan
|
|
*/
|
|
select?: msruangpelayananSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: msruangpelayananInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the msruangpelayanan
|
|
*/
|
|
select?: msruangpelayananSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: msruangpelayananInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a msruangpelayanan.
|
|
*/
|
|
data: XOR<msruangpelayananCreateInput, msruangpelayananUncheckedCreateInput>
|
|
}
|
|
|
|
|
|
/**
|
|
* msruangpelayanan createMany
|
|
*/
|
|
export type msruangpelayananCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many msruangpelayanans.
|
|
*/
|
|
data: msruangpelayananCreateManyInput | msruangpelayananCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
|
|
/**
|
|
* msruangpelayanan update
|
|
*/
|
|
export type msruangpelayananUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the msruangpelayanan
|
|
*/
|
|
select?: msruangpelayananSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: msruangpelayananInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a msruangpelayanan.
|
|
*/
|
|
data: XOR<msruangpelayananUpdateInput, msruangpelayananUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which msruangpelayanan to update.
|
|
*/
|
|
where: msruangpelayananWhereUniqueInput
|
|
}
|
|
|
|
|
|
/**
|
|
* msruangpelayanan updateMany
|
|
*/
|
|
export type msruangpelayananUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update msruangpelayanans.
|
|
*/
|
|
data: XOR<msruangpelayananUpdateManyMutationInput, msruangpelayananUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which msruangpelayanans to update
|
|
*/
|
|
where?: msruangpelayananWhereInput
|
|
}
|
|
|
|
|
|
/**
|
|
* msruangpelayanan upsert
|
|
*/
|
|
export type msruangpelayananUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the msruangpelayanan
|
|
*/
|
|
select?: msruangpelayananSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: msruangpelayananInclude<ExtArgs> | 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<msruangpelayananCreateInput, msruangpelayananUncheckedCreateInput>
|
|
/**
|
|
* In case the msruangpelayanan was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: XOR<msruangpelayananUpdateInput, msruangpelayananUncheckedUpdateInput>
|
|
}
|
|
|
|
|
|
/**
|
|
* msruangpelayanan delete
|
|
*/
|
|
export type msruangpelayananDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the msruangpelayanan
|
|
*/
|
|
select?: msruangpelayananSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: msruangpelayananInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which msruangpelayanan to delete.
|
|
*/
|
|
where: msruangpelayananWhereUniqueInput
|
|
}
|
|
|
|
|
|
/**
|
|
* msruangpelayanan deleteMany
|
|
*/
|
|
export type msruangpelayananDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which msruangpelayanans to delete
|
|
*/
|
|
where?: msruangpelayananWhereInput
|
|
}
|
|
|
|
|
|
/**
|
|
* msruangpelayanan.trregistrasi
|
|
*/
|
|
export type msruangpelayanan$trregistrasiArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trregistrasi
|
|
*/
|
|
select?: trregistrasiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: trregistrasiInclude<ExtArgs> | null
|
|
where?: trregistrasiWhereInput
|
|
orderBy?: trregistrasiOrderByWithRelationInput | trregistrasiOrderByWithRelationInput[]
|
|
cursor?: trregistrasiWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: TrregistrasiScalarFieldEnum | TrregistrasiScalarFieldEnum[]
|
|
}
|
|
|
|
|
|
/**
|
|
* msruangpelayanan without action
|
|
*/
|
|
export type msruangpelayananDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the msruangpelayanan
|
|
*/
|
|
select?: msruangpelayananSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: msruangpelayananInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<T extends MstindakanAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateMstindakan]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: GetScalarType<T[P], AggregateMstindakan[P]>
|
|
: GetScalarType<T[P], AggregateMstindakan[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type mstindakanGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
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<T extends mstindakanGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
PickEnumerable<MstindakanGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof MstindakanGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: GetScalarType<T[P], MstindakanGroupByOutputType[P]>
|
|
: GetScalarType<T[P], MstindakanGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
export type mstindakanSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $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<ExtArgs>
|
|
_count?: boolean | MstindakanCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
trtransaksi?: boolean | mstindakan$trtransaksiArgs<ExtArgs>
|
|
_count?: boolean | MstindakanCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
|
|
export type $mstindakanPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
name: "mstindakan"
|
|
objects: {
|
|
trtransaksi: Prisma.$trtransaksiPayload<ExtArgs>[]
|
|
}
|
|
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<S extends boolean | null | undefined | mstindakanDefaultArgs> = $Result.GetResult<Prisma.$mstindakanPayload, S>
|
|
|
|
type mstindakanCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
Omit<mstindakanFindManyArgs, 'select' | 'include' | 'distinct'> & {
|
|
select?: MstindakanCountAggregateInputType | true
|
|
}
|
|
|
|
export interface mstindakanDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends mstindakanFindUniqueArgs<ExtArgs>>(
|
|
args: SelectSubset<T, mstindakanFindUniqueArgs<ExtArgs>>
|
|
): Prisma__mstindakanClient<$Result.GetResult<Prisma.$mstindakanPayload<ExtArgs>, 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<T extends mstindakanFindUniqueOrThrowArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, mstindakanFindUniqueOrThrowArgs<ExtArgs>>
|
|
): Prisma__mstindakanClient<$Result.GetResult<Prisma.$mstindakanPayload<ExtArgs>, 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<T extends mstindakanFindFirstArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, mstindakanFindFirstArgs<ExtArgs>>
|
|
): Prisma__mstindakanClient<$Result.GetResult<Prisma.$mstindakanPayload<ExtArgs>, 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<T extends mstindakanFindFirstOrThrowArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, mstindakanFindFirstOrThrowArgs<ExtArgs>>
|
|
): Prisma__mstindakanClient<$Result.GetResult<Prisma.$mstindakanPayload<ExtArgs>, 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<T extends mstindakanFindManyArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, mstindakanFindManyArgs<ExtArgs>>
|
|
): Prisma.PrismaPromise<$Result.GetResult<Prisma.$mstindakanPayload<ExtArgs>, 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<T extends mstindakanCreateArgs<ExtArgs>>(
|
|
args: SelectSubset<T, mstindakanCreateArgs<ExtArgs>>
|
|
): Prisma__mstindakanClient<$Result.GetResult<Prisma.$mstindakanPayload<ExtArgs>, 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<T extends mstindakanCreateManyArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, mstindakanCreateManyArgs<ExtArgs>>
|
|
): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends mstindakanDeleteArgs<ExtArgs>>(
|
|
args: SelectSubset<T, mstindakanDeleteArgs<ExtArgs>>
|
|
): Prisma__mstindakanClient<$Result.GetResult<Prisma.$mstindakanPayload<ExtArgs>, 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<T extends mstindakanUpdateArgs<ExtArgs>>(
|
|
args: SelectSubset<T, mstindakanUpdateArgs<ExtArgs>>
|
|
): Prisma__mstindakanClient<$Result.GetResult<Prisma.$mstindakanPayload<ExtArgs>, 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<T extends mstindakanDeleteManyArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, mstindakanDeleteManyArgs<ExtArgs>>
|
|
): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends mstindakanUpdateManyArgs<ExtArgs>>(
|
|
args: SelectSubset<T, mstindakanUpdateManyArgs<ExtArgs>>
|
|
): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends mstindakanUpsertArgs<ExtArgs>>(
|
|
args: SelectSubset<T, mstindakanUpsertArgs<ExtArgs>>
|
|
): Prisma__mstindakanClient<$Result.GetResult<Prisma.$mstindakanPayload<ExtArgs>, 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<T extends mstindakanCountArgs>(
|
|
args?: Subset<T, mstindakanCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends $Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: GetScalarType<T['select'], MstindakanCountAggregateOutputType>
|
|
: 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<T extends MstindakanAggregateArgs>(args: Subset<T, MstindakanAggregateArgs>): Prisma.PrismaPromise<GetMstindakanAggregateType<T>>
|
|
|
|
/**
|
|
* 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<T>>,
|
|
Extends<'take', Keys<T>>
|
|
>,
|
|
OrderByArg extends True extends HasSelectOrTake
|
|
? { orderBy: mstindakanGroupByArgs['orderBy'] }
|
|
: { orderBy?: mstindakanGroupByArgs['orderBy'] },
|
|
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Has<ByFields, OrderFields>,
|
|
HavingFields extends GetHavingFields<T['having']>,
|
|
HavingValid extends Has<ByFields, HavingFields>,
|
|
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<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? 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<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? 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<T, mstindakanGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMstindakanGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* 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<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: 'PrismaPromise';
|
|
|
|
trtransaksi<T extends mstindakan$trtransaksiArgs<ExtArgs> = {}>(args?: Subset<T, mstindakan$trtransaksiArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$trtransaksiPayload<ExtArgs>, 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>;
|
|
/**
|
|
* 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<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>;
|
|
/**
|
|
* 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<T>;
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
* 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the mstindakan
|
|
*/
|
|
select?: mstindakanSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: mstindakanInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which mstindakan to fetch.
|
|
*/
|
|
where: mstindakanWhereUniqueInput
|
|
}
|
|
|
|
|
|
/**
|
|
* mstindakan findUniqueOrThrow
|
|
*/
|
|
export type mstindakanFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the mstindakan
|
|
*/
|
|
select?: mstindakanSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: mstindakanInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which mstindakan to fetch.
|
|
*/
|
|
where: mstindakanWhereUniqueInput
|
|
}
|
|
|
|
|
|
/**
|
|
* mstindakan findFirst
|
|
*/
|
|
export type mstindakanFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the mstindakan
|
|
*/
|
|
select?: mstindakanSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: mstindakanInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the mstindakan
|
|
*/
|
|
select?: mstindakanSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: mstindakanInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the mstindakan
|
|
*/
|
|
select?: mstindakanSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: mstindakanInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the mstindakan
|
|
*/
|
|
select?: mstindakanSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: mstindakanInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a mstindakan.
|
|
*/
|
|
data: XOR<mstindakanCreateInput, mstindakanUncheckedCreateInput>
|
|
}
|
|
|
|
|
|
/**
|
|
* mstindakan createMany
|
|
*/
|
|
export type mstindakanCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many mstindakans.
|
|
*/
|
|
data: mstindakanCreateManyInput | mstindakanCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
|
|
/**
|
|
* mstindakan update
|
|
*/
|
|
export type mstindakanUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the mstindakan
|
|
*/
|
|
select?: mstindakanSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: mstindakanInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a mstindakan.
|
|
*/
|
|
data: XOR<mstindakanUpdateInput, mstindakanUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which mstindakan to update.
|
|
*/
|
|
where: mstindakanWhereUniqueInput
|
|
}
|
|
|
|
|
|
/**
|
|
* mstindakan updateMany
|
|
*/
|
|
export type mstindakanUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update mstindakans.
|
|
*/
|
|
data: XOR<mstindakanUpdateManyMutationInput, mstindakanUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which mstindakans to update
|
|
*/
|
|
where?: mstindakanWhereInput
|
|
}
|
|
|
|
|
|
/**
|
|
* mstindakan upsert
|
|
*/
|
|
export type mstindakanUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the mstindakan
|
|
*/
|
|
select?: mstindakanSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: mstindakanInclude<ExtArgs> | 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<mstindakanCreateInput, mstindakanUncheckedCreateInput>
|
|
/**
|
|
* In case the mstindakan was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: XOR<mstindakanUpdateInput, mstindakanUncheckedUpdateInput>
|
|
}
|
|
|
|
|
|
/**
|
|
* mstindakan delete
|
|
*/
|
|
export type mstindakanDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the mstindakan
|
|
*/
|
|
select?: mstindakanSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: mstindakanInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which mstindakan to delete.
|
|
*/
|
|
where: mstindakanWhereUniqueInput
|
|
}
|
|
|
|
|
|
/**
|
|
* mstindakan deleteMany
|
|
*/
|
|
export type mstindakanDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which mstindakans to delete
|
|
*/
|
|
where?: mstindakanWhereInput
|
|
}
|
|
|
|
|
|
/**
|
|
* mstindakan.trtransaksi
|
|
*/
|
|
export type mstindakan$trtransaksiArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trtransaksi
|
|
*/
|
|
select?: trtransaksiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: trtransaksiInclude<ExtArgs> | null
|
|
where?: trtransaksiWhereInput
|
|
orderBy?: trtransaksiOrderByWithRelationInput | trtransaksiOrderByWithRelationInput[]
|
|
cursor?: trtransaksiWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: TrtransaksiScalarFieldEnum | TrtransaksiScalarFieldEnum[]
|
|
}
|
|
|
|
|
|
/**
|
|
* mstindakan without action
|
|
*/
|
|
export type mstindakanDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the mstindakan
|
|
*/
|
|
select?: mstindakanSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: mstindakanInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<T extends TrregistrasiAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateTrregistrasi]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: GetScalarType<T[P], AggregateTrregistrasi[P]>
|
|
: GetScalarType<T[P], AggregateTrregistrasi[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type trregistrasiGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
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<T extends trregistrasiGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
PickEnumerable<TrregistrasiGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof TrregistrasiGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: GetScalarType<T[P], TrregistrasiGroupByOutputType[P]>
|
|
: GetScalarType<T[P], TrregistrasiGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
export type trregistrasiSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $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<ExtArgs>
|
|
mspasien?: boolean | trregistrasi$mspasienArgs<ExtArgs>
|
|
mspegawai?: boolean | trregistrasi$mspegawaiArgs<ExtArgs>
|
|
msruangpelayanan?: boolean | trregistrasi$msruangpelayananArgs<ExtArgs>
|
|
trtransaksi?: boolean | trregistrasi$trtransaksiArgs<ExtArgs>
|
|
_count?: boolean | TrregistrasiCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
msasuransi?: boolean | trregistrasi$msasuransiArgs<ExtArgs>
|
|
mspasien?: boolean | trregistrasi$mspasienArgs<ExtArgs>
|
|
mspegawai?: boolean | trregistrasi$mspegawaiArgs<ExtArgs>
|
|
msruangpelayanan?: boolean | trregistrasi$msruangpelayananArgs<ExtArgs>
|
|
trtransaksi?: boolean | trregistrasi$trtransaksiArgs<ExtArgs>
|
|
_count?: boolean | TrregistrasiCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
|
|
export type $trregistrasiPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
name: "trregistrasi"
|
|
objects: {
|
|
msasuransi: Prisma.$msasuransiPayload<ExtArgs> | null
|
|
mspasien: Prisma.$mspasienPayload<ExtArgs> | null
|
|
mspegawai: Prisma.$mspegawaiPayload<ExtArgs> | null
|
|
msruangpelayanan: Prisma.$msruangpelayananPayload<ExtArgs> | null
|
|
trtransaksi: Prisma.$trtransaksiPayload<ExtArgs>[]
|
|
}
|
|
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<S extends boolean | null | undefined | trregistrasiDefaultArgs> = $Result.GetResult<Prisma.$trregistrasiPayload, S>
|
|
|
|
type trregistrasiCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
Omit<trregistrasiFindManyArgs, 'select' | 'include' | 'distinct'> & {
|
|
select?: TrregistrasiCountAggregateInputType | true
|
|
}
|
|
|
|
export interface trregistrasiDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends trregistrasiFindUniqueArgs<ExtArgs>>(
|
|
args: SelectSubset<T, trregistrasiFindUniqueArgs<ExtArgs>>
|
|
): Prisma__trregistrasiClient<$Result.GetResult<Prisma.$trregistrasiPayload<ExtArgs>, 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<T extends trregistrasiFindUniqueOrThrowArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, trregistrasiFindUniqueOrThrowArgs<ExtArgs>>
|
|
): Prisma__trregistrasiClient<$Result.GetResult<Prisma.$trregistrasiPayload<ExtArgs>, 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<T extends trregistrasiFindFirstArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, trregistrasiFindFirstArgs<ExtArgs>>
|
|
): Prisma__trregistrasiClient<$Result.GetResult<Prisma.$trregistrasiPayload<ExtArgs>, 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<T extends trregistrasiFindFirstOrThrowArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, trregistrasiFindFirstOrThrowArgs<ExtArgs>>
|
|
): Prisma__trregistrasiClient<$Result.GetResult<Prisma.$trregistrasiPayload<ExtArgs>, 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<T extends trregistrasiFindManyArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, trregistrasiFindManyArgs<ExtArgs>>
|
|
): Prisma.PrismaPromise<$Result.GetResult<Prisma.$trregistrasiPayload<ExtArgs>, 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<T extends trregistrasiCreateArgs<ExtArgs>>(
|
|
args: SelectSubset<T, trregistrasiCreateArgs<ExtArgs>>
|
|
): Prisma__trregistrasiClient<$Result.GetResult<Prisma.$trregistrasiPayload<ExtArgs>, 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<T extends trregistrasiCreateManyArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, trregistrasiCreateManyArgs<ExtArgs>>
|
|
): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends trregistrasiDeleteArgs<ExtArgs>>(
|
|
args: SelectSubset<T, trregistrasiDeleteArgs<ExtArgs>>
|
|
): Prisma__trregistrasiClient<$Result.GetResult<Prisma.$trregistrasiPayload<ExtArgs>, 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<T extends trregistrasiUpdateArgs<ExtArgs>>(
|
|
args: SelectSubset<T, trregistrasiUpdateArgs<ExtArgs>>
|
|
): Prisma__trregistrasiClient<$Result.GetResult<Prisma.$trregistrasiPayload<ExtArgs>, 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<T extends trregistrasiDeleteManyArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, trregistrasiDeleteManyArgs<ExtArgs>>
|
|
): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends trregistrasiUpdateManyArgs<ExtArgs>>(
|
|
args: SelectSubset<T, trregistrasiUpdateManyArgs<ExtArgs>>
|
|
): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends trregistrasiUpsertArgs<ExtArgs>>(
|
|
args: SelectSubset<T, trregistrasiUpsertArgs<ExtArgs>>
|
|
): Prisma__trregistrasiClient<$Result.GetResult<Prisma.$trregistrasiPayload<ExtArgs>, 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<T extends trregistrasiCountArgs>(
|
|
args?: Subset<T, trregistrasiCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends $Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: GetScalarType<T['select'], TrregistrasiCountAggregateOutputType>
|
|
: 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<T extends TrregistrasiAggregateArgs>(args: Subset<T, TrregistrasiAggregateArgs>): Prisma.PrismaPromise<GetTrregistrasiAggregateType<T>>
|
|
|
|
/**
|
|
* 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<T>>,
|
|
Extends<'take', Keys<T>>
|
|
>,
|
|
OrderByArg extends True extends HasSelectOrTake
|
|
? { orderBy: trregistrasiGroupByArgs['orderBy'] }
|
|
: { orderBy?: trregistrasiGroupByArgs['orderBy'] },
|
|
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Has<ByFields, OrderFields>,
|
|
HavingFields extends GetHavingFields<T['having']>,
|
|
HavingValid extends Has<ByFields, HavingFields>,
|
|
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<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? 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<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? 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<T, trregistrasiGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTrregistrasiGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* 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<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: 'PrismaPromise';
|
|
|
|
msasuransi<T extends trregistrasi$msasuransiArgs<ExtArgs> = {}>(args?: Subset<T, trregistrasi$msasuransiArgs<ExtArgs>>): Prisma__msasuransiClient<$Result.GetResult<Prisma.$msasuransiPayload<ExtArgs>, T, 'findUniqueOrThrow'> | null, null, ExtArgs>;
|
|
|
|
mspasien<T extends trregistrasi$mspasienArgs<ExtArgs> = {}>(args?: Subset<T, trregistrasi$mspasienArgs<ExtArgs>>): Prisma__mspasienClient<$Result.GetResult<Prisma.$mspasienPayload<ExtArgs>, T, 'findUniqueOrThrow'> | null, null, ExtArgs>;
|
|
|
|
mspegawai<T extends trregistrasi$mspegawaiArgs<ExtArgs> = {}>(args?: Subset<T, trregistrasi$mspegawaiArgs<ExtArgs>>): Prisma__mspegawaiClient<$Result.GetResult<Prisma.$mspegawaiPayload<ExtArgs>, T, 'findUniqueOrThrow'> | null, null, ExtArgs>;
|
|
|
|
msruangpelayanan<T extends trregistrasi$msruangpelayananArgs<ExtArgs> = {}>(args?: Subset<T, trregistrasi$msruangpelayananArgs<ExtArgs>>): Prisma__msruangpelayananClient<$Result.GetResult<Prisma.$msruangpelayananPayload<ExtArgs>, T, 'findUniqueOrThrow'> | null, null, ExtArgs>;
|
|
|
|
trtransaksi<T extends trregistrasi$trtransaksiArgs<ExtArgs> = {}>(args?: Subset<T, trregistrasi$trtransaksiArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$trtransaksiPayload<ExtArgs>, 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>;
|
|
/**
|
|
* 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<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>;
|
|
/**
|
|
* 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<T>;
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
* 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trregistrasi
|
|
*/
|
|
select?: trregistrasiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: trregistrasiInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which trregistrasi to fetch.
|
|
*/
|
|
where: trregistrasiWhereUniqueInput
|
|
}
|
|
|
|
|
|
/**
|
|
* trregistrasi findUniqueOrThrow
|
|
*/
|
|
export type trregistrasiFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trregistrasi
|
|
*/
|
|
select?: trregistrasiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: trregistrasiInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which trregistrasi to fetch.
|
|
*/
|
|
where: trregistrasiWhereUniqueInput
|
|
}
|
|
|
|
|
|
/**
|
|
* trregistrasi findFirst
|
|
*/
|
|
export type trregistrasiFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trregistrasi
|
|
*/
|
|
select?: trregistrasiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: trregistrasiInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trregistrasi
|
|
*/
|
|
select?: trregistrasiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: trregistrasiInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trregistrasi
|
|
*/
|
|
select?: trregistrasiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: trregistrasiInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trregistrasi
|
|
*/
|
|
select?: trregistrasiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: trregistrasiInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a trregistrasi.
|
|
*/
|
|
data: XOR<trregistrasiCreateInput, trregistrasiUncheckedCreateInput>
|
|
}
|
|
|
|
|
|
/**
|
|
* trregistrasi createMany
|
|
*/
|
|
export type trregistrasiCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many trregistrasis.
|
|
*/
|
|
data: trregistrasiCreateManyInput | trregistrasiCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
|
|
/**
|
|
* trregistrasi update
|
|
*/
|
|
export type trregistrasiUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trregistrasi
|
|
*/
|
|
select?: trregistrasiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: trregistrasiInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a trregistrasi.
|
|
*/
|
|
data: XOR<trregistrasiUpdateInput, trregistrasiUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which trregistrasi to update.
|
|
*/
|
|
where: trregistrasiWhereUniqueInput
|
|
}
|
|
|
|
|
|
/**
|
|
* trregistrasi updateMany
|
|
*/
|
|
export type trregistrasiUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update trregistrasis.
|
|
*/
|
|
data: XOR<trregistrasiUpdateManyMutationInput, trregistrasiUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which trregistrasis to update
|
|
*/
|
|
where?: trregistrasiWhereInput
|
|
}
|
|
|
|
|
|
/**
|
|
* trregistrasi upsert
|
|
*/
|
|
export type trregistrasiUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trregistrasi
|
|
*/
|
|
select?: trregistrasiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: trregistrasiInclude<ExtArgs> | 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<trregistrasiCreateInput, trregistrasiUncheckedCreateInput>
|
|
/**
|
|
* In case the trregistrasi was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: XOR<trregistrasiUpdateInput, trregistrasiUncheckedUpdateInput>
|
|
}
|
|
|
|
|
|
/**
|
|
* trregistrasi delete
|
|
*/
|
|
export type trregistrasiDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trregistrasi
|
|
*/
|
|
select?: trregistrasiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: trregistrasiInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which trregistrasi to delete.
|
|
*/
|
|
where: trregistrasiWhereUniqueInput
|
|
}
|
|
|
|
|
|
/**
|
|
* trregistrasi deleteMany
|
|
*/
|
|
export type trregistrasiDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which trregistrasis to delete
|
|
*/
|
|
where?: trregistrasiWhereInput
|
|
}
|
|
|
|
|
|
/**
|
|
* trregistrasi.msasuransi
|
|
*/
|
|
export type trregistrasi$msasuransiArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the msasuransi
|
|
*/
|
|
select?: msasuransiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: msasuransiInclude<ExtArgs> | null
|
|
where?: msasuransiWhereInput
|
|
}
|
|
|
|
|
|
/**
|
|
* trregistrasi.mspasien
|
|
*/
|
|
export type trregistrasi$mspasienArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the mspasien
|
|
*/
|
|
select?: mspasienSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: mspasienInclude<ExtArgs> | null
|
|
where?: mspasienWhereInput
|
|
}
|
|
|
|
|
|
/**
|
|
* trregistrasi.mspegawai
|
|
*/
|
|
export type trregistrasi$mspegawaiArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the mspegawai
|
|
*/
|
|
select?: mspegawaiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: mspegawaiInclude<ExtArgs> | null
|
|
where?: mspegawaiWhereInput
|
|
}
|
|
|
|
|
|
/**
|
|
* trregistrasi.msruangpelayanan
|
|
*/
|
|
export type trregistrasi$msruangpelayananArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the msruangpelayanan
|
|
*/
|
|
select?: msruangpelayananSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: msruangpelayananInclude<ExtArgs> | null
|
|
where?: msruangpelayananWhereInput
|
|
}
|
|
|
|
|
|
/**
|
|
* trregistrasi.trtransaksi
|
|
*/
|
|
export type trregistrasi$trtransaksiArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trtransaksi
|
|
*/
|
|
select?: trtransaksiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: trtransaksiInclude<ExtArgs> | null
|
|
where?: trtransaksiWhereInput
|
|
orderBy?: trtransaksiOrderByWithRelationInput | trtransaksiOrderByWithRelationInput[]
|
|
cursor?: trtransaksiWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: TrtransaksiScalarFieldEnum | TrtransaksiScalarFieldEnum[]
|
|
}
|
|
|
|
|
|
/**
|
|
* trregistrasi without action
|
|
*/
|
|
export type trregistrasiDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trregistrasi
|
|
*/
|
|
select?: trregistrasiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: trregistrasiInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<T extends TrtransaksiAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateTrtransaksi]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: GetScalarType<T[P], AggregateTrtransaksi[P]>
|
|
: GetScalarType<T[P], AggregateTrtransaksi[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type trtransaksiGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
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<T extends trtransaksiGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
PickEnumerable<TrtransaksiGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof TrtransaksiGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: GetScalarType<T[P], TrtransaksiGroupByOutputType[P]>
|
|
: GetScalarType<T[P], TrtransaksiGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
export type trtransaksiSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $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<ExtArgs>
|
|
trregistrasi?: boolean | trtransaksi$trregistrasiArgs<ExtArgs>
|
|
mstindakan?: boolean | trtransaksi$mstindakanArgs<ExtArgs>
|
|
}, 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
mspegawai?: boolean | trtransaksi$mspegawaiArgs<ExtArgs>
|
|
trregistrasi?: boolean | trtransaksi$trregistrasiArgs<ExtArgs>
|
|
mstindakan?: boolean | trtransaksi$mstindakanArgs<ExtArgs>
|
|
}
|
|
|
|
|
|
export type $trtransaksiPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
name: "trtransaksi"
|
|
objects: {
|
|
mspegawai: Prisma.$mspegawaiPayload<ExtArgs> | null
|
|
trregistrasi: Prisma.$trregistrasiPayload<ExtArgs> | null
|
|
mstindakan: Prisma.$mstindakanPayload<ExtArgs> | 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<S extends boolean | null | undefined | trtransaksiDefaultArgs> = $Result.GetResult<Prisma.$trtransaksiPayload, S>
|
|
|
|
type trtransaksiCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
Omit<trtransaksiFindManyArgs, 'select' | 'include' | 'distinct'> & {
|
|
select?: TrtransaksiCountAggregateInputType | true
|
|
}
|
|
|
|
export interface trtransaksiDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends trtransaksiFindUniqueArgs<ExtArgs>>(
|
|
args: SelectSubset<T, trtransaksiFindUniqueArgs<ExtArgs>>
|
|
): Prisma__trtransaksiClient<$Result.GetResult<Prisma.$trtransaksiPayload<ExtArgs>, 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<T extends trtransaksiFindUniqueOrThrowArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, trtransaksiFindUniqueOrThrowArgs<ExtArgs>>
|
|
): Prisma__trtransaksiClient<$Result.GetResult<Prisma.$trtransaksiPayload<ExtArgs>, 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<T extends trtransaksiFindFirstArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, trtransaksiFindFirstArgs<ExtArgs>>
|
|
): Prisma__trtransaksiClient<$Result.GetResult<Prisma.$trtransaksiPayload<ExtArgs>, 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<T extends trtransaksiFindFirstOrThrowArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, trtransaksiFindFirstOrThrowArgs<ExtArgs>>
|
|
): Prisma__trtransaksiClient<$Result.GetResult<Prisma.$trtransaksiPayload<ExtArgs>, 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<T extends trtransaksiFindManyArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, trtransaksiFindManyArgs<ExtArgs>>
|
|
): Prisma.PrismaPromise<$Result.GetResult<Prisma.$trtransaksiPayload<ExtArgs>, 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<T extends trtransaksiCreateArgs<ExtArgs>>(
|
|
args: SelectSubset<T, trtransaksiCreateArgs<ExtArgs>>
|
|
): Prisma__trtransaksiClient<$Result.GetResult<Prisma.$trtransaksiPayload<ExtArgs>, 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<T extends trtransaksiCreateManyArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, trtransaksiCreateManyArgs<ExtArgs>>
|
|
): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends trtransaksiDeleteArgs<ExtArgs>>(
|
|
args: SelectSubset<T, trtransaksiDeleteArgs<ExtArgs>>
|
|
): Prisma__trtransaksiClient<$Result.GetResult<Prisma.$trtransaksiPayload<ExtArgs>, 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<T extends trtransaksiUpdateArgs<ExtArgs>>(
|
|
args: SelectSubset<T, trtransaksiUpdateArgs<ExtArgs>>
|
|
): Prisma__trtransaksiClient<$Result.GetResult<Prisma.$trtransaksiPayload<ExtArgs>, 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<T extends trtransaksiDeleteManyArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, trtransaksiDeleteManyArgs<ExtArgs>>
|
|
): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends trtransaksiUpdateManyArgs<ExtArgs>>(
|
|
args: SelectSubset<T, trtransaksiUpdateManyArgs<ExtArgs>>
|
|
): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends trtransaksiUpsertArgs<ExtArgs>>(
|
|
args: SelectSubset<T, trtransaksiUpsertArgs<ExtArgs>>
|
|
): Prisma__trtransaksiClient<$Result.GetResult<Prisma.$trtransaksiPayload<ExtArgs>, 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<T extends trtransaksiCountArgs>(
|
|
args?: Subset<T, trtransaksiCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends $Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: GetScalarType<T['select'], TrtransaksiCountAggregateOutputType>
|
|
: 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<T extends TrtransaksiAggregateArgs>(args: Subset<T, TrtransaksiAggregateArgs>): Prisma.PrismaPromise<GetTrtransaksiAggregateType<T>>
|
|
|
|
/**
|
|
* 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<T>>,
|
|
Extends<'take', Keys<T>>
|
|
>,
|
|
OrderByArg extends True extends HasSelectOrTake
|
|
? { orderBy: trtransaksiGroupByArgs['orderBy'] }
|
|
: { orderBy?: trtransaksiGroupByArgs['orderBy'] },
|
|
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Has<ByFields, OrderFields>,
|
|
HavingFields extends GetHavingFields<T['having']>,
|
|
HavingValid extends Has<ByFields, HavingFields>,
|
|
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<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? 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<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? 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<T, trtransaksiGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTrtransaksiGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* 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<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: 'PrismaPromise';
|
|
|
|
mspegawai<T extends trtransaksi$mspegawaiArgs<ExtArgs> = {}>(args?: Subset<T, trtransaksi$mspegawaiArgs<ExtArgs>>): Prisma__mspegawaiClient<$Result.GetResult<Prisma.$mspegawaiPayload<ExtArgs>, T, 'findUniqueOrThrow'> | null, null, ExtArgs>;
|
|
|
|
trregistrasi<T extends trtransaksi$trregistrasiArgs<ExtArgs> = {}>(args?: Subset<T, trtransaksi$trregistrasiArgs<ExtArgs>>): Prisma__trregistrasiClient<$Result.GetResult<Prisma.$trregistrasiPayload<ExtArgs>, T, 'findUniqueOrThrow'> | null, null, ExtArgs>;
|
|
|
|
mstindakan<T extends trtransaksi$mstindakanArgs<ExtArgs> = {}>(args?: Subset<T, trtransaksi$mstindakanArgs<ExtArgs>>): Prisma__mstindakanClient<$Result.GetResult<Prisma.$mstindakanPayload<ExtArgs>, 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>;
|
|
/**
|
|
* 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<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>;
|
|
/**
|
|
* 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<T>;
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
* 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trtransaksi
|
|
*/
|
|
select?: trtransaksiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: trtransaksiInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which trtransaksi to fetch.
|
|
*/
|
|
where: trtransaksiWhereUniqueInput
|
|
}
|
|
|
|
|
|
/**
|
|
* trtransaksi findUniqueOrThrow
|
|
*/
|
|
export type trtransaksiFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trtransaksi
|
|
*/
|
|
select?: trtransaksiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: trtransaksiInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which trtransaksi to fetch.
|
|
*/
|
|
where: trtransaksiWhereUniqueInput
|
|
}
|
|
|
|
|
|
/**
|
|
* trtransaksi findFirst
|
|
*/
|
|
export type trtransaksiFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trtransaksi
|
|
*/
|
|
select?: trtransaksiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: trtransaksiInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trtransaksi
|
|
*/
|
|
select?: trtransaksiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: trtransaksiInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trtransaksi
|
|
*/
|
|
select?: trtransaksiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: trtransaksiInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trtransaksi
|
|
*/
|
|
select?: trtransaksiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: trtransaksiInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a trtransaksi.
|
|
*/
|
|
data: XOR<trtransaksiCreateInput, trtransaksiUncheckedCreateInput>
|
|
}
|
|
|
|
|
|
/**
|
|
* trtransaksi createMany
|
|
*/
|
|
export type trtransaksiCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many trtransaksis.
|
|
*/
|
|
data: trtransaksiCreateManyInput | trtransaksiCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
|
|
/**
|
|
* trtransaksi update
|
|
*/
|
|
export type trtransaksiUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trtransaksi
|
|
*/
|
|
select?: trtransaksiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: trtransaksiInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a trtransaksi.
|
|
*/
|
|
data: XOR<trtransaksiUpdateInput, trtransaksiUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which trtransaksi to update.
|
|
*/
|
|
where: trtransaksiWhereUniqueInput
|
|
}
|
|
|
|
|
|
/**
|
|
* trtransaksi updateMany
|
|
*/
|
|
export type trtransaksiUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update trtransaksis.
|
|
*/
|
|
data: XOR<trtransaksiUpdateManyMutationInput, trtransaksiUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which trtransaksis to update
|
|
*/
|
|
where?: trtransaksiWhereInput
|
|
}
|
|
|
|
|
|
/**
|
|
* trtransaksi upsert
|
|
*/
|
|
export type trtransaksiUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trtransaksi
|
|
*/
|
|
select?: trtransaksiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: trtransaksiInclude<ExtArgs> | 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<trtransaksiCreateInput, trtransaksiUncheckedCreateInput>
|
|
/**
|
|
* In case the trtransaksi was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: XOR<trtransaksiUpdateInput, trtransaksiUncheckedUpdateInput>
|
|
}
|
|
|
|
|
|
/**
|
|
* trtransaksi delete
|
|
*/
|
|
export type trtransaksiDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trtransaksi
|
|
*/
|
|
select?: trtransaksiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: trtransaksiInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which trtransaksi to delete.
|
|
*/
|
|
where: trtransaksiWhereUniqueInput
|
|
}
|
|
|
|
|
|
/**
|
|
* trtransaksi deleteMany
|
|
*/
|
|
export type trtransaksiDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which trtransaksis to delete
|
|
*/
|
|
where?: trtransaksiWhereInput
|
|
}
|
|
|
|
|
|
/**
|
|
* trtransaksi.mspegawai
|
|
*/
|
|
export type trtransaksi$mspegawaiArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the mspegawai
|
|
*/
|
|
select?: mspegawaiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: mspegawaiInclude<ExtArgs> | null
|
|
where?: mspegawaiWhereInput
|
|
}
|
|
|
|
|
|
/**
|
|
* trtransaksi.trregistrasi
|
|
*/
|
|
export type trtransaksi$trregistrasiArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trregistrasi
|
|
*/
|
|
select?: trregistrasiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: trregistrasiInclude<ExtArgs> | null
|
|
where?: trregistrasiWhereInput
|
|
}
|
|
|
|
|
|
/**
|
|
* trtransaksi.mstindakan
|
|
*/
|
|
export type trtransaksi$mstindakanArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the mstindakan
|
|
*/
|
|
select?: mstindakanSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: mstindakanInclude<ExtArgs> | null
|
|
where?: mstindakanWhereInput
|
|
}
|
|
|
|
|
|
/**
|
|
* trtransaksi without action
|
|
*/
|
|
export type trtransaksiDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the trtransaksi
|
|
*/
|
|
select?: trtransaksiSelect<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well.
|
|
*/
|
|
include?: trtransaksiInclude<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<T extends MsusersAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateMsusers]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: GetScalarType<T[P], AggregateMsusers[P]>
|
|
: GetScalarType<T[P], AggregateMsusers[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type msusersGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
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<T extends msusersGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
PickEnumerable<MsusersGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof MsusersGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: GetScalarType<T[P], MsusersGroupByOutputType[P]>
|
|
: GetScalarType<T[P], MsusersGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
export type msusersSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
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<S extends boolean | null | undefined | msusersDefaultArgs> = $Result.GetResult<Prisma.$msusersPayload, S>
|
|
|
|
type msusersCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
Omit<msusersFindManyArgs, 'select' | 'include' | 'distinct'> & {
|
|
select?: MsusersCountAggregateInputType | true
|
|
}
|
|
|
|
export interface msusersDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends msusersFindUniqueArgs<ExtArgs>>(
|
|
args: SelectSubset<T, msusersFindUniqueArgs<ExtArgs>>
|
|
): Prisma__msusersClient<$Result.GetResult<Prisma.$msusersPayload<ExtArgs>, 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<T extends msusersFindUniqueOrThrowArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, msusersFindUniqueOrThrowArgs<ExtArgs>>
|
|
): Prisma__msusersClient<$Result.GetResult<Prisma.$msusersPayload<ExtArgs>, 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<T extends msusersFindFirstArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, msusersFindFirstArgs<ExtArgs>>
|
|
): Prisma__msusersClient<$Result.GetResult<Prisma.$msusersPayload<ExtArgs>, 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<T extends msusersFindFirstOrThrowArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, msusersFindFirstOrThrowArgs<ExtArgs>>
|
|
): Prisma__msusersClient<$Result.GetResult<Prisma.$msusersPayload<ExtArgs>, 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<T extends msusersFindManyArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, msusersFindManyArgs<ExtArgs>>
|
|
): Prisma.PrismaPromise<$Result.GetResult<Prisma.$msusersPayload<ExtArgs>, 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<T extends msusersCreateArgs<ExtArgs>>(
|
|
args: SelectSubset<T, msusersCreateArgs<ExtArgs>>
|
|
): Prisma__msusersClient<$Result.GetResult<Prisma.$msusersPayload<ExtArgs>, 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<T extends msusersCreateManyArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, msusersCreateManyArgs<ExtArgs>>
|
|
): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends msusersDeleteArgs<ExtArgs>>(
|
|
args: SelectSubset<T, msusersDeleteArgs<ExtArgs>>
|
|
): Prisma__msusersClient<$Result.GetResult<Prisma.$msusersPayload<ExtArgs>, 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<T extends msusersUpdateArgs<ExtArgs>>(
|
|
args: SelectSubset<T, msusersUpdateArgs<ExtArgs>>
|
|
): Prisma__msusersClient<$Result.GetResult<Prisma.$msusersPayload<ExtArgs>, 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<T extends msusersDeleteManyArgs<ExtArgs>>(
|
|
args?: SelectSubset<T, msusersDeleteManyArgs<ExtArgs>>
|
|
): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends msusersUpdateManyArgs<ExtArgs>>(
|
|
args: SelectSubset<T, msusersUpdateManyArgs<ExtArgs>>
|
|
): Prisma.PrismaPromise<BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends msusersUpsertArgs<ExtArgs>>(
|
|
args: SelectSubset<T, msusersUpsertArgs<ExtArgs>>
|
|
): Prisma__msusersClient<$Result.GetResult<Prisma.$msusersPayload<ExtArgs>, 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<T extends msusersCountArgs>(
|
|
args?: Subset<T, msusersCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends $Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: GetScalarType<T['select'], MsusersCountAggregateOutputType>
|
|
: 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<T extends MsusersAggregateArgs>(args: Subset<T, MsusersAggregateArgs>): Prisma.PrismaPromise<GetMsusersAggregateType<T>>
|
|
|
|
/**
|
|
* 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<T>>,
|
|
Extends<'take', Keys<T>>
|
|
>,
|
|
OrderByArg extends True extends HasSelectOrTake
|
|
? { orderBy: msusersGroupByArgs['orderBy'] }
|
|
: { orderBy?: msusersGroupByArgs['orderBy'] },
|
|
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Has<ByFields, OrderFields>,
|
|
HavingFields extends GetHavingFields<T['having']>,
|
|
HavingValid extends Has<ByFields, HavingFields>,
|
|
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<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? 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<T>
|
|
? 'orderBy' extends Keys<T>
|
|
? 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<T, msusersGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMsusersGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* 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<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
|
|
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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>;
|
|
/**
|
|
* 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<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>;
|
|
/**
|
|
* 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<T>;
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
* 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the msusers
|
|
*/
|
|
select?: msusersSelect<ExtArgs> | null
|
|
/**
|
|
* Filter, which msusers to fetch.
|
|
*/
|
|
where: msusersWhereUniqueInput
|
|
}
|
|
|
|
|
|
/**
|
|
* msusers findUniqueOrThrow
|
|
*/
|
|
export type msusersFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the msusers
|
|
*/
|
|
select?: msusersSelect<ExtArgs> | null
|
|
/**
|
|
* Filter, which msusers to fetch.
|
|
*/
|
|
where: msusersWhereUniqueInput
|
|
}
|
|
|
|
|
|
/**
|
|
* msusers findFirst
|
|
*/
|
|
export type msusersFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the msusers
|
|
*/
|
|
select?: msusersSelect<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the msusers
|
|
*/
|
|
select?: msusersSelect<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the msusers
|
|
*/
|
|
select?: msusersSelect<ExtArgs> | 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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the msusers
|
|
*/
|
|
select?: msusersSelect<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a msusers.
|
|
*/
|
|
data: XOR<msusersCreateInput, msusersUncheckedCreateInput>
|
|
}
|
|
|
|
|
|
/**
|
|
* msusers createMany
|
|
*/
|
|
export type msusersCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many msusers.
|
|
*/
|
|
data: msusersCreateManyInput | msusersCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
|
|
/**
|
|
* msusers update
|
|
*/
|
|
export type msusersUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the msusers
|
|
*/
|
|
select?: msusersSelect<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a msusers.
|
|
*/
|
|
data: XOR<msusersUpdateInput, msusersUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which msusers to update.
|
|
*/
|
|
where: msusersWhereUniqueInput
|
|
}
|
|
|
|
|
|
/**
|
|
* msusers updateMany
|
|
*/
|
|
export type msusersUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update msusers.
|
|
*/
|
|
data: XOR<msusersUpdateManyMutationInput, msusersUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which msusers to update
|
|
*/
|
|
where?: msusersWhereInput
|
|
}
|
|
|
|
|
|
/**
|
|
* msusers upsert
|
|
*/
|
|
export type msusersUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the msusers
|
|
*/
|
|
select?: msusersSelect<ExtArgs> | 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<msusersCreateInput, msusersUncheckedCreateInput>
|
|
/**
|
|
* In case the msusers was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: XOR<msusersUpdateInput, msusersUncheckedUpdateInput>
|
|
}
|
|
|
|
|
|
/**
|
|
* msusers delete
|
|
*/
|
|
export type msusersDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the msusers
|
|
*/
|
|
select?: msusersSelect<ExtArgs> | null
|
|
/**
|
|
* Filter which msusers to delete.
|
|
*/
|
|
where: msusersWhereUniqueInput
|
|
}
|
|
|
|
|
|
/**
|
|
* msusers deleteMany
|
|
*/
|
|
export type msusersDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which msusers to delete
|
|
*/
|
|
where?: msusersWhereInput
|
|
}
|
|
|
|
|
|
/**
|
|
* msusers without action
|
|
*/
|
|
export type msusersDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the msusers
|
|
*/
|
|
select?: msusersSelect<ExtArgs> | 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<MsasuransiNullableRelationFilter, msasuransiWhereInput> | null
|
|
mspasien?: XOR<MspasienNullableRelationFilter, mspasienWhereInput> | null
|
|
mspegawai?: XOR<MspegawaiNullableRelationFilter, mspegawaiWhereInput> | null
|
|
msruangpelayanan?: XOR<MsruangpelayananNullableRelationFilter, msruangpelayananWhereInput> | 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<MsasuransiNullableRelationFilter, msasuransiWhereInput> | null
|
|
mspasien?: XOR<MspasienNullableRelationFilter, mspasienWhereInput> | null
|
|
mspegawai?: XOR<MspegawaiNullableRelationFilter, mspegawaiWhereInput> | null
|
|
msruangpelayanan?: XOR<MsruangpelayananNullableRelationFilter, msruangpelayananWhereInput> | 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<MspegawaiNullableRelationFilter, mspegawaiWhereInput> | null
|
|
trregistrasi?: XOR<TrregistrasiNullableRelationFilter, trregistrasiWhereInput> | null
|
|
mstindakan?: XOR<MstindakanNullableRelationFilter, mstindakanWhereInput> | 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<MspegawaiNullableRelationFilter, mspegawaiWhereInput> | null
|
|
trregistrasi?: XOR<TrregistrasiNullableRelationFilter, trregistrasiWhereInput> | null
|
|
mstindakan?: XOR<MstindakanNullableRelationFilter, mstindakanWhereInput> | 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> | trregistrasiCreateWithoutMsasuransiInput[] | trregistrasiUncheckedCreateWithoutMsasuransiInput[]
|
|
connectOrCreate?: trregistrasiCreateOrConnectWithoutMsasuransiInput | trregistrasiCreateOrConnectWithoutMsasuransiInput[]
|
|
createMany?: trregistrasiCreateManyMsasuransiInputEnvelope
|
|
connect?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[]
|
|
}
|
|
|
|
export type trregistrasiUncheckedCreateNestedManyWithoutMsasuransiInput = {
|
|
create?: XOR<trregistrasiCreateWithoutMsasuransiInput, trregistrasiUncheckedCreateWithoutMsasuransiInput> | 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> | 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> | 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> | trregistrasiCreateWithoutMspasienInput[] | trregistrasiUncheckedCreateWithoutMspasienInput[]
|
|
connectOrCreate?: trregistrasiCreateOrConnectWithoutMspasienInput | trregistrasiCreateOrConnectWithoutMspasienInput[]
|
|
createMany?: trregistrasiCreateManyMspasienInputEnvelope
|
|
connect?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[]
|
|
}
|
|
|
|
export type trregistrasiUncheckedCreateNestedManyWithoutMspasienInput = {
|
|
create?: XOR<trregistrasiCreateWithoutMspasienInput, trregistrasiUncheckedCreateWithoutMspasienInput> | trregistrasiCreateWithoutMspasienInput[] | trregistrasiUncheckedCreateWithoutMspasienInput[]
|
|
connectOrCreate?: trregistrasiCreateOrConnectWithoutMspasienInput | trregistrasiCreateOrConnectWithoutMspasienInput[]
|
|
createMany?: trregistrasiCreateManyMspasienInputEnvelope
|
|
connect?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[]
|
|
}
|
|
|
|
export type trregistrasiUpdateManyWithoutMspasienNestedInput = {
|
|
create?: XOR<trregistrasiCreateWithoutMspasienInput, trregistrasiUncheckedCreateWithoutMspasienInput> | 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> | 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> | trregistrasiCreateWithoutMspegawaiInput[] | trregistrasiUncheckedCreateWithoutMspegawaiInput[]
|
|
connectOrCreate?: trregistrasiCreateOrConnectWithoutMspegawaiInput | trregistrasiCreateOrConnectWithoutMspegawaiInput[]
|
|
createMany?: trregistrasiCreateManyMspegawaiInputEnvelope
|
|
connect?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[]
|
|
}
|
|
|
|
export type trtransaksiCreateNestedManyWithoutMspegawaiInput = {
|
|
create?: XOR<trtransaksiCreateWithoutMspegawaiInput, trtransaksiUncheckedCreateWithoutMspegawaiInput> | trtransaksiCreateWithoutMspegawaiInput[] | trtransaksiUncheckedCreateWithoutMspegawaiInput[]
|
|
connectOrCreate?: trtransaksiCreateOrConnectWithoutMspegawaiInput | trtransaksiCreateOrConnectWithoutMspegawaiInput[]
|
|
createMany?: trtransaksiCreateManyMspegawaiInputEnvelope
|
|
connect?: trtransaksiWhereUniqueInput | trtransaksiWhereUniqueInput[]
|
|
}
|
|
|
|
export type trregistrasiUncheckedCreateNestedManyWithoutMspegawaiInput = {
|
|
create?: XOR<trregistrasiCreateWithoutMspegawaiInput, trregistrasiUncheckedCreateWithoutMspegawaiInput> | trregistrasiCreateWithoutMspegawaiInput[] | trregistrasiUncheckedCreateWithoutMspegawaiInput[]
|
|
connectOrCreate?: trregistrasiCreateOrConnectWithoutMspegawaiInput | trregistrasiCreateOrConnectWithoutMspegawaiInput[]
|
|
createMany?: trregistrasiCreateManyMspegawaiInputEnvelope
|
|
connect?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[]
|
|
}
|
|
|
|
export type trtransaksiUncheckedCreateNestedManyWithoutMspegawaiInput = {
|
|
create?: XOR<trtransaksiCreateWithoutMspegawaiInput, trtransaksiUncheckedCreateWithoutMspegawaiInput> | trtransaksiCreateWithoutMspegawaiInput[] | trtransaksiUncheckedCreateWithoutMspegawaiInput[]
|
|
connectOrCreate?: trtransaksiCreateOrConnectWithoutMspegawaiInput | trtransaksiCreateOrConnectWithoutMspegawaiInput[]
|
|
createMany?: trtransaksiCreateManyMspegawaiInputEnvelope
|
|
connect?: trtransaksiWhereUniqueInput | trtransaksiWhereUniqueInput[]
|
|
}
|
|
|
|
export type trregistrasiUpdateManyWithoutMspegawaiNestedInput = {
|
|
create?: XOR<trregistrasiCreateWithoutMspegawaiInput, trregistrasiUncheckedCreateWithoutMspegawaiInput> | 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> | 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> | 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> | 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> | trregistrasiCreateWithoutMsruangpelayananInput[] | trregistrasiUncheckedCreateWithoutMsruangpelayananInput[]
|
|
connectOrCreate?: trregistrasiCreateOrConnectWithoutMsruangpelayananInput | trregistrasiCreateOrConnectWithoutMsruangpelayananInput[]
|
|
createMany?: trregistrasiCreateManyMsruangpelayananInputEnvelope
|
|
connect?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[]
|
|
}
|
|
|
|
export type trregistrasiUncheckedCreateNestedManyWithoutMsruangpelayananInput = {
|
|
create?: XOR<trregistrasiCreateWithoutMsruangpelayananInput, trregistrasiUncheckedCreateWithoutMsruangpelayananInput> | trregistrasiCreateWithoutMsruangpelayananInput[] | trregistrasiUncheckedCreateWithoutMsruangpelayananInput[]
|
|
connectOrCreate?: trregistrasiCreateOrConnectWithoutMsruangpelayananInput | trregistrasiCreateOrConnectWithoutMsruangpelayananInput[]
|
|
createMany?: trregistrasiCreateManyMsruangpelayananInputEnvelope
|
|
connect?: trregistrasiWhereUniqueInput | trregistrasiWhereUniqueInput[]
|
|
}
|
|
|
|
export type trregistrasiUpdateManyWithoutMsruangpelayananNestedInput = {
|
|
create?: XOR<trregistrasiCreateWithoutMsruangpelayananInput, trregistrasiUncheckedCreateWithoutMsruangpelayananInput> | 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> | 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> | trtransaksiCreateWithoutMstindakanInput[] | trtransaksiUncheckedCreateWithoutMstindakanInput[]
|
|
connectOrCreate?: trtransaksiCreateOrConnectWithoutMstindakanInput | trtransaksiCreateOrConnectWithoutMstindakanInput[]
|
|
createMany?: trtransaksiCreateManyMstindakanInputEnvelope
|
|
connect?: trtransaksiWhereUniqueInput | trtransaksiWhereUniqueInput[]
|
|
}
|
|
|
|
export type trtransaksiUncheckedCreateNestedManyWithoutMstindakanInput = {
|
|
create?: XOR<trtransaksiCreateWithoutMstindakanInput, trtransaksiUncheckedCreateWithoutMstindakanInput> | 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> | 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> | 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<msasuransiCreateWithoutTrregistrasiInput, msasuransiUncheckedCreateWithoutTrregistrasiInput>
|
|
connectOrCreate?: msasuransiCreateOrConnectWithoutTrregistrasiInput
|
|
connect?: msasuransiWhereUniqueInput
|
|
}
|
|
|
|
export type mspasienCreateNestedOneWithoutTrregistrasiInput = {
|
|
create?: XOR<mspasienCreateWithoutTrregistrasiInput, mspasienUncheckedCreateWithoutTrregistrasiInput>
|
|
connectOrCreate?: mspasienCreateOrConnectWithoutTrregistrasiInput
|
|
connect?: mspasienWhereUniqueInput
|
|
}
|
|
|
|
export type mspegawaiCreateNestedOneWithoutTrregistrasiInput = {
|
|
create?: XOR<mspegawaiCreateWithoutTrregistrasiInput, mspegawaiUncheckedCreateWithoutTrregistrasiInput>
|
|
connectOrCreate?: mspegawaiCreateOrConnectWithoutTrregistrasiInput
|
|
connect?: mspegawaiWhereUniqueInput
|
|
}
|
|
|
|
export type msruangpelayananCreateNestedOneWithoutTrregistrasiInput = {
|
|
create?: XOR<msruangpelayananCreateWithoutTrregistrasiInput, msruangpelayananUncheckedCreateWithoutTrregistrasiInput>
|
|
connectOrCreate?: msruangpelayananCreateOrConnectWithoutTrregistrasiInput
|
|
connect?: msruangpelayananWhereUniqueInput
|
|
}
|
|
|
|
export type trtransaksiCreateNestedManyWithoutTrregistrasiInput = {
|
|
create?: XOR<trtransaksiCreateWithoutTrregistrasiInput, trtransaksiUncheckedCreateWithoutTrregistrasiInput> | trtransaksiCreateWithoutTrregistrasiInput[] | trtransaksiUncheckedCreateWithoutTrregistrasiInput[]
|
|
connectOrCreate?: trtransaksiCreateOrConnectWithoutTrregistrasiInput | trtransaksiCreateOrConnectWithoutTrregistrasiInput[]
|
|
createMany?: trtransaksiCreateManyTrregistrasiInputEnvelope
|
|
connect?: trtransaksiWhereUniqueInput | trtransaksiWhereUniqueInput[]
|
|
}
|
|
|
|
export type trtransaksiUncheckedCreateNestedManyWithoutTrregistrasiInput = {
|
|
create?: XOR<trtransaksiCreateWithoutTrregistrasiInput, trtransaksiUncheckedCreateWithoutTrregistrasiInput> | trtransaksiCreateWithoutTrregistrasiInput[] | trtransaksiUncheckedCreateWithoutTrregistrasiInput[]
|
|
connectOrCreate?: trtransaksiCreateOrConnectWithoutTrregistrasiInput | trtransaksiCreateOrConnectWithoutTrregistrasiInput[]
|
|
createMany?: trtransaksiCreateManyTrregistrasiInputEnvelope
|
|
connect?: trtransaksiWhereUniqueInput | trtransaksiWhereUniqueInput[]
|
|
}
|
|
|
|
export type msasuransiUpdateOneWithoutTrregistrasiNestedInput = {
|
|
create?: XOR<msasuransiCreateWithoutTrregistrasiInput, msasuransiUncheckedCreateWithoutTrregistrasiInput>
|
|
connectOrCreate?: msasuransiCreateOrConnectWithoutTrregistrasiInput
|
|
upsert?: msasuransiUpsertWithoutTrregistrasiInput
|
|
disconnect?: msasuransiWhereInput | boolean
|
|
delete?: msasuransiWhereInput | boolean
|
|
connect?: msasuransiWhereUniqueInput
|
|
update?: XOR<XOR<msasuransiUpdateToOneWithWhereWithoutTrregistrasiInput, msasuransiUpdateWithoutTrregistrasiInput>, msasuransiUncheckedUpdateWithoutTrregistrasiInput>
|
|
}
|
|
|
|
export type mspasienUpdateOneWithoutTrregistrasiNestedInput = {
|
|
create?: XOR<mspasienCreateWithoutTrregistrasiInput, mspasienUncheckedCreateWithoutTrregistrasiInput>
|
|
connectOrCreate?: mspasienCreateOrConnectWithoutTrregistrasiInput
|
|
upsert?: mspasienUpsertWithoutTrregistrasiInput
|
|
disconnect?: mspasienWhereInput | boolean
|
|
delete?: mspasienWhereInput | boolean
|
|
connect?: mspasienWhereUniqueInput
|
|
update?: XOR<XOR<mspasienUpdateToOneWithWhereWithoutTrregistrasiInput, mspasienUpdateWithoutTrregistrasiInput>, mspasienUncheckedUpdateWithoutTrregistrasiInput>
|
|
}
|
|
|
|
export type mspegawaiUpdateOneWithoutTrregistrasiNestedInput = {
|
|
create?: XOR<mspegawaiCreateWithoutTrregistrasiInput, mspegawaiUncheckedCreateWithoutTrregistrasiInput>
|
|
connectOrCreate?: mspegawaiCreateOrConnectWithoutTrregistrasiInput
|
|
upsert?: mspegawaiUpsertWithoutTrregistrasiInput
|
|
disconnect?: mspegawaiWhereInput | boolean
|
|
delete?: mspegawaiWhereInput | boolean
|
|
connect?: mspegawaiWhereUniqueInput
|
|
update?: XOR<XOR<mspegawaiUpdateToOneWithWhereWithoutTrregistrasiInput, mspegawaiUpdateWithoutTrregistrasiInput>, mspegawaiUncheckedUpdateWithoutTrregistrasiInput>
|
|
}
|
|
|
|
export type msruangpelayananUpdateOneWithoutTrregistrasiNestedInput = {
|
|
create?: XOR<msruangpelayananCreateWithoutTrregistrasiInput, msruangpelayananUncheckedCreateWithoutTrregistrasiInput>
|
|
connectOrCreate?: msruangpelayananCreateOrConnectWithoutTrregistrasiInput
|
|
upsert?: msruangpelayananUpsertWithoutTrregistrasiInput
|
|
disconnect?: msruangpelayananWhereInput | boolean
|
|
delete?: msruangpelayananWhereInput | boolean
|
|
connect?: msruangpelayananWhereUniqueInput
|
|
update?: XOR<XOR<msruangpelayananUpdateToOneWithWhereWithoutTrregistrasiInput, msruangpelayananUpdateWithoutTrregistrasiInput>, msruangpelayananUncheckedUpdateWithoutTrregistrasiInput>
|
|
}
|
|
|
|
export type trtransaksiUpdateManyWithoutTrregistrasiNestedInput = {
|
|
create?: XOR<trtransaksiCreateWithoutTrregistrasiInput, trtransaksiUncheckedCreateWithoutTrregistrasiInput> | 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> | 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<mspegawaiCreateWithoutTrtransaksiInput, mspegawaiUncheckedCreateWithoutTrtransaksiInput>
|
|
connectOrCreate?: mspegawaiCreateOrConnectWithoutTrtransaksiInput
|
|
connect?: mspegawaiWhereUniqueInput
|
|
}
|
|
|
|
export type trregistrasiCreateNestedOneWithoutTrtransaksiInput = {
|
|
create?: XOR<trregistrasiCreateWithoutTrtransaksiInput, trregistrasiUncheckedCreateWithoutTrtransaksiInput>
|
|
connectOrCreate?: trregistrasiCreateOrConnectWithoutTrtransaksiInput
|
|
connect?: trregistrasiWhereUniqueInput
|
|
}
|
|
|
|
export type mstindakanCreateNestedOneWithoutTrtransaksiInput = {
|
|
create?: XOR<mstindakanCreateWithoutTrtransaksiInput, mstindakanUncheckedCreateWithoutTrtransaksiInput>
|
|
connectOrCreate?: mstindakanCreateOrConnectWithoutTrtransaksiInput
|
|
connect?: mstindakanWhereUniqueInput
|
|
}
|
|
|
|
export type mspegawaiUpdateOneWithoutTrtransaksiNestedInput = {
|
|
create?: XOR<mspegawaiCreateWithoutTrtransaksiInput, mspegawaiUncheckedCreateWithoutTrtransaksiInput>
|
|
connectOrCreate?: mspegawaiCreateOrConnectWithoutTrtransaksiInput
|
|
upsert?: mspegawaiUpsertWithoutTrtransaksiInput
|
|
disconnect?: mspegawaiWhereInput | boolean
|
|
delete?: mspegawaiWhereInput | boolean
|
|
connect?: mspegawaiWhereUniqueInput
|
|
update?: XOR<XOR<mspegawaiUpdateToOneWithWhereWithoutTrtransaksiInput, mspegawaiUpdateWithoutTrtransaksiInput>, mspegawaiUncheckedUpdateWithoutTrtransaksiInput>
|
|
}
|
|
|
|
export type trregistrasiUpdateOneWithoutTrtransaksiNestedInput = {
|
|
create?: XOR<trregistrasiCreateWithoutTrtransaksiInput, trregistrasiUncheckedCreateWithoutTrtransaksiInput>
|
|
connectOrCreate?: trregistrasiCreateOrConnectWithoutTrtransaksiInput
|
|
upsert?: trregistrasiUpsertWithoutTrtransaksiInput
|
|
disconnect?: trregistrasiWhereInput | boolean
|
|
delete?: trregistrasiWhereInput | boolean
|
|
connect?: trregistrasiWhereUniqueInput
|
|
update?: XOR<XOR<trregistrasiUpdateToOneWithWhereWithoutTrtransaksiInput, trregistrasiUpdateWithoutTrtransaksiInput>, trregistrasiUncheckedUpdateWithoutTrtransaksiInput>
|
|
}
|
|
|
|
export type mstindakanUpdateOneWithoutTrtransaksiNestedInput = {
|
|
create?: XOR<mstindakanCreateWithoutTrtransaksiInput, mstindakanUncheckedCreateWithoutTrtransaksiInput>
|
|
connectOrCreate?: mstindakanCreateOrConnectWithoutTrtransaksiInput
|
|
upsert?: mstindakanUpsertWithoutTrtransaksiInput
|
|
disconnect?: mstindakanWhereInput | boolean
|
|
delete?: mstindakanWhereInput | boolean
|
|
connect?: mstindakanWhereUniqueInput
|
|
update?: XOR<XOR<mstindakanUpdateToOneWithWhereWithoutTrtransaksiInput, mstindakanUpdateWithoutTrtransaksiInput>, 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<trregistrasiCreateWithoutMsasuransiInput, trregistrasiUncheckedCreateWithoutMsasuransiInput>
|
|
}
|
|
|
|
export type trregistrasiCreateManyMsasuransiInputEnvelope = {
|
|
data: trregistrasiCreateManyMsasuransiInput | trregistrasiCreateManyMsasuransiInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type trregistrasiUpsertWithWhereUniqueWithoutMsasuransiInput = {
|
|
where: trregistrasiWhereUniqueInput
|
|
update: XOR<trregistrasiUpdateWithoutMsasuransiInput, trregistrasiUncheckedUpdateWithoutMsasuransiInput>
|
|
create: XOR<trregistrasiCreateWithoutMsasuransiInput, trregistrasiUncheckedCreateWithoutMsasuransiInput>
|
|
}
|
|
|
|
export type trregistrasiUpdateWithWhereUniqueWithoutMsasuransiInput = {
|
|
where: trregistrasiWhereUniqueInput
|
|
data: XOR<trregistrasiUpdateWithoutMsasuransiInput, trregistrasiUncheckedUpdateWithoutMsasuransiInput>
|
|
}
|
|
|
|
export type trregistrasiUpdateManyWithWhereWithoutMsasuransiInput = {
|
|
where: trregistrasiScalarWhereInput
|
|
data: XOR<trregistrasiUpdateManyMutationInput, trregistrasiUncheckedUpdateManyWithoutMsasuransiInput>
|
|
}
|
|
|
|
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<trregistrasiCreateWithoutMspasienInput, trregistrasiUncheckedCreateWithoutMspasienInput>
|
|
}
|
|
|
|
export type trregistrasiCreateManyMspasienInputEnvelope = {
|
|
data: trregistrasiCreateManyMspasienInput | trregistrasiCreateManyMspasienInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type trregistrasiUpsertWithWhereUniqueWithoutMspasienInput = {
|
|
where: trregistrasiWhereUniqueInput
|
|
update: XOR<trregistrasiUpdateWithoutMspasienInput, trregistrasiUncheckedUpdateWithoutMspasienInput>
|
|
create: XOR<trregistrasiCreateWithoutMspasienInput, trregistrasiUncheckedCreateWithoutMspasienInput>
|
|
}
|
|
|
|
export type trregistrasiUpdateWithWhereUniqueWithoutMspasienInput = {
|
|
where: trregistrasiWhereUniqueInput
|
|
data: XOR<trregistrasiUpdateWithoutMspasienInput, trregistrasiUncheckedUpdateWithoutMspasienInput>
|
|
}
|
|
|
|
export type trregistrasiUpdateManyWithWhereWithoutMspasienInput = {
|
|
where: trregistrasiScalarWhereInput
|
|
data: XOR<trregistrasiUpdateManyMutationInput, trregistrasiUncheckedUpdateManyWithoutMspasienInput>
|
|
}
|
|
|
|
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<trregistrasiCreateWithoutMspegawaiInput, trregistrasiUncheckedCreateWithoutMspegawaiInput>
|
|
}
|
|
|
|
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<trtransaksiCreateWithoutMspegawaiInput, trtransaksiUncheckedCreateWithoutMspegawaiInput>
|
|
}
|
|
|
|
export type trtransaksiCreateManyMspegawaiInputEnvelope = {
|
|
data: trtransaksiCreateManyMspegawaiInput | trtransaksiCreateManyMspegawaiInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type trregistrasiUpsertWithWhereUniqueWithoutMspegawaiInput = {
|
|
where: trregistrasiWhereUniqueInput
|
|
update: XOR<trregistrasiUpdateWithoutMspegawaiInput, trregistrasiUncheckedUpdateWithoutMspegawaiInput>
|
|
create: XOR<trregistrasiCreateWithoutMspegawaiInput, trregistrasiUncheckedCreateWithoutMspegawaiInput>
|
|
}
|
|
|
|
export type trregistrasiUpdateWithWhereUniqueWithoutMspegawaiInput = {
|
|
where: trregistrasiWhereUniqueInput
|
|
data: XOR<trregistrasiUpdateWithoutMspegawaiInput, trregistrasiUncheckedUpdateWithoutMspegawaiInput>
|
|
}
|
|
|
|
export type trregistrasiUpdateManyWithWhereWithoutMspegawaiInput = {
|
|
where: trregistrasiScalarWhereInput
|
|
data: XOR<trregistrasiUpdateManyMutationInput, trregistrasiUncheckedUpdateManyWithoutMspegawaiInput>
|
|
}
|
|
|
|
export type trtransaksiUpsertWithWhereUniqueWithoutMspegawaiInput = {
|
|
where: trtransaksiWhereUniqueInput
|
|
update: XOR<trtransaksiUpdateWithoutMspegawaiInput, trtransaksiUncheckedUpdateWithoutMspegawaiInput>
|
|
create: XOR<trtransaksiCreateWithoutMspegawaiInput, trtransaksiUncheckedCreateWithoutMspegawaiInput>
|
|
}
|
|
|
|
export type trtransaksiUpdateWithWhereUniqueWithoutMspegawaiInput = {
|
|
where: trtransaksiWhereUniqueInput
|
|
data: XOR<trtransaksiUpdateWithoutMspegawaiInput, trtransaksiUncheckedUpdateWithoutMspegawaiInput>
|
|
}
|
|
|
|
export type trtransaksiUpdateManyWithWhereWithoutMspegawaiInput = {
|
|
where: trtransaksiScalarWhereInput
|
|
data: XOR<trtransaksiUpdateManyMutationInput, trtransaksiUncheckedUpdateManyWithoutMspegawaiInput>
|
|
}
|
|
|
|
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<trregistrasiCreateWithoutMsruangpelayananInput, trregistrasiUncheckedCreateWithoutMsruangpelayananInput>
|
|
}
|
|
|
|
export type trregistrasiCreateManyMsruangpelayananInputEnvelope = {
|
|
data: trregistrasiCreateManyMsruangpelayananInput | trregistrasiCreateManyMsruangpelayananInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type trregistrasiUpsertWithWhereUniqueWithoutMsruangpelayananInput = {
|
|
where: trregistrasiWhereUniqueInput
|
|
update: XOR<trregistrasiUpdateWithoutMsruangpelayananInput, trregistrasiUncheckedUpdateWithoutMsruangpelayananInput>
|
|
create: XOR<trregistrasiCreateWithoutMsruangpelayananInput, trregistrasiUncheckedCreateWithoutMsruangpelayananInput>
|
|
}
|
|
|
|
export type trregistrasiUpdateWithWhereUniqueWithoutMsruangpelayananInput = {
|
|
where: trregistrasiWhereUniqueInput
|
|
data: XOR<trregistrasiUpdateWithoutMsruangpelayananInput, trregistrasiUncheckedUpdateWithoutMsruangpelayananInput>
|
|
}
|
|
|
|
export type trregistrasiUpdateManyWithWhereWithoutMsruangpelayananInput = {
|
|
where: trregistrasiScalarWhereInput
|
|
data: XOR<trregistrasiUpdateManyMutationInput, trregistrasiUncheckedUpdateManyWithoutMsruangpelayananInput>
|
|
}
|
|
|
|
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<trtransaksiCreateWithoutMstindakanInput, trtransaksiUncheckedCreateWithoutMstindakanInput>
|
|
}
|
|
|
|
export type trtransaksiCreateManyMstindakanInputEnvelope = {
|
|
data: trtransaksiCreateManyMstindakanInput | trtransaksiCreateManyMstindakanInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type trtransaksiUpsertWithWhereUniqueWithoutMstindakanInput = {
|
|
where: trtransaksiWhereUniqueInput
|
|
update: XOR<trtransaksiUpdateWithoutMstindakanInput, trtransaksiUncheckedUpdateWithoutMstindakanInput>
|
|
create: XOR<trtransaksiCreateWithoutMstindakanInput, trtransaksiUncheckedCreateWithoutMstindakanInput>
|
|
}
|
|
|
|
export type trtransaksiUpdateWithWhereUniqueWithoutMstindakanInput = {
|
|
where: trtransaksiWhereUniqueInput
|
|
data: XOR<trtransaksiUpdateWithoutMstindakanInput, trtransaksiUncheckedUpdateWithoutMstindakanInput>
|
|
}
|
|
|
|
export type trtransaksiUpdateManyWithWhereWithoutMstindakanInput = {
|
|
where: trtransaksiScalarWhereInput
|
|
data: XOR<trtransaksiUpdateManyMutationInput, trtransaksiUncheckedUpdateManyWithoutMstindakanInput>
|
|
}
|
|
|
|
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<msasuransiCreateWithoutTrregistrasiInput, msasuransiUncheckedCreateWithoutTrregistrasiInput>
|
|
}
|
|
|
|
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<mspasienCreateWithoutTrregistrasiInput, mspasienUncheckedCreateWithoutTrregistrasiInput>
|
|
}
|
|
|
|
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<mspegawaiCreateWithoutTrregistrasiInput, mspegawaiUncheckedCreateWithoutTrregistrasiInput>
|
|
}
|
|
|
|
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<msruangpelayananCreateWithoutTrregistrasiInput, msruangpelayananUncheckedCreateWithoutTrregistrasiInput>
|
|
}
|
|
|
|
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<trtransaksiCreateWithoutTrregistrasiInput, trtransaksiUncheckedCreateWithoutTrregistrasiInput>
|
|
}
|
|
|
|
export type trtransaksiCreateManyTrregistrasiInputEnvelope = {
|
|
data: trtransaksiCreateManyTrregistrasiInput | trtransaksiCreateManyTrregistrasiInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type msasuransiUpsertWithoutTrregistrasiInput = {
|
|
update: XOR<msasuransiUpdateWithoutTrregistrasiInput, msasuransiUncheckedUpdateWithoutTrregistrasiInput>
|
|
create: XOR<msasuransiCreateWithoutTrregistrasiInput, msasuransiUncheckedCreateWithoutTrregistrasiInput>
|
|
where?: msasuransiWhereInput
|
|
}
|
|
|
|
export type msasuransiUpdateToOneWithWhereWithoutTrregistrasiInput = {
|
|
where?: msasuransiWhereInput
|
|
data: XOR<msasuransiUpdateWithoutTrregistrasiInput, msasuransiUncheckedUpdateWithoutTrregistrasiInput>
|
|
}
|
|
|
|
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<mspasienUpdateWithoutTrregistrasiInput, mspasienUncheckedUpdateWithoutTrregistrasiInput>
|
|
create: XOR<mspasienCreateWithoutTrregistrasiInput, mspasienUncheckedCreateWithoutTrregistrasiInput>
|
|
where?: mspasienWhereInput
|
|
}
|
|
|
|
export type mspasienUpdateToOneWithWhereWithoutTrregistrasiInput = {
|
|
where?: mspasienWhereInput
|
|
data: XOR<mspasienUpdateWithoutTrregistrasiInput, mspasienUncheckedUpdateWithoutTrregistrasiInput>
|
|
}
|
|
|
|
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<mspegawaiUpdateWithoutTrregistrasiInput, mspegawaiUncheckedUpdateWithoutTrregistrasiInput>
|
|
create: XOR<mspegawaiCreateWithoutTrregistrasiInput, mspegawaiUncheckedCreateWithoutTrregistrasiInput>
|
|
where?: mspegawaiWhereInput
|
|
}
|
|
|
|
export type mspegawaiUpdateToOneWithWhereWithoutTrregistrasiInput = {
|
|
where?: mspegawaiWhereInput
|
|
data: XOR<mspegawaiUpdateWithoutTrregistrasiInput, mspegawaiUncheckedUpdateWithoutTrregistrasiInput>
|
|
}
|
|
|
|
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<msruangpelayananUpdateWithoutTrregistrasiInput, msruangpelayananUncheckedUpdateWithoutTrregistrasiInput>
|
|
create: XOR<msruangpelayananCreateWithoutTrregistrasiInput, msruangpelayananUncheckedCreateWithoutTrregistrasiInput>
|
|
where?: msruangpelayananWhereInput
|
|
}
|
|
|
|
export type msruangpelayananUpdateToOneWithWhereWithoutTrregistrasiInput = {
|
|
where?: msruangpelayananWhereInput
|
|
data: XOR<msruangpelayananUpdateWithoutTrregistrasiInput, msruangpelayananUncheckedUpdateWithoutTrregistrasiInput>
|
|
}
|
|
|
|
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<trtransaksiUpdateWithoutTrregistrasiInput, trtransaksiUncheckedUpdateWithoutTrregistrasiInput>
|
|
create: XOR<trtransaksiCreateWithoutTrregistrasiInput, trtransaksiUncheckedCreateWithoutTrregistrasiInput>
|
|
}
|
|
|
|
export type trtransaksiUpdateWithWhereUniqueWithoutTrregistrasiInput = {
|
|
where: trtransaksiWhereUniqueInput
|
|
data: XOR<trtransaksiUpdateWithoutTrregistrasiInput, trtransaksiUncheckedUpdateWithoutTrregistrasiInput>
|
|
}
|
|
|
|
export type trtransaksiUpdateManyWithWhereWithoutTrregistrasiInput = {
|
|
where: trtransaksiScalarWhereInput
|
|
data: XOR<trtransaksiUpdateManyMutationInput, trtransaksiUncheckedUpdateManyWithoutTrregistrasiInput>
|
|
}
|
|
|
|
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<mspegawaiCreateWithoutTrtransaksiInput, mspegawaiUncheckedCreateWithoutTrtransaksiInput>
|
|
}
|
|
|
|
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<trregistrasiCreateWithoutTrtransaksiInput, trregistrasiUncheckedCreateWithoutTrtransaksiInput>
|
|
}
|
|
|
|
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<mstindakanCreateWithoutTrtransaksiInput, mstindakanUncheckedCreateWithoutTrtransaksiInput>
|
|
}
|
|
|
|
export type mspegawaiUpsertWithoutTrtransaksiInput = {
|
|
update: XOR<mspegawaiUpdateWithoutTrtransaksiInput, mspegawaiUncheckedUpdateWithoutTrtransaksiInput>
|
|
create: XOR<mspegawaiCreateWithoutTrtransaksiInput, mspegawaiUncheckedCreateWithoutTrtransaksiInput>
|
|
where?: mspegawaiWhereInput
|
|
}
|
|
|
|
export type mspegawaiUpdateToOneWithWhereWithoutTrtransaksiInput = {
|
|
where?: mspegawaiWhereInput
|
|
data: XOR<mspegawaiUpdateWithoutTrtransaksiInput, mspegawaiUncheckedUpdateWithoutTrtransaksiInput>
|
|
}
|
|
|
|
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<trregistrasiUpdateWithoutTrtransaksiInput, trregistrasiUncheckedUpdateWithoutTrtransaksiInput>
|
|
create: XOR<trregistrasiCreateWithoutTrtransaksiInput, trregistrasiUncheckedCreateWithoutTrtransaksiInput>
|
|
where?: trregistrasiWhereInput
|
|
}
|
|
|
|
export type trregistrasiUpdateToOneWithWhereWithoutTrtransaksiInput = {
|
|
where?: trregistrasiWhereInput
|
|
data: XOR<trregistrasiUpdateWithoutTrtransaksiInput, trregistrasiUncheckedUpdateWithoutTrtransaksiInput>
|
|
}
|
|
|
|
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<mstindakanUpdateWithoutTrtransaksiInput, mstindakanUncheckedUpdateWithoutTrtransaksiInput>
|
|
create: XOR<mstindakanCreateWithoutTrtransaksiInput, mstindakanUncheckedCreateWithoutTrtransaksiInput>
|
|
where?: mstindakanWhereInput
|
|
}
|
|
|
|
export type mstindakanUpdateToOneWithWhereWithoutTrtransaksiInput = {
|
|
where?: mstindakanWhereInput
|
|
data: XOR<mstindakanUpdateWithoutTrtransaksiInput, mstindakanUncheckedUpdateWithoutTrtransaksiInput>
|
|
}
|
|
|
|
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<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = MsasuransiCountOutputTypeDefaultArgs<ExtArgs>
|
|
/**
|
|
* @deprecated Use MspasienCountOutputTypeDefaultArgs instead
|
|
*/
|
|
export type MspasienCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = MspasienCountOutputTypeDefaultArgs<ExtArgs>
|
|
/**
|
|
* @deprecated Use MspegawaiCountOutputTypeDefaultArgs instead
|
|
*/
|
|
export type MspegawaiCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = MspegawaiCountOutputTypeDefaultArgs<ExtArgs>
|
|
/**
|
|
* @deprecated Use MsruangpelayananCountOutputTypeDefaultArgs instead
|
|
*/
|
|
export type MsruangpelayananCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = MsruangpelayananCountOutputTypeDefaultArgs<ExtArgs>
|
|
/**
|
|
* @deprecated Use MstindakanCountOutputTypeDefaultArgs instead
|
|
*/
|
|
export type MstindakanCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = MstindakanCountOutputTypeDefaultArgs<ExtArgs>
|
|
/**
|
|
* @deprecated Use TrregistrasiCountOutputTypeDefaultArgs instead
|
|
*/
|
|
export type TrregistrasiCountOutputTypeArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = TrregistrasiCountOutputTypeDefaultArgs<ExtArgs>
|
|
/**
|
|
* @deprecated Use msasuransiDefaultArgs instead
|
|
*/
|
|
export type msasuransiArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = msasuransiDefaultArgs<ExtArgs>
|
|
/**
|
|
* @deprecated Use mspasienDefaultArgs instead
|
|
*/
|
|
export type mspasienArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = mspasienDefaultArgs<ExtArgs>
|
|
/**
|
|
* @deprecated Use mspegawaiDefaultArgs instead
|
|
*/
|
|
export type mspegawaiArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = mspegawaiDefaultArgs<ExtArgs>
|
|
/**
|
|
* @deprecated Use msruangpelayananDefaultArgs instead
|
|
*/
|
|
export type msruangpelayananArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = msruangpelayananDefaultArgs<ExtArgs>
|
|
/**
|
|
* @deprecated Use mstindakanDefaultArgs instead
|
|
*/
|
|
export type mstindakanArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = mstindakanDefaultArgs<ExtArgs>
|
|
/**
|
|
* @deprecated Use trregistrasiDefaultArgs instead
|
|
*/
|
|
export type trregistrasiArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = trregistrasiDefaultArgs<ExtArgs>
|
|
/**
|
|
* @deprecated Use trtransaksiDefaultArgs instead
|
|
*/
|
|
export type trtransaksiArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = trtransaksiDefaultArgs<ExtArgs>
|
|
/**
|
|
* @deprecated Use msusersDefaultArgs instead
|
|
*/
|
|
export type msusersArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = msusersDefaultArgs<ExtArgs>
|
|
|
|
/**
|
|
* Batch Payload for updateMany & deleteMany & createMany
|
|
*/
|
|
|
|
export type BatchPayload = {
|
|
count: number
|
|
}
|
|
|
|
/**
|
|
* DMMF
|
|
*/
|
|
export const dmmf: runtime.BaseDMMF
|
|
} |