initial commit
This commit is contained in:
311
packages/db/shared/schemas/results/AppointmentAggregateResult.schema.d.ts
vendored
Normal file
311
packages/db/shared/schemas/results/AppointmentAggregateResult.schema.d.ts
vendored
Normal file
@@ -0,0 +1,311 @@
|
||||
import * as z from 'zod';
|
||||
export declare const AppointmentAggregateResultSchema: z.ZodObject<{
|
||||
_count: z.ZodOptional<z.ZodObject<{
|
||||
id: z.ZodNumber;
|
||||
patientId: z.ZodNumber;
|
||||
userId: z.ZodNumber;
|
||||
staffId: z.ZodNumber;
|
||||
title: z.ZodNumber;
|
||||
date: z.ZodNumber;
|
||||
startTime: z.ZodNumber;
|
||||
endTime: z.ZodNumber;
|
||||
type: z.ZodNumber;
|
||||
notes: z.ZodNumber;
|
||||
procedureCodeNotes: z.ZodNumber;
|
||||
status: z.ZodNumber;
|
||||
createdAt: z.ZodNumber;
|
||||
eligibilityStatus: z.ZodNumber;
|
||||
patient: z.ZodNumber;
|
||||
user: z.ZodNumber;
|
||||
staff: z.ZodNumber;
|
||||
procedures: z.ZodNumber;
|
||||
claims: z.ZodNumber;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
type: number;
|
||||
status: number;
|
||||
createdAt: number;
|
||||
id: number;
|
||||
userId: number;
|
||||
user: number;
|
||||
date: number;
|
||||
title: number;
|
||||
patientId: number;
|
||||
patient: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
notes: number;
|
||||
procedureCodeNotes: number;
|
||||
eligibilityStatus: number;
|
||||
staff: number;
|
||||
procedures: number;
|
||||
staffId: number;
|
||||
claims: number;
|
||||
}, {
|
||||
type: number;
|
||||
status: number;
|
||||
createdAt: number;
|
||||
id: number;
|
||||
userId: number;
|
||||
user: number;
|
||||
date: number;
|
||||
title: number;
|
||||
patientId: number;
|
||||
patient: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
notes: number;
|
||||
procedureCodeNotes: number;
|
||||
eligibilityStatus: number;
|
||||
staff: number;
|
||||
procedures: number;
|
||||
staffId: number;
|
||||
claims: number;
|
||||
}>>;
|
||||
_sum: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
||||
id: z.ZodNullable<z.ZodNumber>;
|
||||
patientId: z.ZodNullable<z.ZodNumber>;
|
||||
userId: z.ZodNullable<z.ZodNumber>;
|
||||
staffId: z.ZodNullable<z.ZodNumber>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
id: number | null;
|
||||
userId: number | null;
|
||||
patientId: number | null;
|
||||
staffId: number | null;
|
||||
}, {
|
||||
id: number | null;
|
||||
userId: number | null;
|
||||
patientId: number | null;
|
||||
staffId: number | null;
|
||||
}>>>;
|
||||
_avg: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
||||
id: z.ZodNullable<z.ZodNumber>;
|
||||
patientId: z.ZodNullable<z.ZodNumber>;
|
||||
userId: z.ZodNullable<z.ZodNumber>;
|
||||
staffId: z.ZodNullable<z.ZodNumber>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
id: number | null;
|
||||
userId: number | null;
|
||||
patientId: number | null;
|
||||
staffId: number | null;
|
||||
}, {
|
||||
id: number | null;
|
||||
userId: number | null;
|
||||
patientId: number | null;
|
||||
staffId: number | null;
|
||||
}>>>;
|
||||
_min: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
||||
id: z.ZodNullable<z.ZodNumber>;
|
||||
patientId: z.ZodNullable<z.ZodNumber>;
|
||||
userId: z.ZodNullable<z.ZodNumber>;
|
||||
staffId: z.ZodNullable<z.ZodNumber>;
|
||||
title: z.ZodNullable<z.ZodString>;
|
||||
date: z.ZodNullable<z.ZodDate>;
|
||||
startTime: z.ZodNullable<z.ZodString>;
|
||||
endTime: z.ZodNullable<z.ZodString>;
|
||||
type: z.ZodNullable<z.ZodString>;
|
||||
notes: z.ZodNullable<z.ZodString>;
|
||||
procedureCodeNotes: z.ZodNullable<z.ZodString>;
|
||||
status: z.ZodNullable<z.ZodString>;
|
||||
createdAt: z.ZodNullable<z.ZodDate>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
type: string | null;
|
||||
status: string | null;
|
||||
createdAt: Date | null;
|
||||
id: number | null;
|
||||
userId: number | null;
|
||||
date: Date | null;
|
||||
title: string | null;
|
||||
patientId: number | null;
|
||||
startTime: string | null;
|
||||
endTime: string | null;
|
||||
notes: string | null;
|
||||
procedureCodeNotes: string | null;
|
||||
staffId: number | null;
|
||||
}, {
|
||||
type: string | null;
|
||||
status: string | null;
|
||||
createdAt: Date | null;
|
||||
id: number | null;
|
||||
userId: number | null;
|
||||
date: Date | null;
|
||||
title: string | null;
|
||||
patientId: number | null;
|
||||
startTime: string | null;
|
||||
endTime: string | null;
|
||||
notes: string | null;
|
||||
procedureCodeNotes: string | null;
|
||||
staffId: number | null;
|
||||
}>>>;
|
||||
_max: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
||||
id: z.ZodNullable<z.ZodNumber>;
|
||||
patientId: z.ZodNullable<z.ZodNumber>;
|
||||
userId: z.ZodNullable<z.ZodNumber>;
|
||||
staffId: z.ZodNullable<z.ZodNumber>;
|
||||
title: z.ZodNullable<z.ZodString>;
|
||||
date: z.ZodNullable<z.ZodDate>;
|
||||
startTime: z.ZodNullable<z.ZodString>;
|
||||
endTime: z.ZodNullable<z.ZodString>;
|
||||
type: z.ZodNullable<z.ZodString>;
|
||||
notes: z.ZodNullable<z.ZodString>;
|
||||
procedureCodeNotes: z.ZodNullable<z.ZodString>;
|
||||
status: z.ZodNullable<z.ZodString>;
|
||||
createdAt: z.ZodNullable<z.ZodDate>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
type: string | null;
|
||||
status: string | null;
|
||||
createdAt: Date | null;
|
||||
id: number | null;
|
||||
userId: number | null;
|
||||
date: Date | null;
|
||||
title: string | null;
|
||||
patientId: number | null;
|
||||
startTime: string | null;
|
||||
endTime: string | null;
|
||||
notes: string | null;
|
||||
procedureCodeNotes: string | null;
|
||||
staffId: number | null;
|
||||
}, {
|
||||
type: string | null;
|
||||
status: string | null;
|
||||
createdAt: Date | null;
|
||||
id: number | null;
|
||||
userId: number | null;
|
||||
date: Date | null;
|
||||
title: string | null;
|
||||
patientId: number | null;
|
||||
startTime: string | null;
|
||||
endTime: string | null;
|
||||
notes: string | null;
|
||||
procedureCodeNotes: string | null;
|
||||
staffId: number | null;
|
||||
}>>>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
_count?: {
|
||||
type: number;
|
||||
status: number;
|
||||
createdAt: number;
|
||||
id: number;
|
||||
userId: number;
|
||||
user: number;
|
||||
date: number;
|
||||
title: number;
|
||||
patientId: number;
|
||||
patient: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
notes: number;
|
||||
procedureCodeNotes: number;
|
||||
eligibilityStatus: number;
|
||||
staff: number;
|
||||
procedures: number;
|
||||
staffId: number;
|
||||
claims: number;
|
||||
} | undefined;
|
||||
_min?: {
|
||||
type: string | null;
|
||||
status: string | null;
|
||||
createdAt: Date | null;
|
||||
id: number | null;
|
||||
userId: number | null;
|
||||
date: Date | null;
|
||||
title: string | null;
|
||||
patientId: number | null;
|
||||
startTime: string | null;
|
||||
endTime: string | null;
|
||||
notes: string | null;
|
||||
procedureCodeNotes: string | null;
|
||||
staffId: number | null;
|
||||
} | null | undefined;
|
||||
_max?: {
|
||||
type: string | null;
|
||||
status: string | null;
|
||||
createdAt: Date | null;
|
||||
id: number | null;
|
||||
userId: number | null;
|
||||
date: Date | null;
|
||||
title: string | null;
|
||||
patientId: number | null;
|
||||
startTime: string | null;
|
||||
endTime: string | null;
|
||||
notes: string | null;
|
||||
procedureCodeNotes: string | null;
|
||||
staffId: number | null;
|
||||
} | null | undefined;
|
||||
_avg?: {
|
||||
id: number | null;
|
||||
userId: number | null;
|
||||
patientId: number | null;
|
||||
staffId: number | null;
|
||||
} | null | undefined;
|
||||
_sum?: {
|
||||
id: number | null;
|
||||
userId: number | null;
|
||||
patientId: number | null;
|
||||
staffId: number | null;
|
||||
} | null | undefined;
|
||||
}, {
|
||||
_count?: {
|
||||
type: number;
|
||||
status: number;
|
||||
createdAt: number;
|
||||
id: number;
|
||||
userId: number;
|
||||
user: number;
|
||||
date: number;
|
||||
title: number;
|
||||
patientId: number;
|
||||
patient: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
notes: number;
|
||||
procedureCodeNotes: number;
|
||||
eligibilityStatus: number;
|
||||
staff: number;
|
||||
procedures: number;
|
||||
staffId: number;
|
||||
claims: number;
|
||||
} | undefined;
|
||||
_min?: {
|
||||
type: string | null;
|
||||
status: string | null;
|
||||
createdAt: Date | null;
|
||||
id: number | null;
|
||||
userId: number | null;
|
||||
date: Date | null;
|
||||
title: string | null;
|
||||
patientId: number | null;
|
||||
startTime: string | null;
|
||||
endTime: string | null;
|
||||
notes: string | null;
|
||||
procedureCodeNotes: string | null;
|
||||
staffId: number | null;
|
||||
} | null | undefined;
|
||||
_max?: {
|
||||
type: string | null;
|
||||
status: string | null;
|
||||
createdAt: Date | null;
|
||||
id: number | null;
|
||||
userId: number | null;
|
||||
date: Date | null;
|
||||
title: string | null;
|
||||
patientId: number | null;
|
||||
startTime: string | null;
|
||||
endTime: string | null;
|
||||
notes: string | null;
|
||||
procedureCodeNotes: string | null;
|
||||
staffId: number | null;
|
||||
} | null | undefined;
|
||||
_avg?: {
|
||||
id: number | null;
|
||||
userId: number | null;
|
||||
patientId: number | null;
|
||||
staffId: number | null;
|
||||
} | null | undefined;
|
||||
_sum?: {
|
||||
id: number | null;
|
||||
userId: number | null;
|
||||
patientId: number | null;
|
||||
staffId: number | null;
|
||||
} | null | undefined;
|
||||
}>;
|
||||
//# sourceMappingURL=AppointmentAggregateResult.schema.d.ts.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AppointmentAggregateResult.schema.d.ts","sourceRoot":"","sources":["AppointmentAggregateResult.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8DjB,CAAC"}
|
||||
@@ -0,0 +1,100 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AppointmentAggregateResultSchema = void 0;
|
||||
const z = __importStar(require("zod"));
|
||||
exports.AppointmentAggregateResultSchema = z.object({ _count: z.object({
|
||||
id: z.number(),
|
||||
patientId: z.number(),
|
||||
userId: z.number(),
|
||||
staffId: z.number(),
|
||||
title: z.number(),
|
||||
date: z.number(),
|
||||
startTime: z.number(),
|
||||
endTime: z.number(),
|
||||
type: z.number(),
|
||||
notes: z.number(),
|
||||
procedureCodeNotes: z.number(),
|
||||
status: z.number(),
|
||||
createdAt: z.number(),
|
||||
eligibilityStatus: z.number(),
|
||||
patient: z.number(),
|
||||
user: z.number(),
|
||||
staff: z.number(),
|
||||
procedures: z.number(),
|
||||
claims: z.number()
|
||||
}).optional(),
|
||||
_sum: z.object({
|
||||
id: z.number().nullable(),
|
||||
patientId: z.number().nullable(),
|
||||
userId: z.number().nullable(),
|
||||
staffId: z.number().nullable()
|
||||
}).nullable().optional(),
|
||||
_avg: z.object({
|
||||
id: z.number().nullable(),
|
||||
patientId: z.number().nullable(),
|
||||
userId: z.number().nullable(),
|
||||
staffId: z.number().nullable()
|
||||
}).nullable().optional(),
|
||||
_min: z.object({
|
||||
id: z.number().int().nullable(),
|
||||
patientId: z.number().int().nullable(),
|
||||
userId: z.number().int().nullable(),
|
||||
staffId: z.number().int().nullable(),
|
||||
title: z.string().nullable(),
|
||||
date: z.date().nullable(),
|
||||
startTime: z.string().nullable(),
|
||||
endTime: z.string().nullable(),
|
||||
type: z.string().nullable(),
|
||||
notes: z.string().nullable(),
|
||||
procedureCodeNotes: z.string().nullable(),
|
||||
status: z.string().nullable(),
|
||||
createdAt: z.date().nullable()
|
||||
}).nullable().optional(),
|
||||
_max: z.object({
|
||||
id: z.number().int().nullable(),
|
||||
patientId: z.number().int().nullable(),
|
||||
userId: z.number().int().nullable(),
|
||||
staffId: z.number().int().nullable(),
|
||||
title: z.string().nullable(),
|
||||
date: z.date().nullable(),
|
||||
startTime: z.string().nullable(),
|
||||
endTime: z.string().nullable(),
|
||||
type: z.string().nullable(),
|
||||
notes: z.string().nullable(),
|
||||
procedureCodeNotes: z.string().nullable(),
|
||||
status: z.string().nullable(),
|
||||
createdAt: z.date().nullable()
|
||||
}).nullable().optional() });
|
||||
@@ -0,0 +1,64 @@
|
||||
import * as z from 'zod';
|
||||
export const AppointmentAggregateResultSchema = z.object({ _count: z.object({
|
||||
id: z.number(),
|
||||
patientId: z.number(),
|
||||
userId: z.number(),
|
||||
staffId: z.number(),
|
||||
title: z.number(),
|
||||
date: z.number(),
|
||||
startTime: z.number(),
|
||||
endTime: z.number(),
|
||||
type: z.number(),
|
||||
notes: z.number(),
|
||||
procedureCodeNotes: z.number(),
|
||||
status: z.number(),
|
||||
createdAt: z.number(),
|
||||
eligibilityStatus: z.number(),
|
||||
patient: z.number(),
|
||||
user: z.number(),
|
||||
staff: z.number(),
|
||||
procedures: z.number(),
|
||||
claims: z.number()
|
||||
}).optional(),
|
||||
_sum: z.object({
|
||||
id: z.number().nullable(),
|
||||
patientId: z.number().nullable(),
|
||||
userId: z.number().nullable(),
|
||||
staffId: z.number().nullable()
|
||||
}).nullable().optional(),
|
||||
_avg: z.object({
|
||||
id: z.number().nullable(),
|
||||
patientId: z.number().nullable(),
|
||||
userId: z.number().nullable(),
|
||||
staffId: z.number().nullable()
|
||||
}).nullable().optional(),
|
||||
_min: z.object({
|
||||
id: z.number().int().nullable(),
|
||||
patientId: z.number().int().nullable(),
|
||||
userId: z.number().int().nullable(),
|
||||
staffId: z.number().int().nullable(),
|
||||
title: z.string().nullable(),
|
||||
date: z.date().nullable(),
|
||||
startTime: z.string().nullable(),
|
||||
endTime: z.string().nullable(),
|
||||
type: z.string().nullable(),
|
||||
notes: z.string().nullable(),
|
||||
procedureCodeNotes: z.string().nullable(),
|
||||
status: z.string().nullable(),
|
||||
createdAt: z.date().nullable()
|
||||
}).nullable().optional(),
|
||||
_max: z.object({
|
||||
id: z.number().int().nullable(),
|
||||
patientId: z.number().int().nullable(),
|
||||
userId: z.number().int().nullable(),
|
||||
staffId: z.number().int().nullable(),
|
||||
title: z.string().nullable(),
|
||||
date: z.date().nullable(),
|
||||
startTime: z.string().nullable(),
|
||||
endTime: z.string().nullable(),
|
||||
type: z.string().nullable(),
|
||||
notes: z.string().nullable(),
|
||||
procedureCodeNotes: z.string().nullable(),
|
||||
status: z.string().nullable(),
|
||||
createdAt: z.date().nullable()
|
||||
}).nullable().optional()});
|
||||
3
packages/db/shared/schemas/results/AppointmentCountResult.schema.d.ts
vendored
Normal file
3
packages/db/shared/schemas/results/AppointmentCountResult.schema.d.ts
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
import * as z from 'zod';
|
||||
export declare const AppointmentCountResultSchema: z.ZodNumber;
|
||||
//# sourceMappingURL=AppointmentCountResult.schema.d.ts.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AppointmentCountResult.schema.d.ts","sourceRoot":"","sources":["AppointmentCountResult.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,eAAO,MAAM,4BAA4B,aAAa,CAAC"}
|
||||
@@ -0,0 +1,38 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AppointmentCountResultSchema = void 0;
|
||||
const z = __importStar(require("zod"));
|
||||
exports.AppointmentCountResultSchema = z.number();
|
||||
@@ -0,0 +1,2 @@
|
||||
import * as z from 'zod';
|
||||
export const AppointmentCountResultSchema = z.number();
|
||||
9
packages/db/shared/schemas/results/AppointmentCreateManyResult.schema.d.ts
vendored
Normal file
9
packages/db/shared/schemas/results/AppointmentCreateManyResult.schema.d.ts
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import * as z from 'zod';
|
||||
export declare const AppointmentCreateManyResultSchema: z.ZodObject<{
|
||||
count: z.ZodNumber;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
count: number;
|
||||
}, {
|
||||
count: number;
|
||||
}>;
|
||||
//# sourceMappingURL=AppointmentCreateManyResult.schema.d.ts.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AppointmentCreateManyResult.schema.d.ts","sourceRoot":"","sources":["AppointmentCreateManyResult.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,eAAO,MAAM,iCAAiC;;;;;;EAE5C,CAAC"}
|
||||
@@ -0,0 +1,40 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AppointmentCreateManyResultSchema = void 0;
|
||||
const z = __importStar(require("zod"));
|
||||
exports.AppointmentCreateManyResultSchema = z.object({
|
||||
count: z.number()
|
||||
});
|
||||
@@ -0,0 +1,4 @@
|
||||
import * as z from 'zod';
|
||||
export const AppointmentCreateManyResultSchema = z.object({
|
||||
count: z.number()
|
||||
});
|
||||
63
packages/db/shared/schemas/results/AppointmentCreateResult.schema.d.ts
vendored
Normal file
63
packages/db/shared/schemas/results/AppointmentCreateResult.schema.d.ts
vendored
Normal file
@@ -0,0 +1,63 @@
|
||||
import * as z from 'zod';
|
||||
export declare const AppointmentCreateResultSchema: z.ZodObject<{
|
||||
id: z.ZodNumber;
|
||||
patientId: z.ZodNumber;
|
||||
userId: z.ZodNumber;
|
||||
staffId: z.ZodNumber;
|
||||
title: z.ZodString;
|
||||
date: z.ZodDate;
|
||||
startTime: z.ZodString;
|
||||
endTime: z.ZodString;
|
||||
type: z.ZodString;
|
||||
notes: z.ZodOptional<z.ZodString>;
|
||||
procedureCodeNotes: z.ZodOptional<z.ZodString>;
|
||||
status: z.ZodString;
|
||||
createdAt: z.ZodDate;
|
||||
eligibilityStatus: z.ZodUnknown;
|
||||
patient: z.ZodUnknown;
|
||||
user: z.ZodUnknown;
|
||||
staff: z.ZodOptional<z.ZodUnknown>;
|
||||
procedures: z.ZodArray<z.ZodUnknown, "many">;
|
||||
claims: z.ZodArray<z.ZodUnknown, "many">;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
type: string;
|
||||
status: string;
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
userId: number;
|
||||
date: Date;
|
||||
title: string;
|
||||
patientId: number;
|
||||
startTime: string;
|
||||
endTime: string;
|
||||
procedures: unknown[];
|
||||
staffId: number;
|
||||
claims: unknown[];
|
||||
user?: unknown;
|
||||
patient?: unknown;
|
||||
notes?: string | undefined;
|
||||
procedureCodeNotes?: string | undefined;
|
||||
eligibilityStatus?: unknown;
|
||||
staff?: unknown;
|
||||
}, {
|
||||
type: string;
|
||||
status: string;
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
userId: number;
|
||||
date: Date;
|
||||
title: string;
|
||||
patientId: number;
|
||||
startTime: string;
|
||||
endTime: string;
|
||||
procedures: unknown[];
|
||||
staffId: number;
|
||||
claims: unknown[];
|
||||
user?: unknown;
|
||||
patient?: unknown;
|
||||
notes?: string | undefined;
|
||||
procedureCodeNotes?: string | undefined;
|
||||
eligibilityStatus?: unknown;
|
||||
staff?: unknown;
|
||||
}>;
|
||||
//# sourceMappingURL=AppointmentCreateResult.schema.d.ts.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AppointmentCreateResult.schema.d.ts","sourceRoot":"","sources":["AppointmentCreateResult.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBxC,CAAC"}
|
||||
@@ -0,0 +1,58 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AppointmentCreateResultSchema = void 0;
|
||||
const z = __importStar(require("zod"));
|
||||
exports.AppointmentCreateResultSchema = z.object({
|
||||
id: z.number().int(),
|
||||
patientId: z.number().int(),
|
||||
userId: z.number().int(),
|
||||
staffId: z.number().int(),
|
||||
title: z.string(),
|
||||
date: z.date(),
|
||||
startTime: z.string(),
|
||||
endTime: z.string(),
|
||||
type: z.string(),
|
||||
notes: z.string().optional(),
|
||||
procedureCodeNotes: z.string().optional(),
|
||||
status: z.string(),
|
||||
createdAt: z.date(),
|
||||
eligibilityStatus: z.unknown(),
|
||||
patient: z.unknown(),
|
||||
user: z.unknown(),
|
||||
staff: z.unknown().optional(),
|
||||
procedures: z.array(z.unknown()),
|
||||
claims: z.array(z.unknown())
|
||||
});
|
||||
@@ -0,0 +1,22 @@
|
||||
import * as z from 'zod';
|
||||
export const AppointmentCreateResultSchema = z.object({
|
||||
id: z.number().int(),
|
||||
patientId: z.number().int(),
|
||||
userId: z.number().int(),
|
||||
staffId: z.number().int(),
|
||||
title: z.string(),
|
||||
date: z.date(),
|
||||
startTime: z.string(),
|
||||
endTime: z.string(),
|
||||
type: z.string(),
|
||||
notes: z.string().optional(),
|
||||
procedureCodeNotes: z.string().optional(),
|
||||
status: z.string(),
|
||||
createdAt: z.date(),
|
||||
eligibilityStatus: z.unknown(),
|
||||
patient: z.unknown(),
|
||||
user: z.unknown(),
|
||||
staff: z.unknown().optional(),
|
||||
procedures: z.array(z.unknown()),
|
||||
claims: z.array(z.unknown())
|
||||
});
|
||||
9
packages/db/shared/schemas/results/AppointmentDeleteManyResult.schema.d.ts
vendored
Normal file
9
packages/db/shared/schemas/results/AppointmentDeleteManyResult.schema.d.ts
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import * as z from 'zod';
|
||||
export declare const AppointmentDeleteManyResultSchema: z.ZodObject<{
|
||||
count: z.ZodNumber;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
count: number;
|
||||
}, {
|
||||
count: number;
|
||||
}>;
|
||||
//# sourceMappingURL=AppointmentDeleteManyResult.schema.d.ts.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AppointmentDeleteManyResult.schema.d.ts","sourceRoot":"","sources":["AppointmentDeleteManyResult.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,eAAO,MAAM,iCAAiC;;;;;;EAE5C,CAAC"}
|
||||
@@ -0,0 +1,40 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AppointmentDeleteManyResultSchema = void 0;
|
||||
const z = __importStar(require("zod"));
|
||||
exports.AppointmentDeleteManyResultSchema = z.object({
|
||||
count: z.number()
|
||||
});
|
||||
@@ -0,0 +1,4 @@
|
||||
import * as z from 'zod';
|
||||
export const AppointmentDeleteManyResultSchema = z.object({
|
||||
count: z.number()
|
||||
});
|
||||
63
packages/db/shared/schemas/results/AppointmentDeleteResult.schema.d.ts
vendored
Normal file
63
packages/db/shared/schemas/results/AppointmentDeleteResult.schema.d.ts
vendored
Normal file
@@ -0,0 +1,63 @@
|
||||
import * as z from 'zod';
|
||||
export declare const AppointmentDeleteResultSchema: z.ZodNullable<z.ZodObject<{
|
||||
id: z.ZodNumber;
|
||||
patientId: z.ZodNumber;
|
||||
userId: z.ZodNumber;
|
||||
staffId: z.ZodNumber;
|
||||
title: z.ZodString;
|
||||
date: z.ZodDate;
|
||||
startTime: z.ZodString;
|
||||
endTime: z.ZodString;
|
||||
type: z.ZodString;
|
||||
notes: z.ZodOptional<z.ZodString>;
|
||||
procedureCodeNotes: z.ZodOptional<z.ZodString>;
|
||||
status: z.ZodString;
|
||||
createdAt: z.ZodDate;
|
||||
eligibilityStatus: z.ZodUnknown;
|
||||
patient: z.ZodUnknown;
|
||||
user: z.ZodUnknown;
|
||||
staff: z.ZodOptional<z.ZodUnknown>;
|
||||
procedures: z.ZodArray<z.ZodUnknown, "many">;
|
||||
claims: z.ZodArray<z.ZodUnknown, "many">;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
type: string;
|
||||
status: string;
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
userId: number;
|
||||
date: Date;
|
||||
title: string;
|
||||
patientId: number;
|
||||
startTime: string;
|
||||
endTime: string;
|
||||
procedures: unknown[];
|
||||
staffId: number;
|
||||
claims: unknown[];
|
||||
user?: unknown;
|
||||
patient?: unknown;
|
||||
notes?: string | undefined;
|
||||
procedureCodeNotes?: string | undefined;
|
||||
eligibilityStatus?: unknown;
|
||||
staff?: unknown;
|
||||
}, {
|
||||
type: string;
|
||||
status: string;
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
userId: number;
|
||||
date: Date;
|
||||
title: string;
|
||||
patientId: number;
|
||||
startTime: string;
|
||||
endTime: string;
|
||||
procedures: unknown[];
|
||||
staffId: number;
|
||||
claims: unknown[];
|
||||
user?: unknown;
|
||||
patient?: unknown;
|
||||
notes?: string | undefined;
|
||||
procedureCodeNotes?: string | undefined;
|
||||
eligibilityStatus?: unknown;
|
||||
staff?: unknown;
|
||||
}>>;
|
||||
//# sourceMappingURL=AppointmentDeleteResult.schema.d.ts.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AppointmentDeleteResult.schema.d.ts","sourceRoot":"","sources":["AppointmentDeleteResult.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoBvC,CAAC"}
|
||||
@@ -0,0 +1,58 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AppointmentDeleteResultSchema = void 0;
|
||||
const z = __importStar(require("zod"));
|
||||
exports.AppointmentDeleteResultSchema = z.nullable(z.object({
|
||||
id: z.number().int(),
|
||||
patientId: z.number().int(),
|
||||
userId: z.number().int(),
|
||||
staffId: z.number().int(),
|
||||
title: z.string(),
|
||||
date: z.date(),
|
||||
startTime: z.string(),
|
||||
endTime: z.string(),
|
||||
type: z.string(),
|
||||
notes: z.string().optional(),
|
||||
procedureCodeNotes: z.string().optional(),
|
||||
status: z.string(),
|
||||
createdAt: z.date(),
|
||||
eligibilityStatus: z.unknown(),
|
||||
patient: z.unknown(),
|
||||
user: z.unknown(),
|
||||
staff: z.unknown().optional(),
|
||||
procedures: z.array(z.unknown()),
|
||||
claims: z.array(z.unknown())
|
||||
}));
|
||||
@@ -0,0 +1,22 @@
|
||||
import * as z from 'zod';
|
||||
export const AppointmentDeleteResultSchema = z.nullable(z.object({
|
||||
id: z.number().int(),
|
||||
patientId: z.number().int(),
|
||||
userId: z.number().int(),
|
||||
staffId: z.number().int(),
|
||||
title: z.string(),
|
||||
date: z.date(),
|
||||
startTime: z.string(),
|
||||
endTime: z.string(),
|
||||
type: z.string(),
|
||||
notes: z.string().optional(),
|
||||
procedureCodeNotes: z.string().optional(),
|
||||
status: z.string(),
|
||||
createdAt: z.date(),
|
||||
eligibilityStatus: z.unknown(),
|
||||
patient: z.unknown(),
|
||||
user: z.unknown(),
|
||||
staff: z.unknown().optional(),
|
||||
procedures: z.array(z.unknown()),
|
||||
claims: z.array(z.unknown())
|
||||
}));
|
||||
63
packages/db/shared/schemas/results/AppointmentFindFirstResult.schema.d.ts
vendored
Normal file
63
packages/db/shared/schemas/results/AppointmentFindFirstResult.schema.d.ts
vendored
Normal file
@@ -0,0 +1,63 @@
|
||||
import * as z from 'zod';
|
||||
export declare const AppointmentFindFirstResultSchema: z.ZodNullable<z.ZodObject<{
|
||||
id: z.ZodNumber;
|
||||
patientId: z.ZodNumber;
|
||||
userId: z.ZodNumber;
|
||||
staffId: z.ZodNumber;
|
||||
title: z.ZodString;
|
||||
date: z.ZodDate;
|
||||
startTime: z.ZodString;
|
||||
endTime: z.ZodString;
|
||||
type: z.ZodString;
|
||||
notes: z.ZodOptional<z.ZodString>;
|
||||
procedureCodeNotes: z.ZodOptional<z.ZodString>;
|
||||
status: z.ZodString;
|
||||
createdAt: z.ZodDate;
|
||||
eligibilityStatus: z.ZodUnknown;
|
||||
patient: z.ZodUnknown;
|
||||
user: z.ZodUnknown;
|
||||
staff: z.ZodOptional<z.ZodUnknown>;
|
||||
procedures: z.ZodArray<z.ZodUnknown, "many">;
|
||||
claims: z.ZodArray<z.ZodUnknown, "many">;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
type: string;
|
||||
status: string;
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
userId: number;
|
||||
date: Date;
|
||||
title: string;
|
||||
patientId: number;
|
||||
startTime: string;
|
||||
endTime: string;
|
||||
procedures: unknown[];
|
||||
staffId: number;
|
||||
claims: unknown[];
|
||||
user?: unknown;
|
||||
patient?: unknown;
|
||||
notes?: string | undefined;
|
||||
procedureCodeNotes?: string | undefined;
|
||||
eligibilityStatus?: unknown;
|
||||
staff?: unknown;
|
||||
}, {
|
||||
type: string;
|
||||
status: string;
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
userId: number;
|
||||
date: Date;
|
||||
title: string;
|
||||
patientId: number;
|
||||
startTime: string;
|
||||
endTime: string;
|
||||
procedures: unknown[];
|
||||
staffId: number;
|
||||
claims: unknown[];
|
||||
user?: unknown;
|
||||
patient?: unknown;
|
||||
notes?: string | undefined;
|
||||
procedureCodeNotes?: string | undefined;
|
||||
eligibilityStatus?: unknown;
|
||||
staff?: unknown;
|
||||
}>>;
|
||||
//# sourceMappingURL=AppointmentFindFirstResult.schema.d.ts.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AppointmentFindFirstResult.schema.d.ts","sourceRoot":"","sources":["AppointmentFindFirstResult.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoB1C,CAAC"}
|
||||
@@ -0,0 +1,58 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AppointmentFindFirstResultSchema = void 0;
|
||||
const z = __importStar(require("zod"));
|
||||
exports.AppointmentFindFirstResultSchema = z.nullable(z.object({
|
||||
id: z.number().int(),
|
||||
patientId: z.number().int(),
|
||||
userId: z.number().int(),
|
||||
staffId: z.number().int(),
|
||||
title: z.string(),
|
||||
date: z.date(),
|
||||
startTime: z.string(),
|
||||
endTime: z.string(),
|
||||
type: z.string(),
|
||||
notes: z.string().optional(),
|
||||
procedureCodeNotes: z.string().optional(),
|
||||
status: z.string(),
|
||||
createdAt: z.date(),
|
||||
eligibilityStatus: z.unknown(),
|
||||
patient: z.unknown(),
|
||||
user: z.unknown(),
|
||||
staff: z.unknown().optional(),
|
||||
procedures: z.array(z.unknown()),
|
||||
claims: z.array(z.unknown())
|
||||
}));
|
||||
@@ -0,0 +1,22 @@
|
||||
import * as z from 'zod';
|
||||
export const AppointmentFindFirstResultSchema = z.nullable(z.object({
|
||||
id: z.number().int(),
|
||||
patientId: z.number().int(),
|
||||
userId: z.number().int(),
|
||||
staffId: z.number().int(),
|
||||
title: z.string(),
|
||||
date: z.date(),
|
||||
startTime: z.string(),
|
||||
endTime: z.string(),
|
||||
type: z.string(),
|
||||
notes: z.string().optional(),
|
||||
procedureCodeNotes: z.string().optional(),
|
||||
status: z.string(),
|
||||
createdAt: z.date(),
|
||||
eligibilityStatus: z.unknown(),
|
||||
patient: z.unknown(),
|
||||
user: z.unknown(),
|
||||
staff: z.unknown().optional(),
|
||||
procedures: z.array(z.unknown()),
|
||||
claims: z.array(z.unknown())
|
||||
}));
|
||||
147
packages/db/shared/schemas/results/AppointmentFindManyResult.schema.d.ts
vendored
Normal file
147
packages/db/shared/schemas/results/AppointmentFindManyResult.schema.d.ts
vendored
Normal file
@@ -0,0 +1,147 @@
|
||||
import * as z from 'zod';
|
||||
export declare const AppointmentFindManyResultSchema: z.ZodObject<{
|
||||
data: z.ZodArray<z.ZodObject<{
|
||||
id: z.ZodNumber;
|
||||
patientId: z.ZodNumber;
|
||||
userId: z.ZodNumber;
|
||||
staffId: z.ZodNumber;
|
||||
title: z.ZodString;
|
||||
date: z.ZodDate;
|
||||
startTime: z.ZodString;
|
||||
endTime: z.ZodString;
|
||||
type: z.ZodString;
|
||||
notes: z.ZodOptional<z.ZodString>;
|
||||
procedureCodeNotes: z.ZodOptional<z.ZodString>;
|
||||
status: z.ZodString;
|
||||
createdAt: z.ZodDate;
|
||||
eligibilityStatus: z.ZodUnknown;
|
||||
patient: z.ZodUnknown;
|
||||
user: z.ZodUnknown;
|
||||
staff: z.ZodOptional<z.ZodUnknown>;
|
||||
procedures: z.ZodArray<z.ZodUnknown, "many">;
|
||||
claims: z.ZodArray<z.ZodUnknown, "many">;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
type: string;
|
||||
status: string;
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
userId: number;
|
||||
date: Date;
|
||||
title: string;
|
||||
patientId: number;
|
||||
startTime: string;
|
||||
endTime: string;
|
||||
procedures: unknown[];
|
||||
staffId: number;
|
||||
claims: unknown[];
|
||||
user?: unknown;
|
||||
patient?: unknown;
|
||||
notes?: string | undefined;
|
||||
procedureCodeNotes?: string | undefined;
|
||||
eligibilityStatus?: unknown;
|
||||
staff?: unknown;
|
||||
}, {
|
||||
type: string;
|
||||
status: string;
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
userId: number;
|
||||
date: Date;
|
||||
title: string;
|
||||
patientId: number;
|
||||
startTime: string;
|
||||
endTime: string;
|
||||
procedures: unknown[];
|
||||
staffId: number;
|
||||
claims: unknown[];
|
||||
user?: unknown;
|
||||
patient?: unknown;
|
||||
notes?: string | undefined;
|
||||
procedureCodeNotes?: string | undefined;
|
||||
eligibilityStatus?: unknown;
|
||||
staff?: unknown;
|
||||
}>, "many">;
|
||||
pagination: z.ZodObject<{
|
||||
page: z.ZodNumber;
|
||||
pageSize: z.ZodNumber;
|
||||
total: z.ZodNumber;
|
||||
totalPages: z.ZodNumber;
|
||||
hasNext: z.ZodBoolean;
|
||||
hasPrev: z.ZodBoolean;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
page: number;
|
||||
pageSize: number;
|
||||
total: number;
|
||||
totalPages: number;
|
||||
hasNext: boolean;
|
||||
hasPrev: boolean;
|
||||
}, {
|
||||
page: number;
|
||||
pageSize: number;
|
||||
total: number;
|
||||
totalPages: number;
|
||||
hasNext: boolean;
|
||||
hasPrev: boolean;
|
||||
}>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
data: {
|
||||
type: string;
|
||||
status: string;
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
userId: number;
|
||||
date: Date;
|
||||
title: string;
|
||||
patientId: number;
|
||||
startTime: string;
|
||||
endTime: string;
|
||||
procedures: unknown[];
|
||||
staffId: number;
|
||||
claims: unknown[];
|
||||
user?: unknown;
|
||||
patient?: unknown;
|
||||
notes?: string | undefined;
|
||||
procedureCodeNotes?: string | undefined;
|
||||
eligibilityStatus?: unknown;
|
||||
staff?: unknown;
|
||||
}[];
|
||||
pagination: {
|
||||
page: number;
|
||||
pageSize: number;
|
||||
total: number;
|
||||
totalPages: number;
|
||||
hasNext: boolean;
|
||||
hasPrev: boolean;
|
||||
};
|
||||
}, {
|
||||
data: {
|
||||
type: string;
|
||||
status: string;
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
userId: number;
|
||||
date: Date;
|
||||
title: string;
|
||||
patientId: number;
|
||||
startTime: string;
|
||||
endTime: string;
|
||||
procedures: unknown[];
|
||||
staffId: number;
|
||||
claims: unknown[];
|
||||
user?: unknown;
|
||||
patient?: unknown;
|
||||
notes?: string | undefined;
|
||||
procedureCodeNotes?: string | undefined;
|
||||
eligibilityStatus?: unknown;
|
||||
staff?: unknown;
|
||||
}[];
|
||||
pagination: {
|
||||
page: number;
|
||||
pageSize: number;
|
||||
total: number;
|
||||
totalPages: number;
|
||||
hasNext: boolean;
|
||||
hasPrev: boolean;
|
||||
};
|
||||
}>;
|
||||
//# sourceMappingURL=AppointmentFindManyResult.schema.d.ts.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AppointmentFindManyResult.schema.d.ts","sourceRoot":"","sources":["AppointmentFindManyResult.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8B1C,CAAC"}
|
||||
@@ -0,0 +1,68 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AppointmentFindManyResultSchema = void 0;
|
||||
const z = __importStar(require("zod"));
|
||||
exports.AppointmentFindManyResultSchema = z.object({
|
||||
data: z.array(z.object({
|
||||
id: z.number().int(),
|
||||
patientId: z.number().int(),
|
||||
userId: z.number().int(),
|
||||
staffId: z.number().int(),
|
||||
title: z.string(),
|
||||
date: z.date(),
|
||||
startTime: z.string(),
|
||||
endTime: z.string(),
|
||||
type: z.string(),
|
||||
notes: z.string().optional(),
|
||||
procedureCodeNotes: z.string().optional(),
|
||||
status: z.string(),
|
||||
createdAt: z.date(),
|
||||
eligibilityStatus: z.unknown(),
|
||||
patient: z.unknown(),
|
||||
user: z.unknown(),
|
||||
staff: z.unknown().optional(),
|
||||
procedures: z.array(z.unknown()),
|
||||
claims: z.array(z.unknown())
|
||||
})),
|
||||
pagination: z.object({
|
||||
page: z.number().int().min(1),
|
||||
pageSize: z.number().int().min(1),
|
||||
total: z.number().int().min(0),
|
||||
totalPages: z.number().int().min(0),
|
||||
hasNext: z.boolean(),
|
||||
hasPrev: z.boolean()
|
||||
})
|
||||
});
|
||||
@@ -0,0 +1,32 @@
|
||||
import * as z from 'zod';
|
||||
export const AppointmentFindManyResultSchema = z.object({
|
||||
data: z.array(z.object({
|
||||
id: z.number().int(),
|
||||
patientId: z.number().int(),
|
||||
userId: z.number().int(),
|
||||
staffId: z.number().int(),
|
||||
title: z.string(),
|
||||
date: z.date(),
|
||||
startTime: z.string(),
|
||||
endTime: z.string(),
|
||||
type: z.string(),
|
||||
notes: z.string().optional(),
|
||||
procedureCodeNotes: z.string().optional(),
|
||||
status: z.string(),
|
||||
createdAt: z.date(),
|
||||
eligibilityStatus: z.unknown(),
|
||||
patient: z.unknown(),
|
||||
user: z.unknown(),
|
||||
staff: z.unknown().optional(),
|
||||
procedures: z.array(z.unknown()),
|
||||
claims: z.array(z.unknown())
|
||||
})),
|
||||
pagination: z.object({
|
||||
page: z.number().int().min(1),
|
||||
pageSize: z.number().int().min(1),
|
||||
total: z.number().int().min(0),
|
||||
totalPages: z.number().int().min(0),
|
||||
hasNext: z.boolean(),
|
||||
hasPrev: z.boolean()
|
||||
})
|
||||
});
|
||||
63
packages/db/shared/schemas/results/AppointmentFindUniqueResult.schema.d.ts
vendored
Normal file
63
packages/db/shared/schemas/results/AppointmentFindUniqueResult.schema.d.ts
vendored
Normal file
@@ -0,0 +1,63 @@
|
||||
import * as z from 'zod';
|
||||
export declare const AppointmentFindUniqueResultSchema: z.ZodNullable<z.ZodObject<{
|
||||
id: z.ZodNumber;
|
||||
patientId: z.ZodNumber;
|
||||
userId: z.ZodNumber;
|
||||
staffId: z.ZodNumber;
|
||||
title: z.ZodString;
|
||||
date: z.ZodDate;
|
||||
startTime: z.ZodString;
|
||||
endTime: z.ZodString;
|
||||
type: z.ZodString;
|
||||
notes: z.ZodOptional<z.ZodString>;
|
||||
procedureCodeNotes: z.ZodOptional<z.ZodString>;
|
||||
status: z.ZodString;
|
||||
createdAt: z.ZodDate;
|
||||
eligibilityStatus: z.ZodUnknown;
|
||||
patient: z.ZodUnknown;
|
||||
user: z.ZodUnknown;
|
||||
staff: z.ZodOptional<z.ZodUnknown>;
|
||||
procedures: z.ZodArray<z.ZodUnknown, "many">;
|
||||
claims: z.ZodArray<z.ZodUnknown, "many">;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
type: string;
|
||||
status: string;
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
userId: number;
|
||||
date: Date;
|
||||
title: string;
|
||||
patientId: number;
|
||||
startTime: string;
|
||||
endTime: string;
|
||||
procedures: unknown[];
|
||||
staffId: number;
|
||||
claims: unknown[];
|
||||
user?: unknown;
|
||||
patient?: unknown;
|
||||
notes?: string | undefined;
|
||||
procedureCodeNotes?: string | undefined;
|
||||
eligibilityStatus?: unknown;
|
||||
staff?: unknown;
|
||||
}, {
|
||||
type: string;
|
||||
status: string;
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
userId: number;
|
||||
date: Date;
|
||||
title: string;
|
||||
patientId: number;
|
||||
startTime: string;
|
||||
endTime: string;
|
||||
procedures: unknown[];
|
||||
staffId: number;
|
||||
claims: unknown[];
|
||||
user?: unknown;
|
||||
patient?: unknown;
|
||||
notes?: string | undefined;
|
||||
procedureCodeNotes?: string | undefined;
|
||||
eligibilityStatus?: unknown;
|
||||
staff?: unknown;
|
||||
}>>;
|
||||
//# sourceMappingURL=AppointmentFindUniqueResult.schema.d.ts.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AppointmentFindUniqueResult.schema.d.ts","sourceRoot":"","sources":["AppointmentFindUniqueResult.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoB3C,CAAC"}
|
||||
@@ -0,0 +1,58 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AppointmentFindUniqueResultSchema = void 0;
|
||||
const z = __importStar(require("zod"));
|
||||
exports.AppointmentFindUniqueResultSchema = z.nullable(z.object({
|
||||
id: z.number().int(),
|
||||
patientId: z.number().int(),
|
||||
userId: z.number().int(),
|
||||
staffId: z.number().int(),
|
||||
title: z.string(),
|
||||
date: z.date(),
|
||||
startTime: z.string(),
|
||||
endTime: z.string(),
|
||||
type: z.string(),
|
||||
notes: z.string().optional(),
|
||||
procedureCodeNotes: z.string().optional(),
|
||||
status: z.string(),
|
||||
createdAt: z.date(),
|
||||
eligibilityStatus: z.unknown(),
|
||||
patient: z.unknown(),
|
||||
user: z.unknown(),
|
||||
staff: z.unknown().optional(),
|
||||
procedures: z.array(z.unknown()),
|
||||
claims: z.array(z.unknown())
|
||||
}));
|
||||
@@ -0,0 +1,22 @@
|
||||
import * as z from 'zod';
|
||||
export const AppointmentFindUniqueResultSchema = z.nullable(z.object({
|
||||
id: z.number().int(),
|
||||
patientId: z.number().int(),
|
||||
userId: z.number().int(),
|
||||
staffId: z.number().int(),
|
||||
title: z.string(),
|
||||
date: z.date(),
|
||||
startTime: z.string(),
|
||||
endTime: z.string(),
|
||||
type: z.string(),
|
||||
notes: z.string().optional(),
|
||||
procedureCodeNotes: z.string().optional(),
|
||||
status: z.string(),
|
||||
createdAt: z.date(),
|
||||
eligibilityStatus: z.unknown(),
|
||||
patient: z.unknown(),
|
||||
user: z.unknown(),
|
||||
staff: z.unknown().optional(),
|
||||
procedures: z.array(z.unknown()),
|
||||
claims: z.array(z.unknown())
|
||||
}));
|
||||
350
packages/db/shared/schemas/results/AppointmentGroupByResult.schema.d.ts
vendored
Normal file
350
packages/db/shared/schemas/results/AppointmentGroupByResult.schema.d.ts
vendored
Normal file
@@ -0,0 +1,350 @@
|
||||
import * as z from 'zod';
|
||||
export declare const AppointmentGroupByResultSchema: z.ZodArray<z.ZodObject<{
|
||||
id: z.ZodNumber;
|
||||
patientId: z.ZodNumber;
|
||||
userId: z.ZodNumber;
|
||||
staffId: z.ZodNumber;
|
||||
title: z.ZodString;
|
||||
date: z.ZodDate;
|
||||
startTime: z.ZodString;
|
||||
endTime: z.ZodString;
|
||||
type: z.ZodString;
|
||||
notes: z.ZodString;
|
||||
procedureCodeNotes: z.ZodString;
|
||||
status: z.ZodString;
|
||||
createdAt: z.ZodDate;
|
||||
_count: z.ZodOptional<z.ZodObject<{
|
||||
id: z.ZodNumber;
|
||||
patientId: z.ZodNumber;
|
||||
userId: z.ZodNumber;
|
||||
staffId: z.ZodNumber;
|
||||
title: z.ZodNumber;
|
||||
date: z.ZodNumber;
|
||||
startTime: z.ZodNumber;
|
||||
endTime: z.ZodNumber;
|
||||
type: z.ZodNumber;
|
||||
notes: z.ZodNumber;
|
||||
procedureCodeNotes: z.ZodNumber;
|
||||
status: z.ZodNumber;
|
||||
createdAt: z.ZodNumber;
|
||||
eligibilityStatus: z.ZodNumber;
|
||||
patient: z.ZodNumber;
|
||||
user: z.ZodNumber;
|
||||
staff: z.ZodNumber;
|
||||
procedures: z.ZodNumber;
|
||||
claims: z.ZodNumber;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
type: number;
|
||||
status: number;
|
||||
createdAt: number;
|
||||
id: number;
|
||||
userId: number;
|
||||
user: number;
|
||||
date: number;
|
||||
title: number;
|
||||
patientId: number;
|
||||
patient: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
notes: number;
|
||||
procedureCodeNotes: number;
|
||||
eligibilityStatus: number;
|
||||
staff: number;
|
||||
procedures: number;
|
||||
staffId: number;
|
||||
claims: number;
|
||||
}, {
|
||||
type: number;
|
||||
status: number;
|
||||
createdAt: number;
|
||||
id: number;
|
||||
userId: number;
|
||||
user: number;
|
||||
date: number;
|
||||
title: number;
|
||||
patientId: number;
|
||||
patient: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
notes: number;
|
||||
procedureCodeNotes: number;
|
||||
eligibilityStatus: number;
|
||||
staff: number;
|
||||
procedures: number;
|
||||
staffId: number;
|
||||
claims: number;
|
||||
}>>;
|
||||
_sum: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
||||
id: z.ZodNullable<z.ZodNumber>;
|
||||
patientId: z.ZodNullable<z.ZodNumber>;
|
||||
userId: z.ZodNullable<z.ZodNumber>;
|
||||
staffId: z.ZodNullable<z.ZodNumber>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
id: number | null;
|
||||
userId: number | null;
|
||||
patientId: number | null;
|
||||
staffId: number | null;
|
||||
}, {
|
||||
id: number | null;
|
||||
userId: number | null;
|
||||
patientId: number | null;
|
||||
staffId: number | null;
|
||||
}>>>;
|
||||
_avg: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
||||
id: z.ZodNullable<z.ZodNumber>;
|
||||
patientId: z.ZodNullable<z.ZodNumber>;
|
||||
userId: z.ZodNullable<z.ZodNumber>;
|
||||
staffId: z.ZodNullable<z.ZodNumber>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
id: number | null;
|
||||
userId: number | null;
|
||||
patientId: number | null;
|
||||
staffId: number | null;
|
||||
}, {
|
||||
id: number | null;
|
||||
userId: number | null;
|
||||
patientId: number | null;
|
||||
staffId: number | null;
|
||||
}>>>;
|
||||
_min: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
||||
id: z.ZodNullable<z.ZodNumber>;
|
||||
patientId: z.ZodNullable<z.ZodNumber>;
|
||||
userId: z.ZodNullable<z.ZodNumber>;
|
||||
staffId: z.ZodNullable<z.ZodNumber>;
|
||||
title: z.ZodNullable<z.ZodString>;
|
||||
date: z.ZodNullable<z.ZodDate>;
|
||||
startTime: z.ZodNullable<z.ZodString>;
|
||||
endTime: z.ZodNullable<z.ZodString>;
|
||||
type: z.ZodNullable<z.ZodString>;
|
||||
notes: z.ZodNullable<z.ZodString>;
|
||||
procedureCodeNotes: z.ZodNullable<z.ZodString>;
|
||||
status: z.ZodNullable<z.ZodString>;
|
||||
createdAt: z.ZodNullable<z.ZodDate>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
type: string | null;
|
||||
status: string | null;
|
||||
createdAt: Date | null;
|
||||
id: number | null;
|
||||
userId: number | null;
|
||||
date: Date | null;
|
||||
title: string | null;
|
||||
patientId: number | null;
|
||||
startTime: string | null;
|
||||
endTime: string | null;
|
||||
notes: string | null;
|
||||
procedureCodeNotes: string | null;
|
||||
staffId: number | null;
|
||||
}, {
|
||||
type: string | null;
|
||||
status: string | null;
|
||||
createdAt: Date | null;
|
||||
id: number | null;
|
||||
userId: number | null;
|
||||
date: Date | null;
|
||||
title: string | null;
|
||||
patientId: number | null;
|
||||
startTime: string | null;
|
||||
endTime: string | null;
|
||||
notes: string | null;
|
||||
procedureCodeNotes: string | null;
|
||||
staffId: number | null;
|
||||
}>>>;
|
||||
_max: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
||||
id: z.ZodNullable<z.ZodNumber>;
|
||||
patientId: z.ZodNullable<z.ZodNumber>;
|
||||
userId: z.ZodNullable<z.ZodNumber>;
|
||||
staffId: z.ZodNullable<z.ZodNumber>;
|
||||
title: z.ZodNullable<z.ZodString>;
|
||||
date: z.ZodNullable<z.ZodDate>;
|
||||
startTime: z.ZodNullable<z.ZodString>;
|
||||
endTime: z.ZodNullable<z.ZodString>;
|
||||
type: z.ZodNullable<z.ZodString>;
|
||||
notes: z.ZodNullable<z.ZodString>;
|
||||
procedureCodeNotes: z.ZodNullable<z.ZodString>;
|
||||
status: z.ZodNullable<z.ZodString>;
|
||||
createdAt: z.ZodNullable<z.ZodDate>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
type: string | null;
|
||||
status: string | null;
|
||||
createdAt: Date | null;
|
||||
id: number | null;
|
||||
userId: number | null;
|
||||
date: Date | null;
|
||||
title: string | null;
|
||||
patientId: number | null;
|
||||
startTime: string | null;
|
||||
endTime: string | null;
|
||||
notes: string | null;
|
||||
procedureCodeNotes: string | null;
|
||||
staffId: number | null;
|
||||
}, {
|
||||
type: string | null;
|
||||
status: string | null;
|
||||
createdAt: Date | null;
|
||||
id: number | null;
|
||||
userId: number | null;
|
||||
date: Date | null;
|
||||
title: string | null;
|
||||
patientId: number | null;
|
||||
startTime: string | null;
|
||||
endTime: string | null;
|
||||
notes: string | null;
|
||||
procedureCodeNotes: string | null;
|
||||
staffId: number | null;
|
||||
}>>>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
type: string;
|
||||
status: string;
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
userId: number;
|
||||
date: Date;
|
||||
title: string;
|
||||
patientId: number;
|
||||
startTime: string;
|
||||
endTime: string;
|
||||
notes: string;
|
||||
procedureCodeNotes: string;
|
||||
staffId: number;
|
||||
_count?: {
|
||||
type: number;
|
||||
status: number;
|
||||
createdAt: number;
|
||||
id: number;
|
||||
userId: number;
|
||||
user: number;
|
||||
date: number;
|
||||
title: number;
|
||||
patientId: number;
|
||||
patient: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
notes: number;
|
||||
procedureCodeNotes: number;
|
||||
eligibilityStatus: number;
|
||||
staff: number;
|
||||
procedures: number;
|
||||
staffId: number;
|
||||
claims: number;
|
||||
} | undefined;
|
||||
_min?: {
|
||||
type: string | null;
|
||||
status: string | null;
|
||||
createdAt: Date | null;
|
||||
id: number | null;
|
||||
userId: number | null;
|
||||
date: Date | null;
|
||||
title: string | null;
|
||||
patientId: number | null;
|
||||
startTime: string | null;
|
||||
endTime: string | null;
|
||||
notes: string | null;
|
||||
procedureCodeNotes: string | null;
|
||||
staffId: number | null;
|
||||
} | null | undefined;
|
||||
_max?: {
|
||||
type: string | null;
|
||||
status: string | null;
|
||||
createdAt: Date | null;
|
||||
id: number | null;
|
||||
userId: number | null;
|
||||
date: Date | null;
|
||||
title: string | null;
|
||||
patientId: number | null;
|
||||
startTime: string | null;
|
||||
endTime: string | null;
|
||||
notes: string | null;
|
||||
procedureCodeNotes: string | null;
|
||||
staffId: number | null;
|
||||
} | null | undefined;
|
||||
_avg?: {
|
||||
id: number | null;
|
||||
userId: number | null;
|
||||
patientId: number | null;
|
||||
staffId: number | null;
|
||||
} | null | undefined;
|
||||
_sum?: {
|
||||
id: number | null;
|
||||
userId: number | null;
|
||||
patientId: number | null;
|
||||
staffId: number | null;
|
||||
} | null | undefined;
|
||||
}, {
|
||||
type: string;
|
||||
status: string;
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
userId: number;
|
||||
date: Date;
|
||||
title: string;
|
||||
patientId: number;
|
||||
startTime: string;
|
||||
endTime: string;
|
||||
notes: string;
|
||||
procedureCodeNotes: string;
|
||||
staffId: number;
|
||||
_count?: {
|
||||
type: number;
|
||||
status: number;
|
||||
createdAt: number;
|
||||
id: number;
|
||||
userId: number;
|
||||
user: number;
|
||||
date: number;
|
||||
title: number;
|
||||
patientId: number;
|
||||
patient: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
notes: number;
|
||||
procedureCodeNotes: number;
|
||||
eligibilityStatus: number;
|
||||
staff: number;
|
||||
procedures: number;
|
||||
staffId: number;
|
||||
claims: number;
|
||||
} | undefined;
|
||||
_min?: {
|
||||
type: string | null;
|
||||
status: string | null;
|
||||
createdAt: Date | null;
|
||||
id: number | null;
|
||||
userId: number | null;
|
||||
date: Date | null;
|
||||
title: string | null;
|
||||
patientId: number | null;
|
||||
startTime: string | null;
|
||||
endTime: string | null;
|
||||
notes: string | null;
|
||||
procedureCodeNotes: string | null;
|
||||
staffId: number | null;
|
||||
} | null | undefined;
|
||||
_max?: {
|
||||
type: string | null;
|
||||
status: string | null;
|
||||
createdAt: Date | null;
|
||||
id: number | null;
|
||||
userId: number | null;
|
||||
date: Date | null;
|
||||
title: string | null;
|
||||
patientId: number | null;
|
||||
startTime: string | null;
|
||||
endTime: string | null;
|
||||
notes: string | null;
|
||||
procedureCodeNotes: string | null;
|
||||
staffId: number | null;
|
||||
} | null | undefined;
|
||||
_avg?: {
|
||||
id: number | null;
|
||||
userId: number | null;
|
||||
patientId: number | null;
|
||||
staffId: number | null;
|
||||
} | null | undefined;
|
||||
_sum?: {
|
||||
id: number | null;
|
||||
userId: number | null;
|
||||
patientId: number | null;
|
||||
staffId: number | null;
|
||||
} | null | undefined;
|
||||
}>, "many">;
|
||||
//# sourceMappingURL=AppointmentGroupByResult.schema.d.ts.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AppointmentGroupByResult.schema.d.ts","sourceRoot":"","sources":["AppointmentGroupByResult.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA6ExC,CAAC"}
|
||||
@@ -0,0 +1,115 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AppointmentGroupByResultSchema = void 0;
|
||||
const z = __importStar(require("zod"));
|
||||
exports.AppointmentGroupByResultSchema = z.array(z.object({
|
||||
id: z.number().int(),
|
||||
patientId: z.number().int(),
|
||||
userId: z.number().int(),
|
||||
staffId: z.number().int(),
|
||||
title: z.string(),
|
||||
date: z.date(),
|
||||
startTime: z.string(),
|
||||
endTime: z.string(),
|
||||
type: z.string(),
|
||||
notes: z.string(),
|
||||
procedureCodeNotes: z.string(),
|
||||
status: z.string(),
|
||||
createdAt: z.date(),
|
||||
_count: z.object({
|
||||
id: z.number(),
|
||||
patientId: z.number(),
|
||||
userId: z.number(),
|
||||
staffId: z.number(),
|
||||
title: z.number(),
|
||||
date: z.number(),
|
||||
startTime: z.number(),
|
||||
endTime: z.number(),
|
||||
type: z.number(),
|
||||
notes: z.number(),
|
||||
procedureCodeNotes: z.number(),
|
||||
status: z.number(),
|
||||
createdAt: z.number(),
|
||||
eligibilityStatus: z.number(),
|
||||
patient: z.number(),
|
||||
user: z.number(),
|
||||
staff: z.number(),
|
||||
procedures: z.number(),
|
||||
claims: z.number()
|
||||
}).optional(),
|
||||
_sum: z.object({
|
||||
id: z.number().nullable(),
|
||||
patientId: z.number().nullable(),
|
||||
userId: z.number().nullable(),
|
||||
staffId: z.number().nullable()
|
||||
}).nullable().optional(),
|
||||
_avg: z.object({
|
||||
id: z.number().nullable(),
|
||||
patientId: z.number().nullable(),
|
||||
userId: z.number().nullable(),
|
||||
staffId: z.number().nullable()
|
||||
}).nullable().optional(),
|
||||
_min: z.object({
|
||||
id: z.number().int().nullable(),
|
||||
patientId: z.number().int().nullable(),
|
||||
userId: z.number().int().nullable(),
|
||||
staffId: z.number().int().nullable(),
|
||||
title: z.string().nullable(),
|
||||
date: z.date().nullable(),
|
||||
startTime: z.string().nullable(),
|
||||
endTime: z.string().nullable(),
|
||||
type: z.string().nullable(),
|
||||
notes: z.string().nullable(),
|
||||
procedureCodeNotes: z.string().nullable(),
|
||||
status: z.string().nullable(),
|
||||
createdAt: z.date().nullable()
|
||||
}).nullable().optional(),
|
||||
_max: z.object({
|
||||
id: z.number().int().nullable(),
|
||||
patientId: z.number().int().nullable(),
|
||||
userId: z.number().int().nullable(),
|
||||
staffId: z.number().int().nullable(),
|
||||
title: z.string().nullable(),
|
||||
date: z.date().nullable(),
|
||||
startTime: z.string().nullable(),
|
||||
endTime: z.string().nullable(),
|
||||
type: z.string().nullable(),
|
||||
notes: z.string().nullable(),
|
||||
procedureCodeNotes: z.string().nullable(),
|
||||
status: z.string().nullable(),
|
||||
createdAt: z.date().nullable()
|
||||
}).nullable().optional()
|
||||
}));
|
||||
@@ -0,0 +1,79 @@
|
||||
import * as z from 'zod';
|
||||
export const AppointmentGroupByResultSchema = z.array(z.object({
|
||||
id: z.number().int(),
|
||||
patientId: z.number().int(),
|
||||
userId: z.number().int(),
|
||||
staffId: z.number().int(),
|
||||
title: z.string(),
|
||||
date: z.date(),
|
||||
startTime: z.string(),
|
||||
endTime: z.string(),
|
||||
type: z.string(),
|
||||
notes: z.string(),
|
||||
procedureCodeNotes: z.string(),
|
||||
status: z.string(),
|
||||
createdAt: z.date(),
|
||||
_count: z.object({
|
||||
id: z.number(),
|
||||
patientId: z.number(),
|
||||
userId: z.number(),
|
||||
staffId: z.number(),
|
||||
title: z.number(),
|
||||
date: z.number(),
|
||||
startTime: z.number(),
|
||||
endTime: z.number(),
|
||||
type: z.number(),
|
||||
notes: z.number(),
|
||||
procedureCodeNotes: z.number(),
|
||||
status: z.number(),
|
||||
createdAt: z.number(),
|
||||
eligibilityStatus: z.number(),
|
||||
patient: z.number(),
|
||||
user: z.number(),
|
||||
staff: z.number(),
|
||||
procedures: z.number(),
|
||||
claims: z.number()
|
||||
}).optional(),
|
||||
_sum: z.object({
|
||||
id: z.number().nullable(),
|
||||
patientId: z.number().nullable(),
|
||||
userId: z.number().nullable(),
|
||||
staffId: z.number().nullable()
|
||||
}).nullable().optional(),
|
||||
_avg: z.object({
|
||||
id: z.number().nullable(),
|
||||
patientId: z.number().nullable(),
|
||||
userId: z.number().nullable(),
|
||||
staffId: z.number().nullable()
|
||||
}).nullable().optional(),
|
||||
_min: z.object({
|
||||
id: z.number().int().nullable(),
|
||||
patientId: z.number().int().nullable(),
|
||||
userId: z.number().int().nullable(),
|
||||
staffId: z.number().int().nullable(),
|
||||
title: z.string().nullable(),
|
||||
date: z.date().nullable(),
|
||||
startTime: z.string().nullable(),
|
||||
endTime: z.string().nullable(),
|
||||
type: z.string().nullable(),
|
||||
notes: z.string().nullable(),
|
||||
procedureCodeNotes: z.string().nullable(),
|
||||
status: z.string().nullable(),
|
||||
createdAt: z.date().nullable()
|
||||
}).nullable().optional(),
|
||||
_max: z.object({
|
||||
id: z.number().int().nullable(),
|
||||
patientId: z.number().int().nullable(),
|
||||
userId: z.number().int().nullable(),
|
||||
staffId: z.number().int().nullable(),
|
||||
title: z.string().nullable(),
|
||||
date: z.date().nullable(),
|
||||
startTime: z.string().nullable(),
|
||||
endTime: z.string().nullable(),
|
||||
type: z.string().nullable(),
|
||||
notes: z.string().nullable(),
|
||||
procedureCodeNotes: z.string().nullable(),
|
||||
status: z.string().nullable(),
|
||||
createdAt: z.date().nullable()
|
||||
}).nullable().optional()
|
||||
}));
|
||||
281
packages/db/shared/schemas/results/AppointmentProcedureAggregateResult.schema.d.ts
vendored
Normal file
281
packages/db/shared/schemas/results/AppointmentProcedureAggregateResult.schema.d.ts
vendored
Normal file
@@ -0,0 +1,281 @@
|
||||
import * as z from 'zod';
|
||||
export declare const AppointmentProcedureAggregateResultSchema: z.ZodObject<{
|
||||
_count: z.ZodOptional<z.ZodObject<{
|
||||
id: z.ZodNumber;
|
||||
appointmentId: z.ZodNumber;
|
||||
patientId: z.ZodNumber;
|
||||
procedureCode: z.ZodNumber;
|
||||
procedureLabel: z.ZodNumber;
|
||||
fee: z.ZodNumber;
|
||||
category: z.ZodNumber;
|
||||
toothNumber: z.ZodNumber;
|
||||
toothSurface: z.ZodNumber;
|
||||
oralCavityArea: z.ZodNumber;
|
||||
source: z.ZodNumber;
|
||||
comboKey: z.ZodNumber;
|
||||
createdAt: z.ZodNumber;
|
||||
appointment: z.ZodNumber;
|
||||
patient: z.ZodNumber;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
createdAt: number;
|
||||
id: number;
|
||||
patientId: number;
|
||||
patient: number;
|
||||
procedureCode: number;
|
||||
procedureLabel: number;
|
||||
fee: number;
|
||||
category: number;
|
||||
toothNumber: number;
|
||||
toothSurface: number;
|
||||
oralCavityArea: number;
|
||||
source: number;
|
||||
comboKey: number;
|
||||
appointmentId: number;
|
||||
appointment: number;
|
||||
}, {
|
||||
createdAt: number;
|
||||
id: number;
|
||||
patientId: number;
|
||||
patient: number;
|
||||
procedureCode: number;
|
||||
procedureLabel: number;
|
||||
fee: number;
|
||||
category: number;
|
||||
toothNumber: number;
|
||||
toothSurface: number;
|
||||
oralCavityArea: number;
|
||||
source: number;
|
||||
comboKey: number;
|
||||
appointmentId: number;
|
||||
appointment: number;
|
||||
}>>;
|
||||
_sum: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
||||
id: z.ZodNullable<z.ZodNumber>;
|
||||
appointmentId: z.ZodNullable<z.ZodNumber>;
|
||||
patientId: z.ZodNullable<z.ZodNumber>;
|
||||
fee: z.ZodNullable<z.ZodNumber>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
id: number | null;
|
||||
patientId: number | null;
|
||||
fee: number | null;
|
||||
appointmentId: number | null;
|
||||
}, {
|
||||
id: number | null;
|
||||
patientId: number | null;
|
||||
fee: number | null;
|
||||
appointmentId: number | null;
|
||||
}>>>;
|
||||
_avg: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
||||
id: z.ZodNullable<z.ZodNumber>;
|
||||
appointmentId: z.ZodNullable<z.ZodNumber>;
|
||||
patientId: z.ZodNullable<z.ZodNumber>;
|
||||
fee: z.ZodNullable<z.ZodNumber>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
id: number | null;
|
||||
patientId: number | null;
|
||||
fee: number | null;
|
||||
appointmentId: number | null;
|
||||
}, {
|
||||
id: number | null;
|
||||
patientId: number | null;
|
||||
fee: number | null;
|
||||
appointmentId: number | null;
|
||||
}>>>;
|
||||
_min: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
||||
id: z.ZodNullable<z.ZodNumber>;
|
||||
appointmentId: z.ZodNullable<z.ZodNumber>;
|
||||
patientId: z.ZodNullable<z.ZodNumber>;
|
||||
procedureCode: z.ZodNullable<z.ZodString>;
|
||||
procedureLabel: z.ZodNullable<z.ZodString>;
|
||||
fee: z.ZodNullable<z.ZodNumber>;
|
||||
category: z.ZodNullable<z.ZodString>;
|
||||
toothNumber: z.ZodNullable<z.ZodString>;
|
||||
toothSurface: z.ZodNullable<z.ZodString>;
|
||||
oralCavityArea: z.ZodNullable<z.ZodString>;
|
||||
comboKey: z.ZodNullable<z.ZodString>;
|
||||
createdAt: z.ZodNullable<z.ZodDate>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
createdAt: Date | null;
|
||||
id: number | null;
|
||||
patientId: number | null;
|
||||
procedureCode: string | null;
|
||||
procedureLabel: string | null;
|
||||
fee: number | null;
|
||||
category: string | null;
|
||||
toothNumber: string | null;
|
||||
toothSurface: string | null;
|
||||
oralCavityArea: string | null;
|
||||
comboKey: string | null;
|
||||
appointmentId: number | null;
|
||||
}, {
|
||||
createdAt: Date | null;
|
||||
id: number | null;
|
||||
patientId: number | null;
|
||||
procedureCode: string | null;
|
||||
procedureLabel: string | null;
|
||||
fee: number | null;
|
||||
category: string | null;
|
||||
toothNumber: string | null;
|
||||
toothSurface: string | null;
|
||||
oralCavityArea: string | null;
|
||||
comboKey: string | null;
|
||||
appointmentId: number | null;
|
||||
}>>>;
|
||||
_max: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
||||
id: z.ZodNullable<z.ZodNumber>;
|
||||
appointmentId: z.ZodNullable<z.ZodNumber>;
|
||||
patientId: z.ZodNullable<z.ZodNumber>;
|
||||
procedureCode: z.ZodNullable<z.ZodString>;
|
||||
procedureLabel: z.ZodNullable<z.ZodString>;
|
||||
fee: z.ZodNullable<z.ZodNumber>;
|
||||
category: z.ZodNullable<z.ZodString>;
|
||||
toothNumber: z.ZodNullable<z.ZodString>;
|
||||
toothSurface: z.ZodNullable<z.ZodString>;
|
||||
oralCavityArea: z.ZodNullable<z.ZodString>;
|
||||
comboKey: z.ZodNullable<z.ZodString>;
|
||||
createdAt: z.ZodNullable<z.ZodDate>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
createdAt: Date | null;
|
||||
id: number | null;
|
||||
patientId: number | null;
|
||||
procedureCode: string | null;
|
||||
procedureLabel: string | null;
|
||||
fee: number | null;
|
||||
category: string | null;
|
||||
toothNumber: string | null;
|
||||
toothSurface: string | null;
|
||||
oralCavityArea: string | null;
|
||||
comboKey: string | null;
|
||||
appointmentId: number | null;
|
||||
}, {
|
||||
createdAt: Date | null;
|
||||
id: number | null;
|
||||
patientId: number | null;
|
||||
procedureCode: string | null;
|
||||
procedureLabel: string | null;
|
||||
fee: number | null;
|
||||
category: string | null;
|
||||
toothNumber: string | null;
|
||||
toothSurface: string | null;
|
||||
oralCavityArea: string | null;
|
||||
comboKey: string | null;
|
||||
appointmentId: number | null;
|
||||
}>>>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
_count?: {
|
||||
createdAt: number;
|
||||
id: number;
|
||||
patientId: number;
|
||||
patient: number;
|
||||
procedureCode: number;
|
||||
procedureLabel: number;
|
||||
fee: number;
|
||||
category: number;
|
||||
toothNumber: number;
|
||||
toothSurface: number;
|
||||
oralCavityArea: number;
|
||||
source: number;
|
||||
comboKey: number;
|
||||
appointmentId: number;
|
||||
appointment: number;
|
||||
} | undefined;
|
||||
_min?: {
|
||||
createdAt: Date | null;
|
||||
id: number | null;
|
||||
patientId: number | null;
|
||||
procedureCode: string | null;
|
||||
procedureLabel: string | null;
|
||||
fee: number | null;
|
||||
category: string | null;
|
||||
toothNumber: string | null;
|
||||
toothSurface: string | null;
|
||||
oralCavityArea: string | null;
|
||||
comboKey: string | null;
|
||||
appointmentId: number | null;
|
||||
} | null | undefined;
|
||||
_max?: {
|
||||
createdAt: Date | null;
|
||||
id: number | null;
|
||||
patientId: number | null;
|
||||
procedureCode: string | null;
|
||||
procedureLabel: string | null;
|
||||
fee: number | null;
|
||||
category: string | null;
|
||||
toothNumber: string | null;
|
||||
toothSurface: string | null;
|
||||
oralCavityArea: string | null;
|
||||
comboKey: string | null;
|
||||
appointmentId: number | null;
|
||||
} | null | undefined;
|
||||
_avg?: {
|
||||
id: number | null;
|
||||
patientId: number | null;
|
||||
fee: number | null;
|
||||
appointmentId: number | null;
|
||||
} | null | undefined;
|
||||
_sum?: {
|
||||
id: number | null;
|
||||
patientId: number | null;
|
||||
fee: number | null;
|
||||
appointmentId: number | null;
|
||||
} | null | undefined;
|
||||
}, {
|
||||
_count?: {
|
||||
createdAt: number;
|
||||
id: number;
|
||||
patientId: number;
|
||||
patient: number;
|
||||
procedureCode: number;
|
||||
procedureLabel: number;
|
||||
fee: number;
|
||||
category: number;
|
||||
toothNumber: number;
|
||||
toothSurface: number;
|
||||
oralCavityArea: number;
|
||||
source: number;
|
||||
comboKey: number;
|
||||
appointmentId: number;
|
||||
appointment: number;
|
||||
} | undefined;
|
||||
_min?: {
|
||||
createdAt: Date | null;
|
||||
id: number | null;
|
||||
patientId: number | null;
|
||||
procedureCode: string | null;
|
||||
procedureLabel: string | null;
|
||||
fee: number | null;
|
||||
category: string | null;
|
||||
toothNumber: string | null;
|
||||
toothSurface: string | null;
|
||||
oralCavityArea: string | null;
|
||||
comboKey: string | null;
|
||||
appointmentId: number | null;
|
||||
} | null | undefined;
|
||||
_max?: {
|
||||
createdAt: Date | null;
|
||||
id: number | null;
|
||||
patientId: number | null;
|
||||
procedureCode: string | null;
|
||||
procedureLabel: string | null;
|
||||
fee: number | null;
|
||||
category: string | null;
|
||||
toothNumber: string | null;
|
||||
toothSurface: string | null;
|
||||
oralCavityArea: string | null;
|
||||
comboKey: string | null;
|
||||
appointmentId: number | null;
|
||||
} | null | undefined;
|
||||
_avg?: {
|
||||
id: number | null;
|
||||
patientId: number | null;
|
||||
fee: number | null;
|
||||
appointmentId: number | null;
|
||||
} | null | undefined;
|
||||
_sum?: {
|
||||
id: number | null;
|
||||
patientId: number | null;
|
||||
fee: number | null;
|
||||
appointmentId: number | null;
|
||||
} | null | undefined;
|
||||
}>;
|
||||
//# sourceMappingURL=AppointmentProcedureAggregateResult.schema.d.ts.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AppointmentProcedureAggregateResult.schema.d.ts","sourceRoot":"","sources":["AppointmentProcedureAggregateResult.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwD1B,CAAC"}
|
||||
@@ -0,0 +1,94 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AppointmentProcedureAggregateResultSchema = void 0;
|
||||
const z = __importStar(require("zod"));
|
||||
exports.AppointmentProcedureAggregateResultSchema = z.object({ _count: z.object({
|
||||
id: z.number(),
|
||||
appointmentId: z.number(),
|
||||
patientId: z.number(),
|
||||
procedureCode: z.number(),
|
||||
procedureLabel: z.number(),
|
||||
fee: z.number(),
|
||||
category: z.number(),
|
||||
toothNumber: z.number(),
|
||||
toothSurface: z.number(),
|
||||
oralCavityArea: z.number(),
|
||||
source: z.number(),
|
||||
comboKey: z.number(),
|
||||
createdAt: z.number(),
|
||||
appointment: z.number(),
|
||||
patient: z.number()
|
||||
}).optional(),
|
||||
_sum: z.object({
|
||||
id: z.number().nullable(),
|
||||
appointmentId: z.number().nullable(),
|
||||
patientId: z.number().nullable(),
|
||||
fee: z.number().nullable()
|
||||
}).nullable().optional(),
|
||||
_avg: z.object({
|
||||
id: z.number().nullable(),
|
||||
appointmentId: z.number().nullable(),
|
||||
patientId: z.number().nullable(),
|
||||
fee: z.number().nullable()
|
||||
}).nullable().optional(),
|
||||
_min: z.object({
|
||||
id: z.number().int().nullable(),
|
||||
appointmentId: z.number().int().nullable(),
|
||||
patientId: z.number().int().nullable(),
|
||||
procedureCode: z.string().nullable(),
|
||||
procedureLabel: z.string().nullable(),
|
||||
fee: z.number().nullable(),
|
||||
category: z.string().nullable(),
|
||||
toothNumber: z.string().nullable(),
|
||||
toothSurface: z.string().nullable(),
|
||||
oralCavityArea: z.string().nullable(),
|
||||
comboKey: z.string().nullable(),
|
||||
createdAt: z.date().nullable()
|
||||
}).nullable().optional(),
|
||||
_max: z.object({
|
||||
id: z.number().int().nullable(),
|
||||
appointmentId: z.number().int().nullable(),
|
||||
patientId: z.number().int().nullable(),
|
||||
procedureCode: z.string().nullable(),
|
||||
procedureLabel: z.string().nullable(),
|
||||
fee: z.number().nullable(),
|
||||
category: z.string().nullable(),
|
||||
toothNumber: z.string().nullable(),
|
||||
toothSurface: z.string().nullable(),
|
||||
oralCavityArea: z.string().nullable(),
|
||||
comboKey: z.string().nullable(),
|
||||
createdAt: z.date().nullable()
|
||||
}).nullable().optional() });
|
||||
@@ -0,0 +1,58 @@
|
||||
import * as z from 'zod';
|
||||
export const AppointmentProcedureAggregateResultSchema = z.object({ _count: z.object({
|
||||
id: z.number(),
|
||||
appointmentId: z.number(),
|
||||
patientId: z.number(),
|
||||
procedureCode: z.number(),
|
||||
procedureLabel: z.number(),
|
||||
fee: z.number(),
|
||||
category: z.number(),
|
||||
toothNumber: z.number(),
|
||||
toothSurface: z.number(),
|
||||
oralCavityArea: z.number(),
|
||||
source: z.number(),
|
||||
comboKey: z.number(),
|
||||
createdAt: z.number(),
|
||||
appointment: z.number(),
|
||||
patient: z.number()
|
||||
}).optional(),
|
||||
_sum: z.object({
|
||||
id: z.number().nullable(),
|
||||
appointmentId: z.number().nullable(),
|
||||
patientId: z.number().nullable(),
|
||||
fee: z.number().nullable()
|
||||
}).nullable().optional(),
|
||||
_avg: z.object({
|
||||
id: z.number().nullable(),
|
||||
appointmentId: z.number().nullable(),
|
||||
patientId: z.number().nullable(),
|
||||
fee: z.number().nullable()
|
||||
}).nullable().optional(),
|
||||
_min: z.object({
|
||||
id: z.number().int().nullable(),
|
||||
appointmentId: z.number().int().nullable(),
|
||||
patientId: z.number().int().nullable(),
|
||||
procedureCode: z.string().nullable(),
|
||||
procedureLabel: z.string().nullable(),
|
||||
fee: z.number().nullable(),
|
||||
category: z.string().nullable(),
|
||||
toothNumber: z.string().nullable(),
|
||||
toothSurface: z.string().nullable(),
|
||||
oralCavityArea: z.string().nullable(),
|
||||
comboKey: z.string().nullable(),
|
||||
createdAt: z.date().nullable()
|
||||
}).nullable().optional(),
|
||||
_max: z.object({
|
||||
id: z.number().int().nullable(),
|
||||
appointmentId: z.number().int().nullable(),
|
||||
patientId: z.number().int().nullable(),
|
||||
procedureCode: z.string().nullable(),
|
||||
procedureLabel: z.string().nullable(),
|
||||
fee: z.number().nullable(),
|
||||
category: z.string().nullable(),
|
||||
toothNumber: z.string().nullable(),
|
||||
toothSurface: z.string().nullable(),
|
||||
oralCavityArea: z.string().nullable(),
|
||||
comboKey: z.string().nullable(),
|
||||
createdAt: z.date().nullable()
|
||||
}).nullable().optional()});
|
||||
3
packages/db/shared/schemas/results/AppointmentProcedureCountResult.schema.d.ts
vendored
Normal file
3
packages/db/shared/schemas/results/AppointmentProcedureCountResult.schema.d.ts
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
import * as z from 'zod';
|
||||
export declare const AppointmentProcedureCountResultSchema: z.ZodNumber;
|
||||
//# sourceMappingURL=AppointmentProcedureCountResult.schema.d.ts.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AppointmentProcedureCountResult.schema.d.ts","sourceRoot":"","sources":["AppointmentProcedureCountResult.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,eAAO,MAAM,qCAAqC,aAAa,CAAC"}
|
||||
@@ -0,0 +1,38 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AppointmentProcedureCountResultSchema = void 0;
|
||||
const z = __importStar(require("zod"));
|
||||
exports.AppointmentProcedureCountResultSchema = z.number();
|
||||
@@ -0,0 +1,2 @@
|
||||
import * as z from 'zod';
|
||||
export const AppointmentProcedureCountResultSchema = z.number();
|
||||
9
packages/db/shared/schemas/results/AppointmentProcedureCreateManyResult.schema.d.ts
vendored
Normal file
9
packages/db/shared/schemas/results/AppointmentProcedureCreateManyResult.schema.d.ts
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import * as z from 'zod';
|
||||
export declare const AppointmentProcedureCreateManyResultSchema: z.ZodObject<{
|
||||
count: z.ZodNumber;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
count: number;
|
||||
}, {
|
||||
count: number;
|
||||
}>;
|
||||
//# sourceMappingURL=AppointmentProcedureCreateManyResult.schema.d.ts.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AppointmentProcedureCreateManyResult.schema.d.ts","sourceRoot":"","sources":["AppointmentProcedureCreateManyResult.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,eAAO,MAAM,0CAA0C;;;;;;EAErD,CAAC"}
|
||||
@@ -0,0 +1,40 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AppointmentProcedureCreateManyResultSchema = void 0;
|
||||
const z = __importStar(require("zod"));
|
||||
exports.AppointmentProcedureCreateManyResultSchema = z.object({
|
||||
count: z.number()
|
||||
});
|
||||
@@ -0,0 +1,4 @@
|
||||
import * as z from 'zod';
|
||||
export const AppointmentProcedureCreateManyResultSchema = z.object({
|
||||
count: z.number()
|
||||
});
|
||||
51
packages/db/shared/schemas/results/AppointmentProcedureCreateResult.schema.d.ts
vendored
Normal file
51
packages/db/shared/schemas/results/AppointmentProcedureCreateResult.schema.d.ts
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
import * as z from 'zod';
|
||||
export declare const AppointmentProcedureCreateResultSchema: z.ZodObject<{
|
||||
id: z.ZodNumber;
|
||||
appointmentId: z.ZodNumber;
|
||||
patientId: z.ZodNumber;
|
||||
procedureCode: z.ZodString;
|
||||
procedureLabel: z.ZodOptional<z.ZodString>;
|
||||
fee: z.ZodOptional<z.ZodNumber>;
|
||||
category: z.ZodOptional<z.ZodString>;
|
||||
toothNumber: z.ZodOptional<z.ZodString>;
|
||||
toothSurface: z.ZodOptional<z.ZodString>;
|
||||
oralCavityArea: z.ZodOptional<z.ZodString>;
|
||||
source: z.ZodUnknown;
|
||||
comboKey: z.ZodOptional<z.ZodString>;
|
||||
createdAt: z.ZodDate;
|
||||
appointment: z.ZodUnknown;
|
||||
patient: z.ZodUnknown;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
patientId: number;
|
||||
procedureCode: string;
|
||||
appointmentId: number;
|
||||
patient?: unknown;
|
||||
procedureLabel?: string | undefined;
|
||||
fee?: number | undefined;
|
||||
category?: string | undefined;
|
||||
toothNumber?: string | undefined;
|
||||
toothSurface?: string | undefined;
|
||||
oralCavityArea?: string | undefined;
|
||||
source?: unknown;
|
||||
comboKey?: string | undefined;
|
||||
appointment?: unknown;
|
||||
}, {
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
patientId: number;
|
||||
procedureCode: string;
|
||||
appointmentId: number;
|
||||
patient?: unknown;
|
||||
procedureLabel?: string | undefined;
|
||||
fee?: number | undefined;
|
||||
category?: string | undefined;
|
||||
toothNumber?: string | undefined;
|
||||
toothSurface?: string | undefined;
|
||||
oralCavityArea?: string | undefined;
|
||||
source?: unknown;
|
||||
comboKey?: string | undefined;
|
||||
appointment?: unknown;
|
||||
}>;
|
||||
//# sourceMappingURL=AppointmentProcedureCreateResult.schema.d.ts.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AppointmentProcedureCreateResult.schema.d.ts","sourceRoot":"","sources":["AppointmentProcedureCreateResult.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBjD,CAAC"}
|
||||
@@ -0,0 +1,54 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AppointmentProcedureCreateResultSchema = void 0;
|
||||
const z = __importStar(require("zod"));
|
||||
exports.AppointmentProcedureCreateResultSchema = z.object({
|
||||
id: z.number().int(),
|
||||
appointmentId: z.number().int(),
|
||||
patientId: z.number().int(),
|
||||
procedureCode: z.string(),
|
||||
procedureLabel: z.string().optional(),
|
||||
fee: z.number().optional(),
|
||||
category: z.string().optional(),
|
||||
toothNumber: z.string().optional(),
|
||||
toothSurface: z.string().optional(),
|
||||
oralCavityArea: z.string().optional(),
|
||||
source: z.unknown(),
|
||||
comboKey: z.string().optional(),
|
||||
createdAt: z.date(),
|
||||
appointment: z.unknown(),
|
||||
patient: z.unknown()
|
||||
});
|
||||
@@ -0,0 +1,18 @@
|
||||
import * as z from 'zod';
|
||||
export const AppointmentProcedureCreateResultSchema = z.object({
|
||||
id: z.number().int(),
|
||||
appointmentId: z.number().int(),
|
||||
patientId: z.number().int(),
|
||||
procedureCode: z.string(),
|
||||
procedureLabel: z.string().optional(),
|
||||
fee: z.number().optional(),
|
||||
category: z.string().optional(),
|
||||
toothNumber: z.string().optional(),
|
||||
toothSurface: z.string().optional(),
|
||||
oralCavityArea: z.string().optional(),
|
||||
source: z.unknown(),
|
||||
comboKey: z.string().optional(),
|
||||
createdAt: z.date(),
|
||||
appointment: z.unknown(),
|
||||
patient: z.unknown()
|
||||
});
|
||||
9
packages/db/shared/schemas/results/AppointmentProcedureDeleteManyResult.schema.d.ts
vendored
Normal file
9
packages/db/shared/schemas/results/AppointmentProcedureDeleteManyResult.schema.d.ts
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import * as z from 'zod';
|
||||
export declare const AppointmentProcedureDeleteManyResultSchema: z.ZodObject<{
|
||||
count: z.ZodNumber;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
count: number;
|
||||
}, {
|
||||
count: number;
|
||||
}>;
|
||||
//# sourceMappingURL=AppointmentProcedureDeleteManyResult.schema.d.ts.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AppointmentProcedureDeleteManyResult.schema.d.ts","sourceRoot":"","sources":["AppointmentProcedureDeleteManyResult.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,eAAO,MAAM,0CAA0C;;;;;;EAErD,CAAC"}
|
||||
@@ -0,0 +1,40 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AppointmentProcedureDeleteManyResultSchema = void 0;
|
||||
const z = __importStar(require("zod"));
|
||||
exports.AppointmentProcedureDeleteManyResultSchema = z.object({
|
||||
count: z.number()
|
||||
});
|
||||
@@ -0,0 +1,4 @@
|
||||
import * as z from 'zod';
|
||||
export const AppointmentProcedureDeleteManyResultSchema = z.object({
|
||||
count: z.number()
|
||||
});
|
||||
51
packages/db/shared/schemas/results/AppointmentProcedureDeleteResult.schema.d.ts
vendored
Normal file
51
packages/db/shared/schemas/results/AppointmentProcedureDeleteResult.schema.d.ts
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
import * as z from 'zod';
|
||||
export declare const AppointmentProcedureDeleteResultSchema: z.ZodNullable<z.ZodObject<{
|
||||
id: z.ZodNumber;
|
||||
appointmentId: z.ZodNumber;
|
||||
patientId: z.ZodNumber;
|
||||
procedureCode: z.ZodString;
|
||||
procedureLabel: z.ZodOptional<z.ZodString>;
|
||||
fee: z.ZodOptional<z.ZodNumber>;
|
||||
category: z.ZodOptional<z.ZodString>;
|
||||
toothNumber: z.ZodOptional<z.ZodString>;
|
||||
toothSurface: z.ZodOptional<z.ZodString>;
|
||||
oralCavityArea: z.ZodOptional<z.ZodString>;
|
||||
source: z.ZodUnknown;
|
||||
comboKey: z.ZodOptional<z.ZodString>;
|
||||
createdAt: z.ZodDate;
|
||||
appointment: z.ZodUnknown;
|
||||
patient: z.ZodUnknown;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
patientId: number;
|
||||
procedureCode: string;
|
||||
appointmentId: number;
|
||||
patient?: unknown;
|
||||
procedureLabel?: string | undefined;
|
||||
fee?: number | undefined;
|
||||
category?: string | undefined;
|
||||
toothNumber?: string | undefined;
|
||||
toothSurface?: string | undefined;
|
||||
oralCavityArea?: string | undefined;
|
||||
source?: unknown;
|
||||
comboKey?: string | undefined;
|
||||
appointment?: unknown;
|
||||
}, {
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
patientId: number;
|
||||
procedureCode: string;
|
||||
appointmentId: number;
|
||||
patient?: unknown;
|
||||
procedureLabel?: string | undefined;
|
||||
fee?: number | undefined;
|
||||
category?: string | undefined;
|
||||
toothNumber?: string | undefined;
|
||||
toothSurface?: string | undefined;
|
||||
oralCavityArea?: string | undefined;
|
||||
source?: unknown;
|
||||
comboKey?: string | undefined;
|
||||
appointment?: unknown;
|
||||
}>>;
|
||||
//# sourceMappingURL=AppointmentProcedureDeleteResult.schema.d.ts.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AppointmentProcedureDeleteResult.schema.d.ts","sourceRoot":"","sources":["AppointmentProcedureDeleteResult.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgBhD,CAAC"}
|
||||
@@ -0,0 +1,54 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AppointmentProcedureDeleteResultSchema = void 0;
|
||||
const z = __importStar(require("zod"));
|
||||
exports.AppointmentProcedureDeleteResultSchema = z.nullable(z.object({
|
||||
id: z.number().int(),
|
||||
appointmentId: z.number().int(),
|
||||
patientId: z.number().int(),
|
||||
procedureCode: z.string(),
|
||||
procedureLabel: z.string().optional(),
|
||||
fee: z.number().optional(),
|
||||
category: z.string().optional(),
|
||||
toothNumber: z.string().optional(),
|
||||
toothSurface: z.string().optional(),
|
||||
oralCavityArea: z.string().optional(),
|
||||
source: z.unknown(),
|
||||
comboKey: z.string().optional(),
|
||||
createdAt: z.date(),
|
||||
appointment: z.unknown(),
|
||||
patient: z.unknown()
|
||||
}));
|
||||
@@ -0,0 +1,18 @@
|
||||
import * as z from 'zod';
|
||||
export const AppointmentProcedureDeleteResultSchema = z.nullable(z.object({
|
||||
id: z.number().int(),
|
||||
appointmentId: z.number().int(),
|
||||
patientId: z.number().int(),
|
||||
procedureCode: z.string(),
|
||||
procedureLabel: z.string().optional(),
|
||||
fee: z.number().optional(),
|
||||
category: z.string().optional(),
|
||||
toothNumber: z.string().optional(),
|
||||
toothSurface: z.string().optional(),
|
||||
oralCavityArea: z.string().optional(),
|
||||
source: z.unknown(),
|
||||
comboKey: z.string().optional(),
|
||||
createdAt: z.date(),
|
||||
appointment: z.unknown(),
|
||||
patient: z.unknown()
|
||||
}));
|
||||
51
packages/db/shared/schemas/results/AppointmentProcedureFindFirstResult.schema.d.ts
vendored
Normal file
51
packages/db/shared/schemas/results/AppointmentProcedureFindFirstResult.schema.d.ts
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
import * as z from 'zod';
|
||||
export declare const AppointmentProcedureFindFirstResultSchema: z.ZodNullable<z.ZodObject<{
|
||||
id: z.ZodNumber;
|
||||
appointmentId: z.ZodNumber;
|
||||
patientId: z.ZodNumber;
|
||||
procedureCode: z.ZodString;
|
||||
procedureLabel: z.ZodOptional<z.ZodString>;
|
||||
fee: z.ZodOptional<z.ZodNumber>;
|
||||
category: z.ZodOptional<z.ZodString>;
|
||||
toothNumber: z.ZodOptional<z.ZodString>;
|
||||
toothSurface: z.ZodOptional<z.ZodString>;
|
||||
oralCavityArea: z.ZodOptional<z.ZodString>;
|
||||
source: z.ZodUnknown;
|
||||
comboKey: z.ZodOptional<z.ZodString>;
|
||||
createdAt: z.ZodDate;
|
||||
appointment: z.ZodUnknown;
|
||||
patient: z.ZodUnknown;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
patientId: number;
|
||||
procedureCode: string;
|
||||
appointmentId: number;
|
||||
patient?: unknown;
|
||||
procedureLabel?: string | undefined;
|
||||
fee?: number | undefined;
|
||||
category?: string | undefined;
|
||||
toothNumber?: string | undefined;
|
||||
toothSurface?: string | undefined;
|
||||
oralCavityArea?: string | undefined;
|
||||
source?: unknown;
|
||||
comboKey?: string | undefined;
|
||||
appointment?: unknown;
|
||||
}, {
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
patientId: number;
|
||||
procedureCode: string;
|
||||
appointmentId: number;
|
||||
patient?: unknown;
|
||||
procedureLabel?: string | undefined;
|
||||
fee?: number | undefined;
|
||||
category?: string | undefined;
|
||||
toothNumber?: string | undefined;
|
||||
toothSurface?: string | undefined;
|
||||
oralCavityArea?: string | undefined;
|
||||
source?: unknown;
|
||||
comboKey?: string | undefined;
|
||||
appointment?: unknown;
|
||||
}>>;
|
||||
//# sourceMappingURL=AppointmentProcedureFindFirstResult.schema.d.ts.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AppointmentProcedureFindFirstResult.schema.d.ts","sourceRoot":"","sources":["AppointmentProcedureFindFirstResult.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgBnD,CAAC"}
|
||||
@@ -0,0 +1,54 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AppointmentProcedureFindFirstResultSchema = void 0;
|
||||
const z = __importStar(require("zod"));
|
||||
exports.AppointmentProcedureFindFirstResultSchema = z.nullable(z.object({
|
||||
id: z.number().int(),
|
||||
appointmentId: z.number().int(),
|
||||
patientId: z.number().int(),
|
||||
procedureCode: z.string(),
|
||||
procedureLabel: z.string().optional(),
|
||||
fee: z.number().optional(),
|
||||
category: z.string().optional(),
|
||||
toothNumber: z.string().optional(),
|
||||
toothSurface: z.string().optional(),
|
||||
oralCavityArea: z.string().optional(),
|
||||
source: z.unknown(),
|
||||
comboKey: z.string().optional(),
|
||||
createdAt: z.date(),
|
||||
appointment: z.unknown(),
|
||||
patient: z.unknown()
|
||||
}));
|
||||
@@ -0,0 +1,18 @@
|
||||
import * as z from 'zod';
|
||||
export const AppointmentProcedureFindFirstResultSchema = z.nullable(z.object({
|
||||
id: z.number().int(),
|
||||
appointmentId: z.number().int(),
|
||||
patientId: z.number().int(),
|
||||
procedureCode: z.string(),
|
||||
procedureLabel: z.string().optional(),
|
||||
fee: z.number().optional(),
|
||||
category: z.string().optional(),
|
||||
toothNumber: z.string().optional(),
|
||||
toothSurface: z.string().optional(),
|
||||
oralCavityArea: z.string().optional(),
|
||||
source: z.unknown(),
|
||||
comboKey: z.string().optional(),
|
||||
createdAt: z.date(),
|
||||
appointment: z.unknown(),
|
||||
patient: z.unknown()
|
||||
}));
|
||||
127
packages/db/shared/schemas/results/AppointmentProcedureFindManyResult.schema.d.ts
vendored
Normal file
127
packages/db/shared/schemas/results/AppointmentProcedureFindManyResult.schema.d.ts
vendored
Normal file
@@ -0,0 +1,127 @@
|
||||
import * as z from 'zod';
|
||||
export declare const AppointmentProcedureFindManyResultSchema: z.ZodObject<{
|
||||
data: z.ZodArray<z.ZodObject<{
|
||||
id: z.ZodNumber;
|
||||
appointmentId: z.ZodNumber;
|
||||
patientId: z.ZodNumber;
|
||||
procedureCode: z.ZodString;
|
||||
procedureLabel: z.ZodOptional<z.ZodString>;
|
||||
fee: z.ZodOptional<z.ZodNumber>;
|
||||
category: z.ZodOptional<z.ZodString>;
|
||||
toothNumber: z.ZodOptional<z.ZodString>;
|
||||
toothSurface: z.ZodOptional<z.ZodString>;
|
||||
oralCavityArea: z.ZodOptional<z.ZodString>;
|
||||
source: z.ZodUnknown;
|
||||
comboKey: z.ZodOptional<z.ZodString>;
|
||||
createdAt: z.ZodDate;
|
||||
appointment: z.ZodUnknown;
|
||||
patient: z.ZodUnknown;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
patientId: number;
|
||||
procedureCode: string;
|
||||
appointmentId: number;
|
||||
patient?: unknown;
|
||||
procedureLabel?: string | undefined;
|
||||
fee?: number | undefined;
|
||||
category?: string | undefined;
|
||||
toothNumber?: string | undefined;
|
||||
toothSurface?: string | undefined;
|
||||
oralCavityArea?: string | undefined;
|
||||
source?: unknown;
|
||||
comboKey?: string | undefined;
|
||||
appointment?: unknown;
|
||||
}, {
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
patientId: number;
|
||||
procedureCode: string;
|
||||
appointmentId: number;
|
||||
patient?: unknown;
|
||||
procedureLabel?: string | undefined;
|
||||
fee?: number | undefined;
|
||||
category?: string | undefined;
|
||||
toothNumber?: string | undefined;
|
||||
toothSurface?: string | undefined;
|
||||
oralCavityArea?: string | undefined;
|
||||
source?: unknown;
|
||||
comboKey?: string | undefined;
|
||||
appointment?: unknown;
|
||||
}>, "many">;
|
||||
pagination: z.ZodObject<{
|
||||
page: z.ZodNumber;
|
||||
pageSize: z.ZodNumber;
|
||||
total: z.ZodNumber;
|
||||
totalPages: z.ZodNumber;
|
||||
hasNext: z.ZodBoolean;
|
||||
hasPrev: z.ZodBoolean;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
page: number;
|
||||
pageSize: number;
|
||||
total: number;
|
||||
totalPages: number;
|
||||
hasNext: boolean;
|
||||
hasPrev: boolean;
|
||||
}, {
|
||||
page: number;
|
||||
pageSize: number;
|
||||
total: number;
|
||||
totalPages: number;
|
||||
hasNext: boolean;
|
||||
hasPrev: boolean;
|
||||
}>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
data: {
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
patientId: number;
|
||||
procedureCode: string;
|
||||
appointmentId: number;
|
||||
patient?: unknown;
|
||||
procedureLabel?: string | undefined;
|
||||
fee?: number | undefined;
|
||||
category?: string | undefined;
|
||||
toothNumber?: string | undefined;
|
||||
toothSurface?: string | undefined;
|
||||
oralCavityArea?: string | undefined;
|
||||
source?: unknown;
|
||||
comboKey?: string | undefined;
|
||||
appointment?: unknown;
|
||||
}[];
|
||||
pagination: {
|
||||
page: number;
|
||||
pageSize: number;
|
||||
total: number;
|
||||
totalPages: number;
|
||||
hasNext: boolean;
|
||||
hasPrev: boolean;
|
||||
};
|
||||
}, {
|
||||
data: {
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
patientId: number;
|
||||
procedureCode: string;
|
||||
appointmentId: number;
|
||||
patient?: unknown;
|
||||
procedureLabel?: string | undefined;
|
||||
fee?: number | undefined;
|
||||
category?: string | undefined;
|
||||
toothNumber?: string | undefined;
|
||||
toothSurface?: string | undefined;
|
||||
oralCavityArea?: string | undefined;
|
||||
source?: unknown;
|
||||
comboKey?: string | undefined;
|
||||
appointment?: unknown;
|
||||
}[];
|
||||
pagination: {
|
||||
page: number;
|
||||
pageSize: number;
|
||||
total: number;
|
||||
totalPages: number;
|
||||
hasNext: boolean;
|
||||
hasPrev: boolean;
|
||||
};
|
||||
}>;
|
||||
//# sourceMappingURL=AppointmentProcedureFindManyResult.schema.d.ts.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AppointmentProcedureFindManyResult.schema.d.ts","sourceRoot":"","sources":["AppointmentProcedureFindManyResult.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0BnD,CAAC"}
|
||||
@@ -0,0 +1,64 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AppointmentProcedureFindManyResultSchema = void 0;
|
||||
const z = __importStar(require("zod"));
|
||||
exports.AppointmentProcedureFindManyResultSchema = z.object({
|
||||
data: z.array(z.object({
|
||||
id: z.number().int(),
|
||||
appointmentId: z.number().int(),
|
||||
patientId: z.number().int(),
|
||||
procedureCode: z.string(),
|
||||
procedureLabel: z.string().optional(),
|
||||
fee: z.number().optional(),
|
||||
category: z.string().optional(),
|
||||
toothNumber: z.string().optional(),
|
||||
toothSurface: z.string().optional(),
|
||||
oralCavityArea: z.string().optional(),
|
||||
source: z.unknown(),
|
||||
comboKey: z.string().optional(),
|
||||
createdAt: z.date(),
|
||||
appointment: z.unknown(),
|
||||
patient: z.unknown()
|
||||
})),
|
||||
pagination: z.object({
|
||||
page: z.number().int().min(1),
|
||||
pageSize: z.number().int().min(1),
|
||||
total: z.number().int().min(0),
|
||||
totalPages: z.number().int().min(0),
|
||||
hasNext: z.boolean(),
|
||||
hasPrev: z.boolean()
|
||||
})
|
||||
});
|
||||
@@ -0,0 +1,28 @@
|
||||
import * as z from 'zod';
|
||||
export const AppointmentProcedureFindManyResultSchema = z.object({
|
||||
data: z.array(z.object({
|
||||
id: z.number().int(),
|
||||
appointmentId: z.number().int(),
|
||||
patientId: z.number().int(),
|
||||
procedureCode: z.string(),
|
||||
procedureLabel: z.string().optional(),
|
||||
fee: z.number().optional(),
|
||||
category: z.string().optional(),
|
||||
toothNumber: z.string().optional(),
|
||||
toothSurface: z.string().optional(),
|
||||
oralCavityArea: z.string().optional(),
|
||||
source: z.unknown(),
|
||||
comboKey: z.string().optional(),
|
||||
createdAt: z.date(),
|
||||
appointment: z.unknown(),
|
||||
patient: z.unknown()
|
||||
})),
|
||||
pagination: z.object({
|
||||
page: z.number().int().min(1),
|
||||
pageSize: z.number().int().min(1),
|
||||
total: z.number().int().min(0),
|
||||
totalPages: z.number().int().min(0),
|
||||
hasNext: z.boolean(),
|
||||
hasPrev: z.boolean()
|
||||
})
|
||||
});
|
||||
51
packages/db/shared/schemas/results/AppointmentProcedureFindUniqueResult.schema.d.ts
vendored
Normal file
51
packages/db/shared/schemas/results/AppointmentProcedureFindUniqueResult.schema.d.ts
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
import * as z from 'zod';
|
||||
export declare const AppointmentProcedureFindUniqueResultSchema: z.ZodNullable<z.ZodObject<{
|
||||
id: z.ZodNumber;
|
||||
appointmentId: z.ZodNumber;
|
||||
patientId: z.ZodNumber;
|
||||
procedureCode: z.ZodString;
|
||||
procedureLabel: z.ZodOptional<z.ZodString>;
|
||||
fee: z.ZodOptional<z.ZodNumber>;
|
||||
category: z.ZodOptional<z.ZodString>;
|
||||
toothNumber: z.ZodOptional<z.ZodString>;
|
||||
toothSurface: z.ZodOptional<z.ZodString>;
|
||||
oralCavityArea: z.ZodOptional<z.ZodString>;
|
||||
source: z.ZodUnknown;
|
||||
comboKey: z.ZodOptional<z.ZodString>;
|
||||
createdAt: z.ZodDate;
|
||||
appointment: z.ZodUnknown;
|
||||
patient: z.ZodUnknown;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
patientId: number;
|
||||
procedureCode: string;
|
||||
appointmentId: number;
|
||||
patient?: unknown;
|
||||
procedureLabel?: string | undefined;
|
||||
fee?: number | undefined;
|
||||
category?: string | undefined;
|
||||
toothNumber?: string | undefined;
|
||||
toothSurface?: string | undefined;
|
||||
oralCavityArea?: string | undefined;
|
||||
source?: unknown;
|
||||
comboKey?: string | undefined;
|
||||
appointment?: unknown;
|
||||
}, {
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
patientId: number;
|
||||
procedureCode: string;
|
||||
appointmentId: number;
|
||||
patient?: unknown;
|
||||
procedureLabel?: string | undefined;
|
||||
fee?: number | undefined;
|
||||
category?: string | undefined;
|
||||
toothNumber?: string | undefined;
|
||||
toothSurface?: string | undefined;
|
||||
oralCavityArea?: string | undefined;
|
||||
source?: unknown;
|
||||
comboKey?: string | undefined;
|
||||
appointment?: unknown;
|
||||
}>>;
|
||||
//# sourceMappingURL=AppointmentProcedureFindUniqueResult.schema.d.ts.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AppointmentProcedureFindUniqueResult.schema.d.ts","sourceRoot":"","sources":["AppointmentProcedureFindUniqueResult.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,eAAO,MAAM,0CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgBpD,CAAC"}
|
||||
@@ -0,0 +1,54 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AppointmentProcedureFindUniqueResultSchema = void 0;
|
||||
const z = __importStar(require("zod"));
|
||||
exports.AppointmentProcedureFindUniqueResultSchema = z.nullable(z.object({
|
||||
id: z.number().int(),
|
||||
appointmentId: z.number().int(),
|
||||
patientId: z.number().int(),
|
||||
procedureCode: z.string(),
|
||||
procedureLabel: z.string().optional(),
|
||||
fee: z.number().optional(),
|
||||
category: z.string().optional(),
|
||||
toothNumber: z.string().optional(),
|
||||
toothSurface: z.string().optional(),
|
||||
oralCavityArea: z.string().optional(),
|
||||
source: z.unknown(),
|
||||
comboKey: z.string().optional(),
|
||||
createdAt: z.date(),
|
||||
appointment: z.unknown(),
|
||||
patient: z.unknown()
|
||||
}));
|
||||
@@ -0,0 +1,18 @@
|
||||
import * as z from 'zod';
|
||||
export const AppointmentProcedureFindUniqueResultSchema = z.nullable(z.object({
|
||||
id: z.number().int(),
|
||||
appointmentId: z.number().int(),
|
||||
patientId: z.number().int(),
|
||||
procedureCode: z.string(),
|
||||
procedureLabel: z.string().optional(),
|
||||
fee: z.number().optional(),
|
||||
category: z.string().optional(),
|
||||
toothNumber: z.string().optional(),
|
||||
toothSurface: z.string().optional(),
|
||||
oralCavityArea: z.string().optional(),
|
||||
source: z.unknown(),
|
||||
comboKey: z.string().optional(),
|
||||
createdAt: z.date(),
|
||||
appointment: z.unknown(),
|
||||
patient: z.unknown()
|
||||
}));
|
||||
317
packages/db/shared/schemas/results/AppointmentProcedureGroupByResult.schema.d.ts
vendored
Normal file
317
packages/db/shared/schemas/results/AppointmentProcedureGroupByResult.schema.d.ts
vendored
Normal file
@@ -0,0 +1,317 @@
|
||||
import * as z from 'zod';
|
||||
export declare const AppointmentProcedureGroupByResultSchema: z.ZodArray<z.ZodObject<{
|
||||
id: z.ZodNumber;
|
||||
appointmentId: z.ZodNumber;
|
||||
patientId: z.ZodNumber;
|
||||
procedureCode: z.ZodString;
|
||||
procedureLabel: z.ZodString;
|
||||
fee: z.ZodNumber;
|
||||
category: z.ZodString;
|
||||
toothNumber: z.ZodString;
|
||||
toothSurface: z.ZodString;
|
||||
oralCavityArea: z.ZodString;
|
||||
comboKey: z.ZodString;
|
||||
createdAt: z.ZodDate;
|
||||
_count: z.ZodOptional<z.ZodObject<{
|
||||
id: z.ZodNumber;
|
||||
appointmentId: z.ZodNumber;
|
||||
patientId: z.ZodNumber;
|
||||
procedureCode: z.ZodNumber;
|
||||
procedureLabel: z.ZodNumber;
|
||||
fee: z.ZodNumber;
|
||||
category: z.ZodNumber;
|
||||
toothNumber: z.ZodNumber;
|
||||
toothSurface: z.ZodNumber;
|
||||
oralCavityArea: z.ZodNumber;
|
||||
source: z.ZodNumber;
|
||||
comboKey: z.ZodNumber;
|
||||
createdAt: z.ZodNumber;
|
||||
appointment: z.ZodNumber;
|
||||
patient: z.ZodNumber;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
createdAt: number;
|
||||
id: number;
|
||||
patientId: number;
|
||||
patient: number;
|
||||
procedureCode: number;
|
||||
procedureLabel: number;
|
||||
fee: number;
|
||||
category: number;
|
||||
toothNumber: number;
|
||||
toothSurface: number;
|
||||
oralCavityArea: number;
|
||||
source: number;
|
||||
comboKey: number;
|
||||
appointmentId: number;
|
||||
appointment: number;
|
||||
}, {
|
||||
createdAt: number;
|
||||
id: number;
|
||||
patientId: number;
|
||||
patient: number;
|
||||
procedureCode: number;
|
||||
procedureLabel: number;
|
||||
fee: number;
|
||||
category: number;
|
||||
toothNumber: number;
|
||||
toothSurface: number;
|
||||
oralCavityArea: number;
|
||||
source: number;
|
||||
comboKey: number;
|
||||
appointmentId: number;
|
||||
appointment: number;
|
||||
}>>;
|
||||
_sum: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
||||
id: z.ZodNullable<z.ZodNumber>;
|
||||
appointmentId: z.ZodNullable<z.ZodNumber>;
|
||||
patientId: z.ZodNullable<z.ZodNumber>;
|
||||
fee: z.ZodNullable<z.ZodNumber>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
id: number | null;
|
||||
patientId: number | null;
|
||||
fee: number | null;
|
||||
appointmentId: number | null;
|
||||
}, {
|
||||
id: number | null;
|
||||
patientId: number | null;
|
||||
fee: number | null;
|
||||
appointmentId: number | null;
|
||||
}>>>;
|
||||
_avg: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
||||
id: z.ZodNullable<z.ZodNumber>;
|
||||
appointmentId: z.ZodNullable<z.ZodNumber>;
|
||||
patientId: z.ZodNullable<z.ZodNumber>;
|
||||
fee: z.ZodNullable<z.ZodNumber>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
id: number | null;
|
||||
patientId: number | null;
|
||||
fee: number | null;
|
||||
appointmentId: number | null;
|
||||
}, {
|
||||
id: number | null;
|
||||
patientId: number | null;
|
||||
fee: number | null;
|
||||
appointmentId: number | null;
|
||||
}>>>;
|
||||
_min: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
||||
id: z.ZodNullable<z.ZodNumber>;
|
||||
appointmentId: z.ZodNullable<z.ZodNumber>;
|
||||
patientId: z.ZodNullable<z.ZodNumber>;
|
||||
procedureCode: z.ZodNullable<z.ZodString>;
|
||||
procedureLabel: z.ZodNullable<z.ZodString>;
|
||||
fee: z.ZodNullable<z.ZodNumber>;
|
||||
category: z.ZodNullable<z.ZodString>;
|
||||
toothNumber: z.ZodNullable<z.ZodString>;
|
||||
toothSurface: z.ZodNullable<z.ZodString>;
|
||||
oralCavityArea: z.ZodNullable<z.ZodString>;
|
||||
comboKey: z.ZodNullable<z.ZodString>;
|
||||
createdAt: z.ZodNullable<z.ZodDate>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
createdAt: Date | null;
|
||||
id: number | null;
|
||||
patientId: number | null;
|
||||
procedureCode: string | null;
|
||||
procedureLabel: string | null;
|
||||
fee: number | null;
|
||||
category: string | null;
|
||||
toothNumber: string | null;
|
||||
toothSurface: string | null;
|
||||
oralCavityArea: string | null;
|
||||
comboKey: string | null;
|
||||
appointmentId: number | null;
|
||||
}, {
|
||||
createdAt: Date | null;
|
||||
id: number | null;
|
||||
patientId: number | null;
|
||||
procedureCode: string | null;
|
||||
procedureLabel: string | null;
|
||||
fee: number | null;
|
||||
category: string | null;
|
||||
toothNumber: string | null;
|
||||
toothSurface: string | null;
|
||||
oralCavityArea: string | null;
|
||||
comboKey: string | null;
|
||||
appointmentId: number | null;
|
||||
}>>>;
|
||||
_max: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
||||
id: z.ZodNullable<z.ZodNumber>;
|
||||
appointmentId: z.ZodNullable<z.ZodNumber>;
|
||||
patientId: z.ZodNullable<z.ZodNumber>;
|
||||
procedureCode: z.ZodNullable<z.ZodString>;
|
||||
procedureLabel: z.ZodNullable<z.ZodString>;
|
||||
fee: z.ZodNullable<z.ZodNumber>;
|
||||
category: z.ZodNullable<z.ZodString>;
|
||||
toothNumber: z.ZodNullable<z.ZodString>;
|
||||
toothSurface: z.ZodNullable<z.ZodString>;
|
||||
oralCavityArea: z.ZodNullable<z.ZodString>;
|
||||
comboKey: z.ZodNullable<z.ZodString>;
|
||||
createdAt: z.ZodNullable<z.ZodDate>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
createdAt: Date | null;
|
||||
id: number | null;
|
||||
patientId: number | null;
|
||||
procedureCode: string | null;
|
||||
procedureLabel: string | null;
|
||||
fee: number | null;
|
||||
category: string | null;
|
||||
toothNumber: string | null;
|
||||
toothSurface: string | null;
|
||||
oralCavityArea: string | null;
|
||||
comboKey: string | null;
|
||||
appointmentId: number | null;
|
||||
}, {
|
||||
createdAt: Date | null;
|
||||
id: number | null;
|
||||
patientId: number | null;
|
||||
procedureCode: string | null;
|
||||
procedureLabel: string | null;
|
||||
fee: number | null;
|
||||
category: string | null;
|
||||
toothNumber: string | null;
|
||||
toothSurface: string | null;
|
||||
oralCavityArea: string | null;
|
||||
comboKey: string | null;
|
||||
appointmentId: number | null;
|
||||
}>>>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
patientId: number;
|
||||
procedureCode: string;
|
||||
procedureLabel: string;
|
||||
fee: number;
|
||||
category: string;
|
||||
toothNumber: string;
|
||||
toothSurface: string;
|
||||
oralCavityArea: string;
|
||||
comboKey: string;
|
||||
appointmentId: number;
|
||||
_count?: {
|
||||
createdAt: number;
|
||||
id: number;
|
||||
patientId: number;
|
||||
patient: number;
|
||||
procedureCode: number;
|
||||
procedureLabel: number;
|
||||
fee: number;
|
||||
category: number;
|
||||
toothNumber: number;
|
||||
toothSurface: number;
|
||||
oralCavityArea: number;
|
||||
source: number;
|
||||
comboKey: number;
|
||||
appointmentId: number;
|
||||
appointment: number;
|
||||
} | undefined;
|
||||
_min?: {
|
||||
createdAt: Date | null;
|
||||
id: number | null;
|
||||
patientId: number | null;
|
||||
procedureCode: string | null;
|
||||
procedureLabel: string | null;
|
||||
fee: number | null;
|
||||
category: string | null;
|
||||
toothNumber: string | null;
|
||||
toothSurface: string | null;
|
||||
oralCavityArea: string | null;
|
||||
comboKey: string | null;
|
||||
appointmentId: number | null;
|
||||
} | null | undefined;
|
||||
_max?: {
|
||||
createdAt: Date | null;
|
||||
id: number | null;
|
||||
patientId: number | null;
|
||||
procedureCode: string | null;
|
||||
procedureLabel: string | null;
|
||||
fee: number | null;
|
||||
category: string | null;
|
||||
toothNumber: string | null;
|
||||
toothSurface: string | null;
|
||||
oralCavityArea: string | null;
|
||||
comboKey: string | null;
|
||||
appointmentId: number | null;
|
||||
} | null | undefined;
|
||||
_avg?: {
|
||||
id: number | null;
|
||||
patientId: number | null;
|
||||
fee: number | null;
|
||||
appointmentId: number | null;
|
||||
} | null | undefined;
|
||||
_sum?: {
|
||||
id: number | null;
|
||||
patientId: number | null;
|
||||
fee: number | null;
|
||||
appointmentId: number | null;
|
||||
} | null | undefined;
|
||||
}, {
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
patientId: number;
|
||||
procedureCode: string;
|
||||
procedureLabel: string;
|
||||
fee: number;
|
||||
category: string;
|
||||
toothNumber: string;
|
||||
toothSurface: string;
|
||||
oralCavityArea: string;
|
||||
comboKey: string;
|
||||
appointmentId: number;
|
||||
_count?: {
|
||||
createdAt: number;
|
||||
id: number;
|
||||
patientId: number;
|
||||
patient: number;
|
||||
procedureCode: number;
|
||||
procedureLabel: number;
|
||||
fee: number;
|
||||
category: number;
|
||||
toothNumber: number;
|
||||
toothSurface: number;
|
||||
oralCavityArea: number;
|
||||
source: number;
|
||||
comboKey: number;
|
||||
appointmentId: number;
|
||||
appointment: number;
|
||||
} | undefined;
|
||||
_min?: {
|
||||
createdAt: Date | null;
|
||||
id: number | null;
|
||||
patientId: number | null;
|
||||
procedureCode: string | null;
|
||||
procedureLabel: string | null;
|
||||
fee: number | null;
|
||||
category: string | null;
|
||||
toothNumber: string | null;
|
||||
toothSurface: string | null;
|
||||
oralCavityArea: string | null;
|
||||
comboKey: string | null;
|
||||
appointmentId: number | null;
|
||||
} | null | undefined;
|
||||
_max?: {
|
||||
createdAt: Date | null;
|
||||
id: number | null;
|
||||
patientId: number | null;
|
||||
procedureCode: string | null;
|
||||
procedureLabel: string | null;
|
||||
fee: number | null;
|
||||
category: string | null;
|
||||
toothNumber: string | null;
|
||||
toothSurface: string | null;
|
||||
oralCavityArea: string | null;
|
||||
comboKey: string | null;
|
||||
appointmentId: number | null;
|
||||
} | null | undefined;
|
||||
_avg?: {
|
||||
id: number | null;
|
||||
patientId: number | null;
|
||||
fee: number | null;
|
||||
appointmentId: number | null;
|
||||
} | null | undefined;
|
||||
_sum?: {
|
||||
id: number | null;
|
||||
patientId: number | null;
|
||||
fee: number | null;
|
||||
appointmentId: number | null;
|
||||
} | null | undefined;
|
||||
}>, "many">;
|
||||
//# sourceMappingURL=AppointmentProcedureGroupByResult.schema.d.ts.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AppointmentProcedureGroupByResult.schema.d.ts","sourceRoot":"","sources":["AppointmentProcedureGroupByResult.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAsEjD,CAAC"}
|
||||
@@ -0,0 +1,108 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AppointmentProcedureGroupByResultSchema = void 0;
|
||||
const z = __importStar(require("zod"));
|
||||
exports.AppointmentProcedureGroupByResultSchema = z.array(z.object({
|
||||
id: z.number().int(),
|
||||
appointmentId: z.number().int(),
|
||||
patientId: z.number().int(),
|
||||
procedureCode: z.string(),
|
||||
procedureLabel: z.string(),
|
||||
fee: z.number(),
|
||||
category: z.string(),
|
||||
toothNumber: z.string(),
|
||||
toothSurface: z.string(),
|
||||
oralCavityArea: z.string(),
|
||||
comboKey: z.string(),
|
||||
createdAt: z.date(),
|
||||
_count: z.object({
|
||||
id: z.number(),
|
||||
appointmentId: z.number(),
|
||||
patientId: z.number(),
|
||||
procedureCode: z.number(),
|
||||
procedureLabel: z.number(),
|
||||
fee: z.number(),
|
||||
category: z.number(),
|
||||
toothNumber: z.number(),
|
||||
toothSurface: z.number(),
|
||||
oralCavityArea: z.number(),
|
||||
source: z.number(),
|
||||
comboKey: z.number(),
|
||||
createdAt: z.number(),
|
||||
appointment: z.number(),
|
||||
patient: z.number()
|
||||
}).optional(),
|
||||
_sum: z.object({
|
||||
id: z.number().nullable(),
|
||||
appointmentId: z.number().nullable(),
|
||||
patientId: z.number().nullable(),
|
||||
fee: z.number().nullable()
|
||||
}).nullable().optional(),
|
||||
_avg: z.object({
|
||||
id: z.number().nullable(),
|
||||
appointmentId: z.number().nullable(),
|
||||
patientId: z.number().nullable(),
|
||||
fee: z.number().nullable()
|
||||
}).nullable().optional(),
|
||||
_min: z.object({
|
||||
id: z.number().int().nullable(),
|
||||
appointmentId: z.number().int().nullable(),
|
||||
patientId: z.number().int().nullable(),
|
||||
procedureCode: z.string().nullable(),
|
||||
procedureLabel: z.string().nullable(),
|
||||
fee: z.number().nullable(),
|
||||
category: z.string().nullable(),
|
||||
toothNumber: z.string().nullable(),
|
||||
toothSurface: z.string().nullable(),
|
||||
oralCavityArea: z.string().nullable(),
|
||||
comboKey: z.string().nullable(),
|
||||
createdAt: z.date().nullable()
|
||||
}).nullable().optional(),
|
||||
_max: z.object({
|
||||
id: z.number().int().nullable(),
|
||||
appointmentId: z.number().int().nullable(),
|
||||
patientId: z.number().int().nullable(),
|
||||
procedureCode: z.string().nullable(),
|
||||
procedureLabel: z.string().nullable(),
|
||||
fee: z.number().nullable(),
|
||||
category: z.string().nullable(),
|
||||
toothNumber: z.string().nullable(),
|
||||
toothSurface: z.string().nullable(),
|
||||
oralCavityArea: z.string().nullable(),
|
||||
comboKey: z.string().nullable(),
|
||||
createdAt: z.date().nullable()
|
||||
}).nullable().optional()
|
||||
}));
|
||||
@@ -0,0 +1,72 @@
|
||||
import * as z from 'zod';
|
||||
export const AppointmentProcedureGroupByResultSchema = z.array(z.object({
|
||||
id: z.number().int(),
|
||||
appointmentId: z.number().int(),
|
||||
patientId: z.number().int(),
|
||||
procedureCode: z.string(),
|
||||
procedureLabel: z.string(),
|
||||
fee: z.number(),
|
||||
category: z.string(),
|
||||
toothNumber: z.string(),
|
||||
toothSurface: z.string(),
|
||||
oralCavityArea: z.string(),
|
||||
comboKey: z.string(),
|
||||
createdAt: z.date(),
|
||||
_count: z.object({
|
||||
id: z.number(),
|
||||
appointmentId: z.number(),
|
||||
patientId: z.number(),
|
||||
procedureCode: z.number(),
|
||||
procedureLabel: z.number(),
|
||||
fee: z.number(),
|
||||
category: z.number(),
|
||||
toothNumber: z.number(),
|
||||
toothSurface: z.number(),
|
||||
oralCavityArea: z.number(),
|
||||
source: z.number(),
|
||||
comboKey: z.number(),
|
||||
createdAt: z.number(),
|
||||
appointment: z.number(),
|
||||
patient: z.number()
|
||||
}).optional(),
|
||||
_sum: z.object({
|
||||
id: z.number().nullable(),
|
||||
appointmentId: z.number().nullable(),
|
||||
patientId: z.number().nullable(),
|
||||
fee: z.number().nullable()
|
||||
}).nullable().optional(),
|
||||
_avg: z.object({
|
||||
id: z.number().nullable(),
|
||||
appointmentId: z.number().nullable(),
|
||||
patientId: z.number().nullable(),
|
||||
fee: z.number().nullable()
|
||||
}).nullable().optional(),
|
||||
_min: z.object({
|
||||
id: z.number().int().nullable(),
|
||||
appointmentId: z.number().int().nullable(),
|
||||
patientId: z.number().int().nullable(),
|
||||
procedureCode: z.string().nullable(),
|
||||
procedureLabel: z.string().nullable(),
|
||||
fee: z.number().nullable(),
|
||||
category: z.string().nullable(),
|
||||
toothNumber: z.string().nullable(),
|
||||
toothSurface: z.string().nullable(),
|
||||
oralCavityArea: z.string().nullable(),
|
||||
comboKey: z.string().nullable(),
|
||||
createdAt: z.date().nullable()
|
||||
}).nullable().optional(),
|
||||
_max: z.object({
|
||||
id: z.number().int().nullable(),
|
||||
appointmentId: z.number().int().nullable(),
|
||||
patientId: z.number().int().nullable(),
|
||||
procedureCode: z.string().nullable(),
|
||||
procedureLabel: z.string().nullable(),
|
||||
fee: z.number().nullable(),
|
||||
category: z.string().nullable(),
|
||||
toothNumber: z.string().nullable(),
|
||||
toothSurface: z.string().nullable(),
|
||||
oralCavityArea: z.string().nullable(),
|
||||
comboKey: z.string().nullable(),
|
||||
createdAt: z.date().nullable()
|
||||
}).nullable().optional()
|
||||
}));
|
||||
9
packages/db/shared/schemas/results/AppointmentProcedureUpdateManyResult.schema.d.ts
vendored
Normal file
9
packages/db/shared/schemas/results/AppointmentProcedureUpdateManyResult.schema.d.ts
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import * as z from 'zod';
|
||||
export declare const AppointmentProcedureUpdateManyResultSchema: z.ZodObject<{
|
||||
count: z.ZodNumber;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
count: number;
|
||||
}, {
|
||||
count: number;
|
||||
}>;
|
||||
//# sourceMappingURL=AppointmentProcedureUpdateManyResult.schema.d.ts.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AppointmentProcedureUpdateManyResult.schema.d.ts","sourceRoot":"","sources":["AppointmentProcedureUpdateManyResult.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,eAAO,MAAM,0CAA0C;;;;;;EAErD,CAAC"}
|
||||
@@ -0,0 +1,40 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AppointmentProcedureUpdateManyResultSchema = void 0;
|
||||
const z = __importStar(require("zod"));
|
||||
exports.AppointmentProcedureUpdateManyResultSchema = z.object({
|
||||
count: z.number()
|
||||
});
|
||||
@@ -0,0 +1,4 @@
|
||||
import * as z from 'zod';
|
||||
export const AppointmentProcedureUpdateManyResultSchema = z.object({
|
||||
count: z.number()
|
||||
});
|
||||
51
packages/db/shared/schemas/results/AppointmentProcedureUpdateResult.schema.d.ts
vendored
Normal file
51
packages/db/shared/schemas/results/AppointmentProcedureUpdateResult.schema.d.ts
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
import * as z from 'zod';
|
||||
export declare const AppointmentProcedureUpdateResultSchema: z.ZodNullable<z.ZodObject<{
|
||||
id: z.ZodNumber;
|
||||
appointmentId: z.ZodNumber;
|
||||
patientId: z.ZodNumber;
|
||||
procedureCode: z.ZodString;
|
||||
procedureLabel: z.ZodOptional<z.ZodString>;
|
||||
fee: z.ZodOptional<z.ZodNumber>;
|
||||
category: z.ZodOptional<z.ZodString>;
|
||||
toothNumber: z.ZodOptional<z.ZodString>;
|
||||
toothSurface: z.ZodOptional<z.ZodString>;
|
||||
oralCavityArea: z.ZodOptional<z.ZodString>;
|
||||
source: z.ZodUnknown;
|
||||
comboKey: z.ZodOptional<z.ZodString>;
|
||||
createdAt: z.ZodDate;
|
||||
appointment: z.ZodUnknown;
|
||||
patient: z.ZodUnknown;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
patientId: number;
|
||||
procedureCode: string;
|
||||
appointmentId: number;
|
||||
patient?: unknown;
|
||||
procedureLabel?: string | undefined;
|
||||
fee?: number | undefined;
|
||||
category?: string | undefined;
|
||||
toothNumber?: string | undefined;
|
||||
toothSurface?: string | undefined;
|
||||
oralCavityArea?: string | undefined;
|
||||
source?: unknown;
|
||||
comboKey?: string | undefined;
|
||||
appointment?: unknown;
|
||||
}, {
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
patientId: number;
|
||||
procedureCode: string;
|
||||
appointmentId: number;
|
||||
patient?: unknown;
|
||||
procedureLabel?: string | undefined;
|
||||
fee?: number | undefined;
|
||||
category?: string | undefined;
|
||||
toothNumber?: string | undefined;
|
||||
toothSurface?: string | undefined;
|
||||
oralCavityArea?: string | undefined;
|
||||
source?: unknown;
|
||||
comboKey?: string | undefined;
|
||||
appointment?: unknown;
|
||||
}>>;
|
||||
//# sourceMappingURL=AppointmentProcedureUpdateResult.schema.d.ts.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AppointmentProcedureUpdateResult.schema.d.ts","sourceRoot":"","sources":["AppointmentProcedureUpdateResult.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgBhD,CAAC"}
|
||||
@@ -0,0 +1,54 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AppointmentProcedureUpdateResultSchema = void 0;
|
||||
const z = __importStar(require("zod"));
|
||||
exports.AppointmentProcedureUpdateResultSchema = z.nullable(z.object({
|
||||
id: z.number().int(),
|
||||
appointmentId: z.number().int(),
|
||||
patientId: z.number().int(),
|
||||
procedureCode: z.string(),
|
||||
procedureLabel: z.string().optional(),
|
||||
fee: z.number().optional(),
|
||||
category: z.string().optional(),
|
||||
toothNumber: z.string().optional(),
|
||||
toothSurface: z.string().optional(),
|
||||
oralCavityArea: z.string().optional(),
|
||||
source: z.unknown(),
|
||||
comboKey: z.string().optional(),
|
||||
createdAt: z.date(),
|
||||
appointment: z.unknown(),
|
||||
patient: z.unknown()
|
||||
}));
|
||||
@@ -0,0 +1,18 @@
|
||||
import * as z from 'zod';
|
||||
export const AppointmentProcedureUpdateResultSchema = z.nullable(z.object({
|
||||
id: z.number().int(),
|
||||
appointmentId: z.number().int(),
|
||||
patientId: z.number().int(),
|
||||
procedureCode: z.string(),
|
||||
procedureLabel: z.string().optional(),
|
||||
fee: z.number().optional(),
|
||||
category: z.string().optional(),
|
||||
toothNumber: z.string().optional(),
|
||||
toothSurface: z.string().optional(),
|
||||
oralCavityArea: z.string().optional(),
|
||||
source: z.unknown(),
|
||||
comboKey: z.string().optional(),
|
||||
createdAt: z.date(),
|
||||
appointment: z.unknown(),
|
||||
patient: z.unknown()
|
||||
}));
|
||||
51
packages/db/shared/schemas/results/AppointmentProcedureUpsertResult.schema.d.ts
vendored
Normal file
51
packages/db/shared/schemas/results/AppointmentProcedureUpsertResult.schema.d.ts
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
import * as z from 'zod';
|
||||
export declare const AppointmentProcedureUpsertResultSchema: z.ZodObject<{
|
||||
id: z.ZodNumber;
|
||||
appointmentId: z.ZodNumber;
|
||||
patientId: z.ZodNumber;
|
||||
procedureCode: z.ZodString;
|
||||
procedureLabel: z.ZodOptional<z.ZodString>;
|
||||
fee: z.ZodOptional<z.ZodNumber>;
|
||||
category: z.ZodOptional<z.ZodString>;
|
||||
toothNumber: z.ZodOptional<z.ZodString>;
|
||||
toothSurface: z.ZodOptional<z.ZodString>;
|
||||
oralCavityArea: z.ZodOptional<z.ZodString>;
|
||||
source: z.ZodUnknown;
|
||||
comboKey: z.ZodOptional<z.ZodString>;
|
||||
createdAt: z.ZodDate;
|
||||
appointment: z.ZodUnknown;
|
||||
patient: z.ZodUnknown;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
patientId: number;
|
||||
procedureCode: string;
|
||||
appointmentId: number;
|
||||
patient?: unknown;
|
||||
procedureLabel?: string | undefined;
|
||||
fee?: number | undefined;
|
||||
category?: string | undefined;
|
||||
toothNumber?: string | undefined;
|
||||
toothSurface?: string | undefined;
|
||||
oralCavityArea?: string | undefined;
|
||||
source?: unknown;
|
||||
comboKey?: string | undefined;
|
||||
appointment?: unknown;
|
||||
}, {
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
patientId: number;
|
||||
procedureCode: string;
|
||||
appointmentId: number;
|
||||
patient?: unknown;
|
||||
procedureLabel?: string | undefined;
|
||||
fee?: number | undefined;
|
||||
category?: string | undefined;
|
||||
toothNumber?: string | undefined;
|
||||
toothSurface?: string | undefined;
|
||||
oralCavityArea?: string | undefined;
|
||||
source?: unknown;
|
||||
comboKey?: string | undefined;
|
||||
appointment?: unknown;
|
||||
}>;
|
||||
//# sourceMappingURL=AppointmentProcedureUpsertResult.schema.d.ts.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AppointmentProcedureUpsertResult.schema.d.ts","sourceRoot":"","sources":["AppointmentProcedureUpsertResult.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBjD,CAAC"}
|
||||
@@ -0,0 +1,54 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AppointmentProcedureUpsertResultSchema = void 0;
|
||||
const z = __importStar(require("zod"));
|
||||
exports.AppointmentProcedureUpsertResultSchema = z.object({
|
||||
id: z.number().int(),
|
||||
appointmentId: z.number().int(),
|
||||
patientId: z.number().int(),
|
||||
procedureCode: z.string(),
|
||||
procedureLabel: z.string().optional(),
|
||||
fee: z.number().optional(),
|
||||
category: z.string().optional(),
|
||||
toothNumber: z.string().optional(),
|
||||
toothSurface: z.string().optional(),
|
||||
oralCavityArea: z.string().optional(),
|
||||
source: z.unknown(),
|
||||
comboKey: z.string().optional(),
|
||||
createdAt: z.date(),
|
||||
appointment: z.unknown(),
|
||||
patient: z.unknown()
|
||||
});
|
||||
@@ -0,0 +1,18 @@
|
||||
import * as z from 'zod';
|
||||
export const AppointmentProcedureUpsertResultSchema = z.object({
|
||||
id: z.number().int(),
|
||||
appointmentId: z.number().int(),
|
||||
patientId: z.number().int(),
|
||||
procedureCode: z.string(),
|
||||
procedureLabel: z.string().optional(),
|
||||
fee: z.number().optional(),
|
||||
category: z.string().optional(),
|
||||
toothNumber: z.string().optional(),
|
||||
toothSurface: z.string().optional(),
|
||||
oralCavityArea: z.string().optional(),
|
||||
source: z.unknown(),
|
||||
comboKey: z.string().optional(),
|
||||
createdAt: z.date(),
|
||||
appointment: z.unknown(),
|
||||
patient: z.unknown()
|
||||
});
|
||||
9
packages/db/shared/schemas/results/AppointmentUpdateManyResult.schema.d.ts
vendored
Normal file
9
packages/db/shared/schemas/results/AppointmentUpdateManyResult.schema.d.ts
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import * as z from 'zod';
|
||||
export declare const AppointmentUpdateManyResultSchema: z.ZodObject<{
|
||||
count: z.ZodNumber;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
count: number;
|
||||
}, {
|
||||
count: number;
|
||||
}>;
|
||||
//# sourceMappingURL=AppointmentUpdateManyResult.schema.d.ts.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AppointmentUpdateManyResult.schema.d.ts","sourceRoot":"","sources":["AppointmentUpdateManyResult.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,eAAO,MAAM,iCAAiC;;;;;;EAE5C,CAAC"}
|
||||
@@ -0,0 +1,40 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AppointmentUpdateManyResultSchema = void 0;
|
||||
const z = __importStar(require("zod"));
|
||||
exports.AppointmentUpdateManyResultSchema = z.object({
|
||||
count: z.number()
|
||||
});
|
||||
@@ -0,0 +1,4 @@
|
||||
import * as z from 'zod';
|
||||
export const AppointmentUpdateManyResultSchema = z.object({
|
||||
count: z.number()
|
||||
});
|
||||
63
packages/db/shared/schemas/results/AppointmentUpdateResult.schema.d.ts
vendored
Normal file
63
packages/db/shared/schemas/results/AppointmentUpdateResult.schema.d.ts
vendored
Normal file
@@ -0,0 +1,63 @@
|
||||
import * as z from 'zod';
|
||||
export declare const AppointmentUpdateResultSchema: z.ZodNullable<z.ZodObject<{
|
||||
id: z.ZodNumber;
|
||||
patientId: z.ZodNumber;
|
||||
userId: z.ZodNumber;
|
||||
staffId: z.ZodNumber;
|
||||
title: z.ZodString;
|
||||
date: z.ZodDate;
|
||||
startTime: z.ZodString;
|
||||
endTime: z.ZodString;
|
||||
type: z.ZodString;
|
||||
notes: z.ZodOptional<z.ZodString>;
|
||||
procedureCodeNotes: z.ZodOptional<z.ZodString>;
|
||||
status: z.ZodString;
|
||||
createdAt: z.ZodDate;
|
||||
eligibilityStatus: z.ZodUnknown;
|
||||
patient: z.ZodUnknown;
|
||||
user: z.ZodUnknown;
|
||||
staff: z.ZodOptional<z.ZodUnknown>;
|
||||
procedures: z.ZodArray<z.ZodUnknown, "many">;
|
||||
claims: z.ZodArray<z.ZodUnknown, "many">;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
type: string;
|
||||
status: string;
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
userId: number;
|
||||
date: Date;
|
||||
title: string;
|
||||
patientId: number;
|
||||
startTime: string;
|
||||
endTime: string;
|
||||
procedures: unknown[];
|
||||
staffId: number;
|
||||
claims: unknown[];
|
||||
user?: unknown;
|
||||
patient?: unknown;
|
||||
notes?: string | undefined;
|
||||
procedureCodeNotes?: string | undefined;
|
||||
eligibilityStatus?: unknown;
|
||||
staff?: unknown;
|
||||
}, {
|
||||
type: string;
|
||||
status: string;
|
||||
createdAt: Date;
|
||||
id: number;
|
||||
userId: number;
|
||||
date: Date;
|
||||
title: string;
|
||||
patientId: number;
|
||||
startTime: string;
|
||||
endTime: string;
|
||||
procedures: unknown[];
|
||||
staffId: number;
|
||||
claims: unknown[];
|
||||
user?: unknown;
|
||||
patient?: unknown;
|
||||
notes?: string | undefined;
|
||||
procedureCodeNotes?: string | undefined;
|
||||
eligibilityStatus?: unknown;
|
||||
staff?: unknown;
|
||||
}>>;
|
||||
//# sourceMappingURL=AppointmentUpdateResult.schema.d.ts.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AppointmentUpdateResult.schema.d.ts","sourceRoot":"","sources":["AppointmentUpdateResult.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoBvC,CAAC"}
|
||||
@@ -0,0 +1,58 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AppointmentUpdateResultSchema = void 0;
|
||||
const z = __importStar(require("zod"));
|
||||
exports.AppointmentUpdateResultSchema = z.nullable(z.object({
|
||||
id: z.number().int(),
|
||||
patientId: z.number().int(),
|
||||
userId: z.number().int(),
|
||||
staffId: z.number().int(),
|
||||
title: z.string(),
|
||||
date: z.date(),
|
||||
startTime: z.string(),
|
||||
endTime: z.string(),
|
||||
type: z.string(),
|
||||
notes: z.string().optional(),
|
||||
procedureCodeNotes: z.string().optional(),
|
||||
status: z.string(),
|
||||
createdAt: z.date(),
|
||||
eligibilityStatus: z.unknown(),
|
||||
patient: z.unknown(),
|
||||
user: z.unknown(),
|
||||
staff: z.unknown().optional(),
|
||||
procedures: z.array(z.unknown()),
|
||||
claims: z.array(z.unknown())
|
||||
}));
|
||||
@@ -0,0 +1,22 @@
|
||||
import * as z from 'zod';
|
||||
export const AppointmentUpdateResultSchema = z.nullable(z.object({
|
||||
id: z.number().int(),
|
||||
patientId: z.number().int(),
|
||||
userId: z.number().int(),
|
||||
staffId: z.number().int(),
|
||||
title: z.string(),
|
||||
date: z.date(),
|
||||
startTime: z.string(),
|
||||
endTime: z.string(),
|
||||
type: z.string(),
|
||||
notes: z.string().optional(),
|
||||
procedureCodeNotes: z.string().optional(),
|
||||
status: z.string(),
|
||||
createdAt: z.date(),
|
||||
eligibilityStatus: z.unknown(),
|
||||
patient: z.unknown(),
|
||||
user: z.unknown(),
|
||||
staff: z.unknown().optional(),
|
||||
procedures: z.array(z.unknown()),
|
||||
claims: z.array(z.unknown())
|
||||
}));
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user