zenstack/tests/e2e/github-repos/cal.com/models.ts
Copilot 5d1053f658
fix(schema): use type-only imports to prevent bundling server dependencies in client code (#668)
* Initial plan

* Fix: Change ModelResult/TypeDefResult imports to type-only imports in ts-schema-generator

Co-authored-by: ymc9 <104139426+ymc9@users.noreply.github.com>

* Regenerate test schemas with type-only imports

Co-authored-by: ymc9 <104139426+ymc9@users.noreply.github.com>

* Fix: Update bun runtime models.ts to use type-only imports

Co-authored-by: Yiming Cao <ymc9@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ymc9 <104139426+ymc9@users.noreply.github.com>
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Yiming Cao <ymc9@users.noreply.github.com>
2026-02-07 23:25:23 +08:00

174 lines
12 KiB
TypeScript

//////////////////////////////////////////////////////////////////////////////////////////////
// DO NOT MODIFY THIS FILE //
// This file is automatically generated by ZenStack CLI and should not be manually updated. //
//////////////////////////////////////////////////////////////////////////////////////////////
/* eslint-disable */
import { schema as $schema, type SchemaType as $Schema } from "./schema";
import type { ModelResult as $ModelResult } from "@zenstackhq/orm";
export type Host = $ModelResult<$Schema, "Host">;
export type CalVideoSettings = $ModelResult<$Schema, "CalVideoSettings">;
export type EventType = $ModelResult<$Schema, "EventType">;
export type Credential = $ModelResult<$Schema, "Credential">;
export type DestinationCalendar = $ModelResult<$Schema, "DestinationCalendar">;
export type UserPassword = $ModelResult<$Schema, "UserPassword">;
export type TravelSchedule = $ModelResult<$Schema, "TravelSchedule">;
export type User = $ModelResult<$Schema, "User">;
export type NotificationsSubscriptions = $ModelResult<$Schema, "NotificationsSubscriptions">;
export type Profile = $ModelResult<$Schema, "Profile">;
export type Team = $ModelResult<$Schema, "Team">;
export type CreditBalance = $ModelResult<$Schema, "CreditBalance">;
export type CreditPurchaseLog = $ModelResult<$Schema, "CreditPurchaseLog">;
export type CreditExpenseLog = $ModelResult<$Schema, "CreditExpenseLog">;
export type OrganizationSettings = $ModelResult<$Schema, "OrganizationSettings">;
export type Membership = $ModelResult<$Schema, "Membership">;
export type VerificationToken = $ModelResult<$Schema, "VerificationToken">;
export type InstantMeetingToken = $ModelResult<$Schema, "InstantMeetingToken">;
export type BookingReference = $ModelResult<$Schema, "BookingReference">;
export type Attendee = $ModelResult<$Schema, "Attendee">;
export type Booking = $ModelResult<$Schema, "Booking">;
export type Tracking = $ModelResult<$Schema, "Tracking">;
export type Schedule = $ModelResult<$Schema, "Schedule">;
export type Availability = $ModelResult<$Schema, "Availability">;
export type SelectedCalendar = $ModelResult<$Schema, "SelectedCalendar">;
export type EventTypeCustomInput = $ModelResult<$Schema, "EventTypeCustomInput">;
export type ResetPasswordRequest = $ModelResult<$Schema, "ResetPasswordRequest">;
export type ReminderMail = $ModelResult<$Schema, "ReminderMail">;
export type Payment = $ModelResult<$Schema, "Payment">;
export type Webhook = $ModelResult<$Schema, "Webhook">;
export type Impersonations = $ModelResult<$Schema, "Impersonations">;
export type ApiKey = $ModelResult<$Schema, "ApiKey">;
export type RateLimit = $ModelResult<$Schema, "RateLimit">;
export type HashedLink = $ModelResult<$Schema, "HashedLink">;
export type Account = $ModelResult<$Schema, "Account">;
export type Session = $ModelResult<$Schema, "Session">;
export type App = $ModelResult<$Schema, "App">;
export type App_RoutingForms_Form = $ModelResult<$Schema, "App_RoutingForms_Form">;
export type App_RoutingForms_FormResponse = $ModelResult<$Schema, "App_RoutingForms_FormResponse">;
export type App_RoutingForms_QueuedFormResponse = $ModelResult<$Schema, "App_RoutingForms_QueuedFormResponse">;
export type RoutingFormResponseField = $ModelResult<$Schema, "RoutingFormResponseField">;
export type RoutingFormResponse = $ModelResult<$Schema, "RoutingFormResponse">;
export type RoutingFormResponseDenormalized = $ModelResult<$Schema, "RoutingFormResponseDenormalized">;
export type Feedback = $ModelResult<$Schema, "Feedback">;
export type WorkflowStep = $ModelResult<$Schema, "WorkflowStep">;
export type Workflow = $ModelResult<$Schema, "Workflow">;
export type AIPhoneCallConfiguration = $ModelResult<$Schema, "AIPhoneCallConfiguration">;
export type WorkflowsOnEventTypes = $ModelResult<$Schema, "WorkflowsOnEventTypes">;
export type WorkflowsOnTeams = $ModelResult<$Schema, "WorkflowsOnTeams">;
export type Deployment = $ModelResult<$Schema, "Deployment">;
export type WorkflowReminder = $ModelResult<$Schema, "WorkflowReminder">;
export type WebhookScheduledTriggers = $ModelResult<$Schema, "WebhookScheduledTriggers">;
export type BookingSeat = $ModelResult<$Schema, "BookingSeat">;
export type VerifiedNumber = $ModelResult<$Schema, "VerifiedNumber">;
export type VerifiedEmail = $ModelResult<$Schema, "VerifiedEmail">;
export type Feature = $ModelResult<$Schema, "Feature">;
export type UserFeatures = $ModelResult<$Schema, "UserFeatures">;
export type TeamFeatures = $ModelResult<$Schema, "TeamFeatures">;
export type SelectedSlots = $ModelResult<$Schema, "SelectedSlots">;
export type OAuthClient = $ModelResult<$Schema, "OAuthClient">;
export type AccessCode = $ModelResult<$Schema, "AccessCode">;
export type BookingTimeStatus = $ModelResult<$Schema, "BookingTimeStatus">;
export type BookingDenormalized = $ModelResult<$Schema, "BookingDenormalized">;
export type BookingTimeStatusDenormalized = $ModelResult<$Schema, "BookingTimeStatusDenormalized">;
export type CalendarCache = $ModelResult<$Schema, "CalendarCache">;
export type TempOrgRedirect = $ModelResult<$Schema, "TempOrgRedirect">;
export type Avatar = $ModelResult<$Schema, "Avatar">;
export type OutOfOfficeEntry = $ModelResult<$Schema, "OutOfOfficeEntry">;
export type OutOfOfficeReason = $ModelResult<$Schema, "OutOfOfficeReason">;
export type PlatformOAuthClient = $ModelResult<$Schema, "PlatformOAuthClient">;
export type PlatformAuthorizationToken = $ModelResult<$Schema, "PlatformAuthorizationToken">;
export type AccessToken = $ModelResult<$Schema, "AccessToken">;
export type RefreshToken = $ModelResult<$Schema, "RefreshToken">;
export type DSyncData = $ModelResult<$Schema, "DSyncData">;
export type DSyncTeamGroupMapping = $ModelResult<$Schema, "DSyncTeamGroupMapping">;
export type SecondaryEmail = $ModelResult<$Schema, "SecondaryEmail">;
export type Task = $ModelResult<$Schema, "Task">;
export type ManagedOrganization = $ModelResult<$Schema, "ManagedOrganization">;
export type PlatformBilling = $ModelResult<$Schema, "PlatformBilling">;
export type AttributeOption = $ModelResult<$Schema, "AttributeOption">;
export type Attribute = $ModelResult<$Schema, "Attribute">;
export type AttributeToUser = $ModelResult<$Schema, "AttributeToUser">;
export type AssignmentReason = $ModelResult<$Schema, "AssignmentReason">;
export type DelegationCredential = $ModelResult<$Schema, "DelegationCredential">;
export type DomainWideDelegation = $ModelResult<$Schema, "DomainWideDelegation">;
export type WorkspacePlatform = $ModelResult<$Schema, "WorkspacePlatform">;
export type EventTypeTranslation = $ModelResult<$Schema, "EventTypeTranslation">;
export type Watchlist = $ModelResult<$Schema, "Watchlist">;
export type OrganizationOnboarding = $ModelResult<$Schema, "OrganizationOnboarding">;
export type App_RoutingForms_IncompleteBookingActions = $ModelResult<$Schema, "App_RoutingForms_IncompleteBookingActions">;
export type InternalNotePreset = $ModelResult<$Schema, "InternalNotePreset">;
export type FilterSegment = $ModelResult<$Schema, "FilterSegment">;
export type UserFilterSegmentPreference = $ModelResult<$Schema, "UserFilterSegmentPreference">;
export type BookingInternalNote = $ModelResult<$Schema, "BookingInternalNote">;
export type WorkflowOptOutContact = $ModelResult<$Schema, "WorkflowOptOutContact">;
export type Role = $ModelResult<$Schema, "Role">;
export type RolePermission = $ModelResult<$Schema, "RolePermission">;
export const SchedulingType = $schema.enums.SchedulingType.values;
export type SchedulingType = (typeof SchedulingType)[keyof typeof SchedulingType];
export const PeriodType = $schema.enums.PeriodType.values;
export type PeriodType = (typeof PeriodType)[keyof typeof PeriodType];
export const CreationSource = $schema.enums.CreationSource.values;
export type CreationSource = (typeof CreationSource)[keyof typeof CreationSource];
export const IdentityProvider = $schema.enums.IdentityProvider.values;
export type IdentityProvider = (typeof IdentityProvider)[keyof typeof IdentityProvider];
export const UserPermissionRole = $schema.enums.UserPermissionRole.values;
export type UserPermissionRole = (typeof UserPermissionRole)[keyof typeof UserPermissionRole];
export const CreditType = $schema.enums.CreditType.values;
export type CreditType = (typeof CreditType)[keyof typeof CreditType];
export const MembershipRole = $schema.enums.MembershipRole.values;
export type MembershipRole = (typeof MembershipRole)[keyof typeof MembershipRole];
export const BookingStatus = $schema.enums.BookingStatus.values;
export type BookingStatus = (typeof BookingStatus)[keyof typeof BookingStatus];
export const EventTypeCustomInputType = $schema.enums.EventTypeCustomInputType.values;
export type EventTypeCustomInputType = (typeof EventTypeCustomInputType)[keyof typeof EventTypeCustomInputType];
export const ReminderType = $schema.enums.ReminderType.values;
export type ReminderType = (typeof ReminderType)[keyof typeof ReminderType];
export const PaymentOption = $schema.enums.PaymentOption.values;
export type PaymentOption = (typeof PaymentOption)[keyof typeof PaymentOption];
export const WebhookTriggerEvents = $schema.enums.WebhookTriggerEvents.values;
export type WebhookTriggerEvents = (typeof WebhookTriggerEvents)[keyof typeof WebhookTriggerEvents];
export const AppCategories = $schema.enums.AppCategories.values;
export type AppCategories = (typeof AppCategories)[keyof typeof AppCategories];
export const WorkflowTriggerEvents = $schema.enums.WorkflowTriggerEvents.values;
export type WorkflowTriggerEvents = (typeof WorkflowTriggerEvents)[keyof typeof WorkflowTriggerEvents];
export const WorkflowActions = $schema.enums.WorkflowActions.values;
export type WorkflowActions = (typeof WorkflowActions)[keyof typeof WorkflowActions];
export const TimeUnit = $schema.enums.TimeUnit.values;
export type TimeUnit = (typeof TimeUnit)[keyof typeof TimeUnit];
export const WorkflowTemplates = $schema.enums.WorkflowTemplates.values;
export type WorkflowTemplates = (typeof WorkflowTemplates)[keyof typeof WorkflowTemplates];
export const WorkflowMethods = $schema.enums.WorkflowMethods.values;
export type WorkflowMethods = (typeof WorkflowMethods)[keyof typeof WorkflowMethods];
export const FeatureType = $schema.enums.FeatureType.values;
export type FeatureType = (typeof FeatureType)[keyof typeof FeatureType];
export const RRResetInterval = $schema.enums.RRResetInterval.values;
export type RRResetInterval = (typeof RRResetInterval)[keyof typeof RRResetInterval];
export const RRTimestampBasis = $schema.enums.RRTimestampBasis.values;
export type RRTimestampBasis = (typeof RRTimestampBasis)[keyof typeof RRTimestampBasis];
export const AccessScope = $schema.enums.AccessScope.values;
export type AccessScope = (typeof AccessScope)[keyof typeof AccessScope];
export const RedirectType = $schema.enums.RedirectType.values;
export type RedirectType = (typeof RedirectType)[keyof typeof RedirectType];
export const SMSLockState = $schema.enums.SMSLockState.values;
export type SMSLockState = (typeof SMSLockState)[keyof typeof SMSLockState];
export const AttributeType = $schema.enums.AttributeType.values;
export type AttributeType = (typeof AttributeType)[keyof typeof AttributeType];
export const AssignmentReasonEnum = $schema.enums.AssignmentReasonEnum.values;
export type AssignmentReasonEnum = (typeof AssignmentReasonEnum)[keyof typeof AssignmentReasonEnum];
export const EventTypeAutoTranslatedField = $schema.enums.EventTypeAutoTranslatedField.values;
export type EventTypeAutoTranslatedField = (typeof EventTypeAutoTranslatedField)[keyof typeof EventTypeAutoTranslatedField];
export const WatchlistType = $schema.enums.WatchlistType.values;
export type WatchlistType = (typeof WatchlistType)[keyof typeof WatchlistType];
export const WatchlistSeverity = $schema.enums.WatchlistSeverity.values;
export type WatchlistSeverity = (typeof WatchlistSeverity)[keyof typeof WatchlistSeverity];
export const BillingPeriod = $schema.enums.BillingPeriod.values;
export type BillingPeriod = (typeof BillingPeriod)[keyof typeof BillingPeriod];
export const IncompleteBookingActionType = $schema.enums.IncompleteBookingActionType.values;
export type IncompleteBookingActionType = (typeof IncompleteBookingActionType)[keyof typeof IncompleteBookingActionType];
export const FilterSegmentScope = $schema.enums.FilterSegmentScope.values;
export type FilterSegmentScope = (typeof FilterSegmentScope)[keyof typeof FilterSegmentScope];
export const WorkflowContactType = $schema.enums.WorkflowContactType.values;
export type WorkflowContactType = (typeof WorkflowContactType)[keyof typeof WorkflowContactType];
export const RoleType = $schema.enums.RoleType.values;
export type RoleType = (typeof RoleType)[keyof typeof RoleType];