@calcom/atoms 1.9.0-types → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AddressInput--MyfiHUX.js → AddressInput-Tjtt5E23.js} +1 -1
- package/dist/{AlbyPriceComponent-gi8mvX02.js → AlbyPriceComponent-CopWzIWz.js} +1 -1
- package/dist/{AppCard-pJbmWV5T.js → AppCard-RRGQ74Z-.js} +1 -1
- package/dist/{AppListCardPlatformWrapper--C4WPSg-.js → AppListCardPlatformWrapper-xCx7BRYi.js} +1 -1
- package/dist/{AppListCardWebWrapper-af6myYc9.js → AppListCardWebWrapper-HTPo77ZT.js} +1 -1
- package/dist/{AppSettingsInterface-FDGNNgvk.js → AppSettingsInterface-9ptZ7nDZ.js} +1 -1
- package/dist/{AppSettingsInterface-qykadj7B.js → AppSettingsInterface-m6p6Vv4h.js} +1 -1
- package/dist/{AppSettingsInterface-BTdqve7D.js → AppSettingsInterface-t83Q-G7m.js} +1 -1
- package/dist/{DateRangePicker-WpkNFeW5.js → DateRangePicker-7irdcU2u.js} +1 -1
- package/dist/{EventTypeAppCardInterface-kwLwZ5eq.js → EventTypeAppCardInterface--1ZISP9Z.js} +4 -4
- package/dist/{EventTypeAppCardInterface-tZ-FkXiK.js → EventTypeAppCardInterface--2knJ8in.js} +4 -4
- package/dist/{EventTypeAppCardInterface-z84Z9QCQ.js → EventTypeAppCardInterface-2Vdj4Zyv.js} +3 -3
- package/dist/{EventTypeAppCardInterface-vjqjhVXF.js → EventTypeAppCardInterface-36m62Tef.js} +3 -3
- package/dist/{EventTypeAppCardInterface-iU034vBQ.js → EventTypeAppCardInterface-E2947SUA.js} +3 -3
- package/dist/{EventTypeAppCardInterface-6mcYa2ZK.js → EventTypeAppCardInterface-EF73-qgC.js} +4 -4
- package/dist/{EventTypeAppCardInterface-B7q3AC_R.js → EventTypeAppCardInterface-GwRV1iOe.js} +4 -4
- package/dist/{EventTypeAppCardInterface-BYc_PF6P.js → EventTypeAppCardInterface-HvIK1_hy.js} +3 -3
- package/dist/{EventTypeAppCardInterface-8vagdnXU.js → EventTypeAppCardInterface-N6u9YC2-.js} +3 -3
- package/dist/{EventTypeAppCardInterface-P-Ie1VzL.js → EventTypeAppCardInterface-PJ_uLWVX.js} +3 -3
- package/dist/{EventTypeAppCardInterface-IvO3_SQY.js → EventTypeAppCardInterface-Pt4fDCzX.js} +4 -4
- package/dist/{EventTypeAppCardInterface-QPXXUC2z.js → EventTypeAppCardInterface-SMU_FIdN.js} +3 -3
- package/dist/{EventTypeAppCardInterface-0lSUieix.js → EventTypeAppCardInterface-SbL-e52d.js} +3 -3
- package/dist/{EventTypeAppCardInterface-1ns5WpNG.js → EventTypeAppCardInterface-VN6h7QVe.js} +3 -3
- package/dist/{EventTypeAppCardInterface-NbKKqzEI.js → EventTypeAppCardInterface-WRUMxLhg.js} +4 -4
- package/dist/{EventTypeAppCardInterface-n4f2UBA0.js → EventTypeAppCardInterface-WufQBa1V.js} +3 -3
- package/dist/{EventTypeAppCardInterface-jnW_wgHx.js → EventTypeAppCardInterface-Y-10YRqL.js} +3 -3
- package/dist/{EventTypeAppCardInterface-5Y69KZ7u.js → EventTypeAppCardInterface-a6VkMHGJ.js} +3 -3
- package/dist/{EventTypeAppCardInterface-PN79j_0O.js → EventTypeAppCardInterface-fvg2J8Q5.js} +3 -3
- package/dist/{EventTypeAppCardInterface-2hieE9VV.js → EventTypeAppCardInterface-g8z3rzT9.js} +2 -2
- package/dist/{EventTypeAppCardInterface-pSoRs269.js → EventTypeAppCardInterface-kqoTeVjy.js} +4 -4
- package/dist/{EventTypeAppCardInterface-wQG6PeYh.js → EventTypeAppCardInterface-l6tPhvWh.js} +2 -2
- package/dist/{EventTypeAppCardInterface-8Ka_l9tl.js → EventTypeAppCardInterface-nBSPrRLB.js} +4 -4
- package/dist/{EventTypeAppCardInterface-nsbe6ClZ.js → EventTypeAppCardInterface-oeFHOwWb.js} +4 -4
- package/dist/{EventTypeAppCardInterface-yznk-jGB.js → EventTypeAppCardInterface-rGLCfObb.js} +4 -4
- package/dist/{EventTypeAppCardInterface-N8MQpwjr.js → EventTypeAppCardInterface-s28HQ5Mb.js} +3 -3
- package/dist/{EventTypeAppCardInterface-D6bB4OV5.js → EventTypeAppCardInterface-zsZeKyUe.js} +3 -3
- package/dist/{EventTypeAppSettingsInterface-fDy2s4I0.js → EventTypeAppSettingsInterface-3z6J2MNr.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-wnYLl3Gu.js → EventTypeAppSettingsInterface-4aB54VG2.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-PEk2z33m.js → EventTypeAppSettingsInterface-5e8OM5KH.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-NEkXDcBd.js → EventTypeAppSettingsInterface-If8nOQ9B.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-oICZCvAL.js → EventTypeAppSettingsInterface-RLIf-oOn.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-imLpC4wq.js → EventTypeAppSettingsInterface-RTTbX-4x.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-fbmaabNU.js → EventTypeAppSettingsInterface-TIzwO77c.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-9_Clh11c.js → EventTypeAppSettingsInterface-a2YHVNhf.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-7SBGMOe3.js → EventTypeAppSettingsInterface-iiAyv1EB.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-s1Ca-WZx.js → EventTypeAppSettingsInterface-nuUrv4mK.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-uKZzu6-u.js → EventTypeAppSettingsInterface-qCLaUwVv.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-OnjVasU8.js → EventTypeAppSettingsInterface-qVYX3Njr.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-Ik1qSfq8.js → EventTypeAppSettingsInterface-sKnm5bBo.js} +1 -1
- package/dist/{InstallAppButton-rXj3nsDJ.js → InstallAppButton-RH7fgacH.js} +1 -1
- package/dist/{InstallAppButton-cJ6gKWvI.js → InstallAppButton-dBFYGNsr.js} +1 -1
- package/dist/{InstallAppButton-RxOMzMdZ.js → InstallAppButton-tRIX2Tf9.js} +1 -1
- package/dist/{PhoneInput-JLuIF-AK.js → PhoneInput-fgUgEEbA.js} +1 -1
- package/dist/{StripePaymentForm-l_Itgd93.js → StripePaymentForm-0TPIVB4a.js} +1 -1
- package/dist/cal-atoms.js +1 -1
- package/dist/{index-KD5qiDx9.js → index-AUljsOx9.js} +6 -6
- package/dist/{index-scLYr5rj.js → index-BxEZW3O_.js} +52426 -52536
- package/dist/{index-d30lFBUW.js → index-bePCSRz1.js} +1 -1
- package/dist/{index-layT8zOM.js → index-x4P7AieG.js} +1 -1
- package/dist/packages/features/bookings/Booker/components/DatePicker.d.ts +1 -1
- package/dist/packages/features/bookings/Booker/components/InstantBooking.d.ts +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts +8 -8
- package/dist/packages/features/bookings/Booker/utils/event.d.ts +31 -31
- package/dist/packages/features/bookings/lib/BookingEmailSmsHandler.d.ts +1 -1
- package/dist/packages/features/bookings/lib/EventManager.d.ts +1 -1
- package/dist/packages/features/bookings/lib/create-booking.d.ts +21 -21
- package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts +21 -21
- package/dist/packages/features/bookings/lib/get-booking.d.ts +4 -4
- package/dist/packages/features/bookings/lib/getBookingFields.d.ts +1 -1
- package/dist/packages/features/bookings/lib/getBookingInfo.d.ts +10 -10
- package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +23 -23
- package/dist/packages/features/bookings/lib/getCalEventResponses.d.ts +1 -1
- package/dist/packages/features/bookings/lib/getCalendarLinks.d.ts +1 -1
- package/dist/packages/features/bookings/lib/getUserBooking.d.ts +5 -5
- package/dist/packages/features/bookings/lib/handleBookingRequested.d.ts +1 -1
- package/dist/packages/features/bookings/lib/handleConfirmation.d.ts +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/addVideoCallDataToEvent.d.ts +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts +4 -4
- package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +16 -16
- package/dist/packages/features/bookings/lib/handleNewBooking/findBookingQuery.d.ts +3 -3
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +19 -19
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +9 -9
- package/dist/packages/features/bookings/lib/handleNewBooking/getLocationValuesForDb.d.ts +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/handleCustomInputs.d.ts +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts +4 -4
- package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +5 -5
- package/dist/packages/features/bookings/lib/handleNewBooking/test/getNewBookingHandler.d.ts +21 -21
- package/dist/packages/features/bookings/lib/handleNewBooking/types.d.ts +3 -3
- package/dist/packages/features/bookings/lib/handleNewBooking/validateBookingTimeIsNotOutOfBounds.d.ts +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking.d.ts +37 -37
- package/dist/packages/features/bookings/lib/handlePayment.d.ts +2 -2
- package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts +4 -4
- package/dist/packages/features/bookings/lib/handleSeats/lib/lastAttendeeDeleteBooking.d.ts +1 -1
- package/dist/packages/features/bookings/lib/handleSeats/reschedule/attendee/attendeeRescheduleSeatedBooking.d.ts +3 -3
- package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/combineTwoSeatedBookings.d.ts +3 -3
- package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/moveSeatedBookingToNewTimeSlot.d.ts +3 -3
- package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/ownerRescheduleSeatedBooking.d.ts +7 -7
- package/dist/packages/features/bookings/lib/payment/deletePayment.d.ts +1 -1
- package/dist/packages/features/bookings/lib/payment/getBooking.d.ts +14 -14
- package/dist/packages/features/bookings/lib/payment/handleNoShowFee.d.ts +2 -2
- package/dist/packages/features/bookings/lib/payment/handlePaymentRefund.d.ts +2 -2
- package/dist/packages/features/bookings/lib/payment/processNoShowFeeOnCancellation.d.ts +1 -1
- package/dist/packages/features/bookings/lib/payment/processPaymentRefund.d.ts +1 -1
- package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts +10 -10
- package/dist/packages/features/bookings/types.d.ts +1 -1
- package/dist/packages/features/data-table/lib/server.d.ts +1 -1
- package/dist/packages/features/ee/billing/organizations/organization-billing.d.ts +1 -1
- package/dist/packages/features/ee/billing/organizations/organization-billing.repository.d.ts +5 -5
- package/dist/packages/features/ee/billing/organizations/organization-billing.repository.interface.d.ts +1 -1
- package/dist/packages/features/ee/billing/teams/team-billing.d.ts +1 -1
- package/dist/packages/features/ee/billing/teams/team-billing.repository.d.ts +3 -3
- package/dist/packages/features/ee/billing/teams/team-billing.repository.interface.d.ts +1 -1
- package/dist/packages/features/ee/payments/components/Payment.d.ts +1 -1
- package/dist/packages/features/ee/payments/pages/getClientSecretFromPayment.d.ts +1 -1
- package/dist/packages/features/ee/payments/pages/payment.d.ts +3 -3
- package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts +2 -2
- package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts +4 -4
- package/dist/packages/features/ee/round-robin/utils/bookingSelect.d.ts +1 -1
- package/dist/packages/features/ee/round-robin/utils/getDestinationCalendar.d.ts +1 -1
- package/dist/packages/features/ee/workflows/components/WorkflowListPage.d.ts +1 -1
- package/dist/packages/features/ee/workflows/components/WorkflowStepContainer.d.ts +1 -1
- package/dist/packages/features/ee/workflows/lib/actionHelperFunctions.d.ts +1 -1
- package/dist/packages/features/ee/workflows/lib/getWorkflowReminders.d.ts +2 -2
- package/dist/packages/features/ee/workflows/lib/getiCalEventAsString.d.ts +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/smsReminderManager.d.ts +1 -1
- package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts +3 -3
- package/dist/packages/features/ee/workflows/pages/workflow.d.ts +1 -1
- package/dist/packages/features/eventtypes/components/EventTypeDescription.d.ts +1 -1
- package/dist/packages/features/eventtypes/components/tabs/assignment/EventTeamAssignmentTab.d.ts +1 -1
- package/dist/packages/features/eventtypes/lib/bookingFieldsManager.d.ts +1 -1
- package/dist/packages/features/eventtypes/lib/defaultEvents.d.ts +1 -1
- package/dist/packages/features/eventtypes/lib/eventNaming.d.ts +1 -1
- package/dist/packages/features/eventtypes/lib/getEventTypeById.d.ts +29 -29
- package/dist/packages/features/eventtypes/lib/getEventTypesByViewer.d.ts +19 -19
- package/dist/packages/features/eventtypes/lib/getEventTypesPublic.d.ts +2 -2
- package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +29 -29
- package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts +16 -16
- package/dist/packages/features/eventtypes/lib/types.d.ts +1 -1
- package/dist/packages/features/form-builder/FormBuilder.d.ts.map +1 -1
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts +10 -10
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomsGetInstalledConferencingApps.d.ts +1 -59
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomsGetInstalledConferencingApps.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +18 -18
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts +3 -3
- package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts +10 -10
- package/dist/packages/platform/atoms/event-types/wrappers/CreateEventTypePlatformWrapper.d.ts +1 -1
- package/dist/packages/platform/atoms/event-types/wrappers/EventAvailabilityTabPlatformWrapper.d.ts +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts +21 -21
- package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts +21 -21
- package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts +21 -21
- package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts +4 -4
- package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts +11 -11
- package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts +11 -11
- package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts +10 -10
- package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteTeamEventTypeById.d.ts +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts +31 -31
- package/dist/packages/platform/atoms/hooks/teams/useTeamMembers.d.ts +1 -1
- package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts +8 -8
- package/dist/packages/platform/atoms/vite.config.d.ts.map +1 -1
- package/dist/packages/platform/libraries/index.d.ts +1 -1
- package/dist/packages/prisma/zod/modelSchema/AppSchema.d.ts +3 -3
- package/dist/packages/prisma/zod/modelSchema/App_RoutingForms_FormResponseSchema.d.ts +3 -3
- package/dist/packages/prisma/zod/modelSchema/App_RoutingForms_FormSchema.d.ts +6 -6
- package/dist/packages/prisma/zod/modelSchema/App_RoutingForms_IncompleteBookingActionsSchema.d.ts +3 -3
- package/dist/packages/prisma/zod/modelSchema/App_RoutingForms_QueuedFormResponseSchema.d.ts +3 -3
- package/dist/packages/prisma/zod/modelSchema/BookingSchema.d.ts +3 -3
- package/dist/packages/prisma/zod/modelSchema/BookingSeatSchema.d.ts +3 -3
- package/dist/packages/prisma/zod/modelSchema/CalendarCacheSchema.d.ts +3 -3
- package/dist/packages/prisma/zod/modelSchema/CredentialSchema.d.ts +3 -3
- package/dist/packages/prisma/zod/modelSchema/FilterSegmentSchema.d.ts +12 -12
- package/dist/packages/prisma/zod/modelSchema/PaymentSchema.d.ts +3 -3
- package/dist/packages/prisma/zod/modelSchema/RoutingFormResponseSchema.d.ts +9 -9
- package/dist/packages/prisma-client/client.d.ts +1 -0
- package/dist/packages/prisma-client/default.d.ts +1 -0
- package/dist/packages/prisma-client/edge.d.ts +1 -0
- package/dist/packages/prisma-client/index.d.ts +243454 -0
- package/dist/packages/prisma-client/wasm.d.ts +1 -0
- package/dist/packages/trpc/react/hooks/useMeQuery.d.ts +11 -11
- package/dist/{useIsAppEnabled-xxEIA02s.js → useIsAppEnabled-aH9096aN.js} +1 -1
- package/package.json +3 -3
- package/dist/packages/features/bookings/lib/BookingWebhooksHandler.d.ts +0 -31
- package/dist/packages/features/bookings/lib/BookingWebhooksHandler.d.ts.map +0 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/test/booking-validations.test.d.ts +0 -2
- package/dist/packages/features/bookings/lib/handleNewBooking/test/booking-validations.test.d.ts.map +0 -1
- package/dist/packages/kysely/types.d.ts +0 -1746
- package/dist/packages/kysely/types.d.ts.map +0 -1
- package/dist/packages/lib/intervalLimits/intervalLimitSchema.d.ts +0 -6
- package/dist/packages/lib/intervalLimits/intervalLimitSchema.d.ts.map +0 -1
- package/dist/packages/platform/atoms/prisma-types/index.d.ts +0 -6
- package/dist/packages/platform/atoms/prisma-types/index.d.ts.map +0 -1
|
@@ -1,1746 +0,0 @@
|
|
|
1
|
-
import type { ColumnType } from "kysely";
|
|
2
|
-
export type Generated<T> = T extends ColumnType<infer S, infer I, infer U> ? ColumnType<S, I | undefined, U> : ColumnType<T, T | undefined, T>;
|
|
3
|
-
export type Timestamp = ColumnType<Date, Date | string, Date | string>;
|
|
4
|
-
export declare const SchedulingType: {
|
|
5
|
-
readonly ROUND_ROBIN: "roundRobin";
|
|
6
|
-
readonly COLLECTIVE: "collective";
|
|
7
|
-
readonly MANAGED: "managed";
|
|
8
|
-
};
|
|
9
|
-
export type SchedulingType = (typeof SchedulingType)[keyof typeof SchedulingType];
|
|
10
|
-
export declare const PeriodType: {
|
|
11
|
-
readonly UNLIMITED: "unlimited";
|
|
12
|
-
readonly ROLLING: "rolling";
|
|
13
|
-
readonly ROLLING_WINDOW: "rolling_window";
|
|
14
|
-
readonly RANGE: "range";
|
|
15
|
-
};
|
|
16
|
-
export type PeriodType = (typeof PeriodType)[keyof typeof PeriodType];
|
|
17
|
-
export declare const CreationSource: {
|
|
18
|
-
readonly API_V1: "api_v1";
|
|
19
|
-
readonly API_V2: "api_v2";
|
|
20
|
-
readonly WEBAPP: "webapp";
|
|
21
|
-
};
|
|
22
|
-
export type CreationSource = (typeof CreationSource)[keyof typeof CreationSource];
|
|
23
|
-
export declare const IdentityProvider: {
|
|
24
|
-
readonly CAL: "CAL";
|
|
25
|
-
readonly GOOGLE: "GOOGLE";
|
|
26
|
-
readonly SAML: "SAML";
|
|
27
|
-
};
|
|
28
|
-
export type IdentityProvider = (typeof IdentityProvider)[keyof typeof IdentityProvider];
|
|
29
|
-
export declare const UserPermissionRole: {
|
|
30
|
-
readonly USER: "USER";
|
|
31
|
-
readonly ADMIN: "ADMIN";
|
|
32
|
-
};
|
|
33
|
-
export type UserPermissionRole = (typeof UserPermissionRole)[keyof typeof UserPermissionRole];
|
|
34
|
-
export declare const CreditUsageType: {
|
|
35
|
-
readonly SMS: "SMS";
|
|
36
|
-
readonly CAL_AI_PHONE_CALL: "CAL_AI_PHONE_CALL";
|
|
37
|
-
};
|
|
38
|
-
export type CreditUsageType = (typeof CreditUsageType)[keyof typeof CreditUsageType];
|
|
39
|
-
export declare const CreditType: {
|
|
40
|
-
readonly MONTHLY: "MONTHLY";
|
|
41
|
-
readonly ADDITIONAL: "ADDITIONAL";
|
|
42
|
-
};
|
|
43
|
-
export type CreditType = (typeof CreditType)[keyof typeof CreditType];
|
|
44
|
-
export declare const MembershipRole: {
|
|
45
|
-
readonly MEMBER: "MEMBER";
|
|
46
|
-
readonly ADMIN: "ADMIN";
|
|
47
|
-
readonly OWNER: "OWNER";
|
|
48
|
-
};
|
|
49
|
-
export type MembershipRole = (typeof MembershipRole)[keyof typeof MembershipRole];
|
|
50
|
-
export declare const BookingStatus: {
|
|
51
|
-
readonly CANCELLED: "cancelled";
|
|
52
|
-
readonly ACCEPTED: "accepted";
|
|
53
|
-
readonly REJECTED: "rejected";
|
|
54
|
-
readonly PENDING: "pending";
|
|
55
|
-
readonly AWAITING_HOST: "awaiting_host";
|
|
56
|
-
};
|
|
57
|
-
export type BookingStatus = (typeof BookingStatus)[keyof typeof BookingStatus];
|
|
58
|
-
export declare const EventTypeCustomInputType: {
|
|
59
|
-
readonly TEXT: "text";
|
|
60
|
-
readonly TEXTLONG: "textLong";
|
|
61
|
-
readonly NUMBER: "number";
|
|
62
|
-
readonly BOOL: "bool";
|
|
63
|
-
readonly RADIO: "radio";
|
|
64
|
-
readonly PHONE: "phone";
|
|
65
|
-
};
|
|
66
|
-
export type EventTypeCustomInputType = (typeof EventTypeCustomInputType)[keyof typeof EventTypeCustomInputType];
|
|
67
|
-
export declare const ReminderType: {
|
|
68
|
-
readonly PENDING_BOOKING_CONFIRMATION: "PENDING_BOOKING_CONFIRMATION";
|
|
69
|
-
};
|
|
70
|
-
export type ReminderType = (typeof ReminderType)[keyof typeof ReminderType];
|
|
71
|
-
export declare const PaymentOption: {
|
|
72
|
-
readonly ON_BOOKING: "ON_BOOKING";
|
|
73
|
-
readonly HOLD: "HOLD";
|
|
74
|
-
};
|
|
75
|
-
export type PaymentOption = (typeof PaymentOption)[keyof typeof PaymentOption];
|
|
76
|
-
export declare const WebhookTriggerEvents: {
|
|
77
|
-
readonly BOOKING_CREATED: "BOOKING_CREATED";
|
|
78
|
-
readonly BOOKING_PAYMENT_INITIATED: "BOOKING_PAYMENT_INITIATED";
|
|
79
|
-
readonly BOOKING_PAID: "BOOKING_PAID";
|
|
80
|
-
readonly BOOKING_RESCHEDULED: "BOOKING_RESCHEDULED";
|
|
81
|
-
readonly BOOKING_REQUESTED: "BOOKING_REQUESTED";
|
|
82
|
-
readonly BOOKING_CANCELLED: "BOOKING_CANCELLED";
|
|
83
|
-
readonly BOOKING_REJECTED: "BOOKING_REJECTED";
|
|
84
|
-
readonly BOOKING_NO_SHOW_UPDATED: "BOOKING_NO_SHOW_UPDATED";
|
|
85
|
-
readonly FORM_SUBMITTED: "FORM_SUBMITTED";
|
|
86
|
-
readonly MEETING_ENDED: "MEETING_ENDED";
|
|
87
|
-
readonly MEETING_STARTED: "MEETING_STARTED";
|
|
88
|
-
readonly RECORDING_READY: "RECORDING_READY";
|
|
89
|
-
readonly INSTANT_MEETING: "INSTANT_MEETING";
|
|
90
|
-
readonly RECORDING_TRANSCRIPTION_GENERATED: "RECORDING_TRANSCRIPTION_GENERATED";
|
|
91
|
-
readonly OOO_CREATED: "OOO_CREATED";
|
|
92
|
-
readonly AFTER_HOSTS_CAL_VIDEO_NO_SHOW: "AFTER_HOSTS_CAL_VIDEO_NO_SHOW";
|
|
93
|
-
readonly AFTER_GUESTS_CAL_VIDEO_NO_SHOW: "AFTER_GUESTS_CAL_VIDEO_NO_SHOW";
|
|
94
|
-
readonly FORM_SUBMITTED_NO_EVENT: "FORM_SUBMITTED_NO_EVENT";
|
|
95
|
-
};
|
|
96
|
-
export type WebhookTriggerEvents = (typeof WebhookTriggerEvents)[keyof typeof WebhookTriggerEvents];
|
|
97
|
-
export declare const AppCategories: {
|
|
98
|
-
readonly calendar: "calendar";
|
|
99
|
-
readonly messaging: "messaging";
|
|
100
|
-
readonly other: "other";
|
|
101
|
-
readonly payment: "payment";
|
|
102
|
-
readonly video: "video";
|
|
103
|
-
readonly web3: "web3";
|
|
104
|
-
readonly automation: "automation";
|
|
105
|
-
readonly analytics: "analytics";
|
|
106
|
-
readonly conferencing: "conferencing";
|
|
107
|
-
readonly crm: "crm";
|
|
108
|
-
};
|
|
109
|
-
export type AppCategories = (typeof AppCategories)[keyof typeof AppCategories];
|
|
110
|
-
export declare const WorkflowTriggerEvents: {
|
|
111
|
-
readonly BEFORE_EVENT: "BEFORE_EVENT";
|
|
112
|
-
readonly EVENT_CANCELLED: "EVENT_CANCELLED";
|
|
113
|
-
readonly NEW_EVENT: "NEW_EVENT";
|
|
114
|
-
readonly AFTER_EVENT: "AFTER_EVENT";
|
|
115
|
-
readonly RESCHEDULE_EVENT: "RESCHEDULE_EVENT";
|
|
116
|
-
readonly AFTER_HOSTS_CAL_VIDEO_NO_SHOW: "AFTER_HOSTS_CAL_VIDEO_NO_SHOW";
|
|
117
|
-
readonly AFTER_GUESTS_CAL_VIDEO_NO_SHOW: "AFTER_GUESTS_CAL_VIDEO_NO_SHOW";
|
|
118
|
-
readonly BOOKING_REJECTED: "BOOKING_REJECTED";
|
|
119
|
-
readonly BOOKING_REQUESTED: "BOOKING_REQUESTED";
|
|
120
|
-
readonly BOOKING_PAYMENT_INITIATED: "BOOKING_PAYMENT_INITIATED";
|
|
121
|
-
readonly BOOKING_PAID: "BOOKING_PAID";
|
|
122
|
-
readonly BOOKING_NO_SHOW_UPDATED: "BOOKING_NO_SHOW_UPDATED";
|
|
123
|
-
};
|
|
124
|
-
export type WorkflowTriggerEvents = (typeof WorkflowTriggerEvents)[keyof typeof WorkflowTriggerEvents];
|
|
125
|
-
export declare const WorkflowActions: {
|
|
126
|
-
readonly EMAIL_HOST: "EMAIL_HOST";
|
|
127
|
-
readonly EMAIL_ATTENDEE: "EMAIL_ATTENDEE";
|
|
128
|
-
readonly SMS_ATTENDEE: "SMS_ATTENDEE";
|
|
129
|
-
readonly SMS_NUMBER: "SMS_NUMBER";
|
|
130
|
-
readonly EMAIL_ADDRESS: "EMAIL_ADDRESS";
|
|
131
|
-
readonly WHATSAPP_ATTENDEE: "WHATSAPP_ATTENDEE";
|
|
132
|
-
readonly WHATSAPP_NUMBER: "WHATSAPP_NUMBER";
|
|
133
|
-
readonly CAL_AI_PHONE_CALL: "CAL_AI_PHONE_CALL";
|
|
134
|
-
};
|
|
135
|
-
export type WorkflowActions = (typeof WorkflowActions)[keyof typeof WorkflowActions];
|
|
136
|
-
export declare const TimeUnit: {
|
|
137
|
-
readonly DAY: "day";
|
|
138
|
-
readonly HOUR: "hour";
|
|
139
|
-
readonly MINUTE: "minute";
|
|
140
|
-
};
|
|
141
|
-
export type TimeUnit = (typeof TimeUnit)[keyof typeof TimeUnit];
|
|
142
|
-
export declare const WorkflowTemplates: {
|
|
143
|
-
readonly REMINDER: "REMINDER";
|
|
144
|
-
readonly CUSTOM: "CUSTOM";
|
|
145
|
-
readonly CANCELLED: "CANCELLED";
|
|
146
|
-
readonly RESCHEDULED: "RESCHEDULED";
|
|
147
|
-
readonly COMPLETED: "COMPLETED";
|
|
148
|
-
readonly RATING: "RATING";
|
|
149
|
-
};
|
|
150
|
-
export type WorkflowTemplates = (typeof WorkflowTemplates)[keyof typeof WorkflowTemplates];
|
|
151
|
-
export declare const WorkflowMethods: {
|
|
152
|
-
readonly EMAIL: "EMAIL";
|
|
153
|
-
readonly SMS: "SMS";
|
|
154
|
-
readonly WHATSAPP: "WHATSAPP";
|
|
155
|
-
readonly AI_PHONE_CALL: "AI_PHONE_CALL";
|
|
156
|
-
};
|
|
157
|
-
export type WorkflowMethods = (typeof WorkflowMethods)[keyof typeof WorkflowMethods];
|
|
158
|
-
export declare const FeatureType: {
|
|
159
|
-
readonly RELEASE: "RELEASE";
|
|
160
|
-
readonly EXPERIMENT: "EXPERIMENT";
|
|
161
|
-
readonly OPERATIONAL: "OPERATIONAL";
|
|
162
|
-
readonly KILL_SWITCH: "KILL_SWITCH";
|
|
163
|
-
readonly PERMISSION: "PERMISSION";
|
|
164
|
-
};
|
|
165
|
-
export type FeatureType = (typeof FeatureType)[keyof typeof FeatureType];
|
|
166
|
-
export declare const RRResetInterval: {
|
|
167
|
-
readonly MONTH: "MONTH";
|
|
168
|
-
readonly DAY: "DAY";
|
|
169
|
-
};
|
|
170
|
-
export type RRResetInterval = (typeof RRResetInterval)[keyof typeof RRResetInterval];
|
|
171
|
-
export declare const RRTimestampBasis: {
|
|
172
|
-
readonly CREATED_AT: "CREATED_AT";
|
|
173
|
-
readonly START_TIME: "START_TIME";
|
|
174
|
-
};
|
|
175
|
-
export type RRTimestampBasis = (typeof RRTimestampBasis)[keyof typeof RRTimestampBasis];
|
|
176
|
-
export declare const AccessScope: {
|
|
177
|
-
readonly READ_BOOKING: "READ_BOOKING";
|
|
178
|
-
readonly READ_PROFILE: "READ_PROFILE";
|
|
179
|
-
};
|
|
180
|
-
export type AccessScope = (typeof AccessScope)[keyof typeof AccessScope];
|
|
181
|
-
export declare const RedirectType: {
|
|
182
|
-
readonly UserEventType: "user-event-type";
|
|
183
|
-
readonly TeamEventType: "team-event-type";
|
|
184
|
-
readonly User: "user";
|
|
185
|
-
readonly Team: "team";
|
|
186
|
-
};
|
|
187
|
-
export type RedirectType = (typeof RedirectType)[keyof typeof RedirectType];
|
|
188
|
-
export declare const SMSLockState: {
|
|
189
|
-
readonly LOCKED: "LOCKED";
|
|
190
|
-
readonly UNLOCKED: "UNLOCKED";
|
|
191
|
-
readonly REVIEW_NEEDED: "REVIEW_NEEDED";
|
|
192
|
-
};
|
|
193
|
-
export type SMSLockState = (typeof SMSLockState)[keyof typeof SMSLockState];
|
|
194
|
-
export declare const AttributeType: {
|
|
195
|
-
readonly TEXT: "TEXT";
|
|
196
|
-
readonly NUMBER: "NUMBER";
|
|
197
|
-
readonly SINGLE_SELECT: "SINGLE_SELECT";
|
|
198
|
-
readonly MULTI_SELECT: "MULTI_SELECT";
|
|
199
|
-
};
|
|
200
|
-
export type AttributeType = (typeof AttributeType)[keyof typeof AttributeType];
|
|
201
|
-
export declare const AssignmentReasonEnum: {
|
|
202
|
-
readonly ROUTING_FORM_ROUTING: "ROUTING_FORM_ROUTING";
|
|
203
|
-
readonly ROUTING_FORM_ROUTING_FALLBACK: "ROUTING_FORM_ROUTING_FALLBACK";
|
|
204
|
-
readonly REASSIGNED: "REASSIGNED";
|
|
205
|
-
readonly RR_REASSIGNED: "RR_REASSIGNED";
|
|
206
|
-
readonly REROUTED: "REROUTED";
|
|
207
|
-
readonly SALESFORCE_ASSIGNMENT: "SALESFORCE_ASSIGNMENT";
|
|
208
|
-
};
|
|
209
|
-
export type AssignmentReasonEnum = (typeof AssignmentReasonEnum)[keyof typeof AssignmentReasonEnum];
|
|
210
|
-
export declare const EventTypeAutoTranslatedField: {
|
|
211
|
-
readonly DESCRIPTION: "DESCRIPTION";
|
|
212
|
-
readonly TITLE: "TITLE";
|
|
213
|
-
};
|
|
214
|
-
export type EventTypeAutoTranslatedField = (typeof EventTypeAutoTranslatedField)[keyof typeof EventTypeAutoTranslatedField];
|
|
215
|
-
export declare const WatchlistType: {
|
|
216
|
-
readonly EMAIL: "EMAIL";
|
|
217
|
-
readonly DOMAIN: "DOMAIN";
|
|
218
|
-
readonly USERNAME: "USERNAME";
|
|
219
|
-
};
|
|
220
|
-
export type WatchlistType = (typeof WatchlistType)[keyof typeof WatchlistType];
|
|
221
|
-
export declare const WatchlistSeverity: {
|
|
222
|
-
readonly LOW: "LOW";
|
|
223
|
-
readonly MEDIUM: "MEDIUM";
|
|
224
|
-
readonly HIGH: "HIGH";
|
|
225
|
-
readonly CRITICAL: "CRITICAL";
|
|
226
|
-
};
|
|
227
|
-
export type WatchlistSeverity = (typeof WatchlistSeverity)[keyof typeof WatchlistSeverity];
|
|
228
|
-
export declare const BillingPeriod: {
|
|
229
|
-
readonly MONTHLY: "MONTHLY";
|
|
230
|
-
readonly ANNUALLY: "ANNUALLY";
|
|
231
|
-
};
|
|
232
|
-
export type BillingPeriod = (typeof BillingPeriod)[keyof typeof BillingPeriod];
|
|
233
|
-
export declare const IncompleteBookingActionType: {
|
|
234
|
-
readonly SALESFORCE: "SALESFORCE";
|
|
235
|
-
};
|
|
236
|
-
export type IncompleteBookingActionType = (typeof IncompleteBookingActionType)[keyof typeof IncompleteBookingActionType];
|
|
237
|
-
export declare const FilterSegmentScope: {
|
|
238
|
-
readonly USER: "USER";
|
|
239
|
-
readonly TEAM: "TEAM";
|
|
240
|
-
};
|
|
241
|
-
export type FilterSegmentScope = (typeof FilterSegmentScope)[keyof typeof FilterSegmentScope];
|
|
242
|
-
export declare const WorkflowContactType: {
|
|
243
|
-
readonly PHONE: "PHONE";
|
|
244
|
-
readonly EMAIL: "EMAIL";
|
|
245
|
-
};
|
|
246
|
-
export type WorkflowContactType = (typeof WorkflowContactType)[keyof typeof WorkflowContactType];
|
|
247
|
-
export declare const RoleType: {
|
|
248
|
-
readonly SYSTEM: "SYSTEM";
|
|
249
|
-
readonly CUSTOM: "CUSTOM";
|
|
250
|
-
};
|
|
251
|
-
export type RoleType = (typeof RoleType)[keyof typeof RoleType];
|
|
252
|
-
export declare const PhoneNumberSubscriptionStatus: {
|
|
253
|
-
readonly ACTIVE: "ACTIVE";
|
|
254
|
-
readonly PAST_DUE: "PAST_DUE";
|
|
255
|
-
readonly CANCELLED: "CANCELLED";
|
|
256
|
-
readonly INCOMPLETE: "INCOMPLETE";
|
|
257
|
-
readonly INCOMPLETE_EXPIRED: "INCOMPLETE_EXPIRED";
|
|
258
|
-
readonly TRIALING: "TRIALING";
|
|
259
|
-
readonly UNPAID: "UNPAID";
|
|
260
|
-
};
|
|
261
|
-
export type PhoneNumberSubscriptionStatus = (typeof PhoneNumberSubscriptionStatus)[keyof typeof PhoneNumberSubscriptionStatus];
|
|
262
|
-
export type AccessCode = {
|
|
263
|
-
id: Generated<number>;
|
|
264
|
-
code: string;
|
|
265
|
-
clientId: string | null;
|
|
266
|
-
expiresAt: Timestamp;
|
|
267
|
-
scopes: AccessScope[];
|
|
268
|
-
userId: number | null;
|
|
269
|
-
teamId: number | null;
|
|
270
|
-
};
|
|
271
|
-
export type AccessToken = {
|
|
272
|
-
id: Generated<number>;
|
|
273
|
-
secret: string;
|
|
274
|
-
createdAt: Generated<Timestamp>;
|
|
275
|
-
expiresAt: Timestamp;
|
|
276
|
-
platformOAuthClientId: string;
|
|
277
|
-
userId: number;
|
|
278
|
-
};
|
|
279
|
-
export type Account = {
|
|
280
|
-
id: string;
|
|
281
|
-
userId: number;
|
|
282
|
-
type: string;
|
|
283
|
-
provider: string;
|
|
284
|
-
providerAccountId: string;
|
|
285
|
-
providerEmail: string | null;
|
|
286
|
-
refresh_token: string | null;
|
|
287
|
-
access_token: string | null;
|
|
288
|
-
expires_at: number | null;
|
|
289
|
-
token_type: string | null;
|
|
290
|
-
scope: string | null;
|
|
291
|
-
id_token: string | null;
|
|
292
|
-
session_state: string | null;
|
|
293
|
-
};
|
|
294
|
-
export type Agent = {
|
|
295
|
-
id: string;
|
|
296
|
-
name: string;
|
|
297
|
-
userId: number | null;
|
|
298
|
-
teamId: number | null;
|
|
299
|
-
providerAgentId: string;
|
|
300
|
-
enabled: Generated<boolean>;
|
|
301
|
-
createdAt: Generated<Timestamp>;
|
|
302
|
-
updatedAt: Timestamp;
|
|
303
|
-
};
|
|
304
|
-
export type AIPhoneCallConfiguration = {
|
|
305
|
-
id: Generated<number>;
|
|
306
|
-
eventTypeId: number;
|
|
307
|
-
templateType: Generated<string>;
|
|
308
|
-
schedulerName: string | null;
|
|
309
|
-
generalPrompt: string | null;
|
|
310
|
-
yourPhoneNumber: string;
|
|
311
|
-
numberToCall: string;
|
|
312
|
-
guestName: string | null;
|
|
313
|
-
guestEmail: string | null;
|
|
314
|
-
guestCompany: string | null;
|
|
315
|
-
enabled: Generated<boolean>;
|
|
316
|
-
beginMessage: string | null;
|
|
317
|
-
llmId: string | null;
|
|
318
|
-
};
|
|
319
|
-
export type ApiKey = {
|
|
320
|
-
id: string;
|
|
321
|
-
userId: number;
|
|
322
|
-
teamId: number | null;
|
|
323
|
-
note: string | null;
|
|
324
|
-
createdAt: Generated<Timestamp>;
|
|
325
|
-
expiresAt: Timestamp | null;
|
|
326
|
-
lastUsedAt: Timestamp | null;
|
|
327
|
-
hashedKey: string;
|
|
328
|
-
appId: string | null;
|
|
329
|
-
};
|
|
330
|
-
export type App = {
|
|
331
|
-
slug: string;
|
|
332
|
-
dirName: string;
|
|
333
|
-
keys: unknown | null;
|
|
334
|
-
categories: AppCategories[];
|
|
335
|
-
createdAt: Generated<Timestamp>;
|
|
336
|
-
updatedAt: Timestamp;
|
|
337
|
-
enabled: Generated<boolean>;
|
|
338
|
-
};
|
|
339
|
-
export type App_RoutingForms_Form = {
|
|
340
|
-
id: string;
|
|
341
|
-
description: string | null;
|
|
342
|
-
position: Generated<number>;
|
|
343
|
-
routes: unknown | null;
|
|
344
|
-
createdAt: Generated<Timestamp>;
|
|
345
|
-
updatedAt: Timestamp;
|
|
346
|
-
name: string;
|
|
347
|
-
fields: unknown | null;
|
|
348
|
-
updatedById: number | null;
|
|
349
|
-
userId: number;
|
|
350
|
-
teamId: number | null;
|
|
351
|
-
disabled: Generated<boolean>;
|
|
352
|
-
/**
|
|
353
|
-
* @zod.import(["import { RoutingFormSettings } from '../../zod-utils'"]).custom.use(RoutingFormSettings)
|
|
354
|
-
*/
|
|
355
|
-
settings: unknown | null;
|
|
356
|
-
};
|
|
357
|
-
export type App_RoutingForms_FormResponse = {
|
|
358
|
-
id: Generated<number>;
|
|
359
|
-
uuid: string | null;
|
|
360
|
-
formFillerId: string;
|
|
361
|
-
formId: string;
|
|
362
|
-
response: unknown;
|
|
363
|
-
createdAt: Generated<Timestamp>;
|
|
364
|
-
updatedAt: Timestamp | null;
|
|
365
|
-
routedToBookingUid: string | null;
|
|
366
|
-
chosenRouteId: string | null;
|
|
367
|
-
};
|
|
368
|
-
export type App_RoutingForms_IncompleteBookingActions = {
|
|
369
|
-
id: Generated<number>;
|
|
370
|
-
formId: string;
|
|
371
|
-
actionType: IncompleteBookingActionType;
|
|
372
|
-
data: unknown;
|
|
373
|
-
enabled: Generated<boolean>;
|
|
374
|
-
credentialId: number | null;
|
|
375
|
-
};
|
|
376
|
-
export type App_RoutingForms_QueuedFormResponse = {
|
|
377
|
-
id: string;
|
|
378
|
-
formId: string;
|
|
379
|
-
response: unknown;
|
|
380
|
-
chosenRouteId: string | null;
|
|
381
|
-
createdAt: Generated<Timestamp>;
|
|
382
|
-
updatedAt: Timestamp | null;
|
|
383
|
-
actualResponseId: number | null;
|
|
384
|
-
};
|
|
385
|
-
export type AssignmentReason = {
|
|
386
|
-
id: Generated<number>;
|
|
387
|
-
createdAt: Generated<Timestamp>;
|
|
388
|
-
bookingId: number;
|
|
389
|
-
reasonEnum: AssignmentReasonEnum;
|
|
390
|
-
reasonString: string;
|
|
391
|
-
};
|
|
392
|
-
export type Attendee = {
|
|
393
|
-
id: Generated<number>;
|
|
394
|
-
email: string;
|
|
395
|
-
name: string;
|
|
396
|
-
timeZone: string;
|
|
397
|
-
phoneNumber: string | null;
|
|
398
|
-
locale: Generated<string | null>;
|
|
399
|
-
bookingId: number | null;
|
|
400
|
-
noShow: Generated<boolean | null>;
|
|
401
|
-
};
|
|
402
|
-
export type Attribute = {
|
|
403
|
-
id: string;
|
|
404
|
-
teamId: number;
|
|
405
|
-
type: AttributeType;
|
|
406
|
-
name: string;
|
|
407
|
-
slug: string;
|
|
408
|
-
enabled: Generated<boolean>;
|
|
409
|
-
usersCanEditRelation: Generated<boolean>;
|
|
410
|
-
createdAt: Generated<Timestamp>;
|
|
411
|
-
updatedAt: Timestamp;
|
|
412
|
-
isWeightsEnabled: Generated<boolean>;
|
|
413
|
-
isLocked: Generated<boolean>;
|
|
414
|
-
};
|
|
415
|
-
export type AttributeOption = {
|
|
416
|
-
id: string;
|
|
417
|
-
attributeId: string;
|
|
418
|
-
value: string;
|
|
419
|
-
slug: string;
|
|
420
|
-
isGroup: Generated<boolean>;
|
|
421
|
-
contains: string[];
|
|
422
|
-
};
|
|
423
|
-
export type AttributeToUser = {
|
|
424
|
-
id: string;
|
|
425
|
-
memberId: number;
|
|
426
|
-
attributeOptionId: string;
|
|
427
|
-
weight: number | null;
|
|
428
|
-
createdAt: Generated<Timestamp>;
|
|
429
|
-
createdById: number | null;
|
|
430
|
-
createdByDSyncId: string | null;
|
|
431
|
-
updatedAt: Timestamp | null;
|
|
432
|
-
updatedById: number | null;
|
|
433
|
-
updatedByDSyncId: string | null;
|
|
434
|
-
};
|
|
435
|
-
export type Availability = {
|
|
436
|
-
id: Generated<number>;
|
|
437
|
-
userId: number | null;
|
|
438
|
-
eventTypeId: number | null;
|
|
439
|
-
days: number[];
|
|
440
|
-
startTime: Timestamp;
|
|
441
|
-
endTime: Timestamp;
|
|
442
|
-
date: Timestamp | null;
|
|
443
|
-
scheduleId: number | null;
|
|
444
|
-
};
|
|
445
|
-
export type Avatar = {
|
|
446
|
-
teamId: Generated<number>;
|
|
447
|
-
userId: Generated<number>;
|
|
448
|
-
data: string;
|
|
449
|
-
objectKey: string;
|
|
450
|
-
isBanner: Generated<boolean>;
|
|
451
|
-
};
|
|
452
|
-
export type Booking = {
|
|
453
|
-
id: Generated<number>;
|
|
454
|
-
uid: string;
|
|
455
|
-
idempotencyKey: string | null;
|
|
456
|
-
userId: number | null;
|
|
457
|
-
/**
|
|
458
|
-
* @zod.import(["import { emailSchema } from '../lib/emailSchema'']).custom.use(emailSchema)
|
|
459
|
-
*/
|
|
460
|
-
userPrimaryEmail: string | null;
|
|
461
|
-
eventTypeId: number | null;
|
|
462
|
-
title: string;
|
|
463
|
-
description: string | null;
|
|
464
|
-
customInputs: unknown | null;
|
|
465
|
-
/**
|
|
466
|
-
* @zod.import(["import { bookingResponses } from '../../zod-utils'"]).custom.use(bookingResponses)
|
|
467
|
-
*/
|
|
468
|
-
responses: unknown | null;
|
|
469
|
-
startTime: Timestamp;
|
|
470
|
-
endTime: Timestamp;
|
|
471
|
-
location: string | null;
|
|
472
|
-
createdAt: Generated<Timestamp>;
|
|
473
|
-
updatedAt: Timestamp | null;
|
|
474
|
-
status: Generated<BookingStatus>;
|
|
475
|
-
paid: Generated<boolean>;
|
|
476
|
-
destinationCalendarId: number | null;
|
|
477
|
-
cancellationReason: string | null;
|
|
478
|
-
rejectionReason: string | null;
|
|
479
|
-
reassignReason: string | null;
|
|
480
|
-
reassignById: number | null;
|
|
481
|
-
dynamicEventSlugRef: string | null;
|
|
482
|
-
dynamicGroupSlugRef: string | null;
|
|
483
|
-
rescheduled: boolean | null;
|
|
484
|
-
fromReschedule: string | null;
|
|
485
|
-
recurringEventId: string | null;
|
|
486
|
-
smsReminderNumber: string | null;
|
|
487
|
-
scheduledJobs: string[];
|
|
488
|
-
/**
|
|
489
|
-
* @zod.import(["import { bookingMetadataSchema } from '../../zod-utils'"]).custom.use(bookingMetadataSchema)
|
|
490
|
-
*/
|
|
491
|
-
metadata: unknown | null;
|
|
492
|
-
isRecorded: Generated<boolean>;
|
|
493
|
-
iCalUID: Generated<string | null>;
|
|
494
|
-
iCalSequence: Generated<number>;
|
|
495
|
-
rating: number | null;
|
|
496
|
-
ratingFeedback: string | null;
|
|
497
|
-
noShowHost: Generated<boolean | null>;
|
|
498
|
-
oneTimePassword: string | null;
|
|
499
|
-
/**
|
|
500
|
-
* @zod.import(["import { emailSchema } from '../lib/emailSchema'']).custom.use(emailSchema)
|
|
501
|
-
*/
|
|
502
|
-
cancelledBy: string | null;
|
|
503
|
-
/**
|
|
504
|
-
* @zod.import(["import { emailSchema } from '../lib/emailSchema'']).custom.use(emailSchema)
|
|
505
|
-
*/
|
|
506
|
-
rescheduledBy: string | null;
|
|
507
|
-
creationSource: CreationSource | null;
|
|
508
|
-
};
|
|
509
|
-
export type BookingDenormalized = {
|
|
510
|
-
id: number;
|
|
511
|
-
uid: string;
|
|
512
|
-
eventTypeId: number | null;
|
|
513
|
-
title: string;
|
|
514
|
-
description: string | null;
|
|
515
|
-
startTime: Timestamp;
|
|
516
|
-
endTime: Timestamp;
|
|
517
|
-
createdAt: Timestamp;
|
|
518
|
-
updatedAt: Timestamp | null;
|
|
519
|
-
location: string | null;
|
|
520
|
-
paid: boolean;
|
|
521
|
-
status: BookingStatus;
|
|
522
|
-
rescheduled: boolean | null;
|
|
523
|
-
userId: number | null;
|
|
524
|
-
teamId: number | null;
|
|
525
|
-
eventLength: number | null;
|
|
526
|
-
eventParentId: number | null;
|
|
527
|
-
userEmail: string | null;
|
|
528
|
-
userName: string | null;
|
|
529
|
-
userUsername: string | null;
|
|
530
|
-
ratingFeedback: string | null;
|
|
531
|
-
rating: number | null;
|
|
532
|
-
noShowHost: boolean | null;
|
|
533
|
-
isTeamBooking: boolean;
|
|
534
|
-
};
|
|
535
|
-
export type BookingInternalNote = {
|
|
536
|
-
id: Generated<number>;
|
|
537
|
-
notePresetId: number | null;
|
|
538
|
-
text: string | null;
|
|
539
|
-
bookingId: number;
|
|
540
|
-
createdById: number;
|
|
541
|
-
createdAt: Generated<Timestamp>;
|
|
542
|
-
};
|
|
543
|
-
export type BookingReference = {
|
|
544
|
-
id: Generated<number>;
|
|
545
|
-
/**
|
|
546
|
-
* @zod.string.min(1)
|
|
547
|
-
*/
|
|
548
|
-
type: string;
|
|
549
|
-
/**
|
|
550
|
-
* @zod.string.min(1)
|
|
551
|
-
*/
|
|
552
|
-
uid: string;
|
|
553
|
-
meetingId: string | null;
|
|
554
|
-
thirdPartyRecurringEventId: string | null;
|
|
555
|
-
meetingPassword: string | null;
|
|
556
|
-
meetingUrl: string | null;
|
|
557
|
-
bookingId: number | null;
|
|
558
|
-
externalCalendarId: string | null;
|
|
559
|
-
deleted: boolean | null;
|
|
560
|
-
credentialId: number | null;
|
|
561
|
-
delegationCredentialId: string | null;
|
|
562
|
-
domainWideDelegationCredentialId: string | null;
|
|
563
|
-
};
|
|
564
|
-
export type BookingSeat = {
|
|
565
|
-
id: Generated<number>;
|
|
566
|
-
referenceUid: string;
|
|
567
|
-
bookingId: number;
|
|
568
|
-
attendeeId: number;
|
|
569
|
-
/**
|
|
570
|
-
* @zod.import(["import { bookingSeatDataSchema } from '../../zod-utils'"]).custom.use(bookingSeatDataSchema)
|
|
571
|
-
*/
|
|
572
|
-
data: unknown | null;
|
|
573
|
-
metadata: unknown | null;
|
|
574
|
-
};
|
|
575
|
-
export type BookingTimeStatus = {
|
|
576
|
-
id: number;
|
|
577
|
-
uid: string | null;
|
|
578
|
-
eventTypeId: number | null;
|
|
579
|
-
title: string | null;
|
|
580
|
-
description: string | null;
|
|
581
|
-
startTime: Timestamp | null;
|
|
582
|
-
endTime: Timestamp | null;
|
|
583
|
-
createdAt: Timestamp | null;
|
|
584
|
-
location: string | null;
|
|
585
|
-
paid: boolean | null;
|
|
586
|
-
status: BookingStatus | null;
|
|
587
|
-
rescheduled: boolean | null;
|
|
588
|
-
userId: number | null;
|
|
589
|
-
teamId: number | null;
|
|
590
|
-
eventLength: number | null;
|
|
591
|
-
timeStatus: string | null;
|
|
592
|
-
eventParentId: number | null;
|
|
593
|
-
userEmail: string | null;
|
|
594
|
-
username: string | null;
|
|
595
|
-
ratingFeedback: string | null;
|
|
596
|
-
rating: number | null;
|
|
597
|
-
noShowHost: boolean | null;
|
|
598
|
-
isTeamBooking: boolean;
|
|
599
|
-
};
|
|
600
|
-
export type BookingTimeStatusDenormalized = {
|
|
601
|
-
id: number;
|
|
602
|
-
uid: string;
|
|
603
|
-
eventTypeId: number | null;
|
|
604
|
-
title: string;
|
|
605
|
-
description: string | null;
|
|
606
|
-
startTime: Timestamp;
|
|
607
|
-
endTime: Timestamp;
|
|
608
|
-
createdAt: Timestamp;
|
|
609
|
-
updatedAt: Timestamp | null;
|
|
610
|
-
location: string | null;
|
|
611
|
-
paid: boolean;
|
|
612
|
-
status: BookingStatus;
|
|
613
|
-
rescheduled: boolean | null;
|
|
614
|
-
userId: number | null;
|
|
615
|
-
teamId: number | null;
|
|
616
|
-
eventLength: number | null;
|
|
617
|
-
eventParentId: number | null;
|
|
618
|
-
userEmail: string | null;
|
|
619
|
-
userName: string | null;
|
|
620
|
-
userUsername: string | null;
|
|
621
|
-
ratingFeedback: string | null;
|
|
622
|
-
rating: number | null;
|
|
623
|
-
noShowHost: boolean | null;
|
|
624
|
-
isTeamBooking: boolean;
|
|
625
|
-
timeStatus: string | null;
|
|
626
|
-
};
|
|
627
|
-
export type CalAiPhoneNumber = {
|
|
628
|
-
id: Generated<number>;
|
|
629
|
-
userId: number | null;
|
|
630
|
-
teamId: number | null;
|
|
631
|
-
phoneNumber: string;
|
|
632
|
-
provider: string;
|
|
633
|
-
providerPhoneNumberId: string | null;
|
|
634
|
-
createdAt: Generated<Timestamp>;
|
|
635
|
-
updatedAt: Timestamp;
|
|
636
|
-
stripeCustomerId: string | null;
|
|
637
|
-
stripeSubscriptionId: string | null;
|
|
638
|
-
subscriptionStatus: PhoneNumberSubscriptionStatus | null;
|
|
639
|
-
inboundAgentId: string | null;
|
|
640
|
-
outboundAgentId: string | null;
|
|
641
|
-
};
|
|
642
|
-
export type CalendarCache = {
|
|
643
|
-
id: string | null;
|
|
644
|
-
key: string;
|
|
645
|
-
value: unknown;
|
|
646
|
-
expiresAt: Timestamp;
|
|
647
|
-
updatedAt: Generated<Timestamp>;
|
|
648
|
-
credentialId: number;
|
|
649
|
-
userId: number | null;
|
|
650
|
-
};
|
|
651
|
-
export type CalVideoSettings = {
|
|
652
|
-
eventTypeId: number;
|
|
653
|
-
disableRecordingForOrganizer: Generated<boolean>;
|
|
654
|
-
disableRecordingForGuests: Generated<boolean>;
|
|
655
|
-
enableAutomaticTranscription: Generated<boolean>;
|
|
656
|
-
enableAutomaticRecordingForOrganizer: Generated<boolean>;
|
|
657
|
-
redirectUrlOnExit: string | null;
|
|
658
|
-
disableTranscriptionForGuests: Generated<boolean>;
|
|
659
|
-
disableTranscriptionForOrganizer: Generated<boolean>;
|
|
660
|
-
createdAt: Generated<Timestamp>;
|
|
661
|
-
updatedAt: Timestamp;
|
|
662
|
-
};
|
|
663
|
-
export type Credential = {
|
|
664
|
-
id: Generated<number>;
|
|
665
|
-
type: string;
|
|
666
|
-
key: unknown;
|
|
667
|
-
userId: number | null;
|
|
668
|
-
teamId: number | null;
|
|
669
|
-
appId: string | null;
|
|
670
|
-
subscriptionId: string | null;
|
|
671
|
-
paymentStatus: string | null;
|
|
672
|
-
billingCycleStart: number | null;
|
|
673
|
-
invalid: Generated<boolean | null>;
|
|
674
|
-
delegationCredentialId: string | null;
|
|
675
|
-
};
|
|
676
|
-
export type CreditBalance = {
|
|
677
|
-
id: string;
|
|
678
|
-
teamId: number | null;
|
|
679
|
-
userId: number | null;
|
|
680
|
-
additionalCredits: Generated<number>;
|
|
681
|
-
limitReachedAt: Timestamp | null;
|
|
682
|
-
warningSentAt: Timestamp | null;
|
|
683
|
-
};
|
|
684
|
-
export type CreditExpenseLog = {
|
|
685
|
-
id: string;
|
|
686
|
-
creditBalanceId: string;
|
|
687
|
-
bookingUid: string | null;
|
|
688
|
-
credits: number | null;
|
|
689
|
-
creditType: CreditType;
|
|
690
|
-
date: Timestamp;
|
|
691
|
-
smsSid: string | null;
|
|
692
|
-
smsSegments: number | null;
|
|
693
|
-
phoneNumber: string | null;
|
|
694
|
-
email: string | null;
|
|
695
|
-
callDuration: number | null;
|
|
696
|
-
creditFor: CreditUsageType | null;
|
|
697
|
-
externalRef: string | null;
|
|
698
|
-
};
|
|
699
|
-
export type CreditPurchaseLog = {
|
|
700
|
-
id: string;
|
|
701
|
-
creditBalanceId: string;
|
|
702
|
-
credits: number;
|
|
703
|
-
createdAt: Generated<Timestamp>;
|
|
704
|
-
};
|
|
705
|
-
export type DelegationCredential = {
|
|
706
|
-
id: string;
|
|
707
|
-
workspacePlatformId: number;
|
|
708
|
-
/**
|
|
709
|
-
* @zod.import(["import { serviceAccountKeySchema } from '../../zod-utils'"]).custom.use(serviceAccountKeySchema)
|
|
710
|
-
*/
|
|
711
|
-
serviceAccountKey: unknown;
|
|
712
|
-
enabled: Generated<boolean>;
|
|
713
|
-
lastEnabledAt: Timestamp | null;
|
|
714
|
-
lastDisabledAt: Timestamp | null;
|
|
715
|
-
organizationId: number;
|
|
716
|
-
domain: string;
|
|
717
|
-
createdAt: Generated<Timestamp>;
|
|
718
|
-
updatedAt: Timestamp;
|
|
719
|
-
};
|
|
720
|
-
export type Deployment = {
|
|
721
|
-
/**
|
|
722
|
-
* This is a single row table, so we use a fixed id
|
|
723
|
-
*/
|
|
724
|
-
id: Generated<number>;
|
|
725
|
-
logo: string | null;
|
|
726
|
-
/**
|
|
727
|
-
* @zod.import(["import { DeploymentTheme } from '../../zod-utils'"]).custom.use(DeploymentTheme)
|
|
728
|
-
*/
|
|
729
|
-
theme: unknown | null;
|
|
730
|
-
licenseKey: string | null;
|
|
731
|
-
signatureTokenEncrypted: string | null;
|
|
732
|
-
agreedLicenseAt: Timestamp | null;
|
|
733
|
-
};
|
|
734
|
-
export type DestinationCalendar = {
|
|
735
|
-
id: Generated<number>;
|
|
736
|
-
integration: string;
|
|
737
|
-
externalId: string;
|
|
738
|
-
/**
|
|
739
|
-
* @zod.import(["import { emailSchema } from '../lib/emailSchema'']).custom.use(emailSchema)
|
|
740
|
-
*/
|
|
741
|
-
primaryEmail: string | null;
|
|
742
|
-
userId: number | null;
|
|
743
|
-
eventTypeId: number | null;
|
|
744
|
-
credentialId: number | null;
|
|
745
|
-
createdAt: Generated<Timestamp | null>;
|
|
746
|
-
updatedAt: Timestamp | null;
|
|
747
|
-
delegationCredentialId: string | null;
|
|
748
|
-
domainWideDelegationCredentialId: string | null;
|
|
749
|
-
};
|
|
750
|
-
export type DomainWideDelegation = {
|
|
751
|
-
id: string;
|
|
752
|
-
workspacePlatformId: number;
|
|
753
|
-
/**
|
|
754
|
-
* @zod.import(["import { serviceAccountKeySchema } from '../../zod-utils'"]).custom.use(serviceAccountKeySchema)
|
|
755
|
-
*/
|
|
756
|
-
serviceAccountKey: unknown;
|
|
757
|
-
enabled: Generated<boolean>;
|
|
758
|
-
organizationId: number;
|
|
759
|
-
domain: string;
|
|
760
|
-
createdAt: Generated<Timestamp>;
|
|
761
|
-
updatedAt: Timestamp;
|
|
762
|
-
};
|
|
763
|
-
export type DSyncData = {
|
|
764
|
-
id: Generated<number>;
|
|
765
|
-
directoryId: string;
|
|
766
|
-
tenant: string;
|
|
767
|
-
organizationId: number | null;
|
|
768
|
-
};
|
|
769
|
-
export type DSyncTeamGroupMapping = {
|
|
770
|
-
id: Generated<number>;
|
|
771
|
-
organizationId: number;
|
|
772
|
-
teamId: number;
|
|
773
|
-
directoryId: string;
|
|
774
|
-
groupName: string;
|
|
775
|
-
};
|
|
776
|
-
export type EventType = {
|
|
777
|
-
id: Generated<number>;
|
|
778
|
-
/**
|
|
779
|
-
* @zod.string.min(1)
|
|
780
|
-
*/
|
|
781
|
-
title: string;
|
|
782
|
-
/**
|
|
783
|
-
* @zod.import(["import { eventTypeSlug } from '../../zod-utils'"]).custom.use(eventTypeSlug)
|
|
784
|
-
*/
|
|
785
|
-
slug: string;
|
|
786
|
-
description: string | null;
|
|
787
|
-
interfaceLanguage: string | null;
|
|
788
|
-
position: Generated<number>;
|
|
789
|
-
/**
|
|
790
|
-
* @zod.import(["import { eventTypeLocations } from '../../zod-utils'"]).custom.use(eventTypeLocations)
|
|
791
|
-
*/
|
|
792
|
-
locations: unknown | null;
|
|
793
|
-
/**
|
|
794
|
-
* @zod.number.min(1)
|
|
795
|
-
*/
|
|
796
|
-
length: number;
|
|
797
|
-
offsetStart: Generated<number>;
|
|
798
|
-
hidden: Generated<boolean>;
|
|
799
|
-
userId: number | null;
|
|
800
|
-
profileId: number | null;
|
|
801
|
-
teamId: number | null;
|
|
802
|
-
useEventLevelSelectedCalendars: Generated<boolean>;
|
|
803
|
-
eventName: string | null;
|
|
804
|
-
parentId: number | null;
|
|
805
|
-
/**
|
|
806
|
-
* @zod.import(["import { eventTypeBookingFields } from '../../zod-utils'"]).custom.use(eventTypeBookingFields)
|
|
807
|
-
*/
|
|
808
|
-
bookingFields: unknown | null;
|
|
809
|
-
timeZone: string | null;
|
|
810
|
-
periodType: Generated<PeriodType>;
|
|
811
|
-
/**
|
|
812
|
-
* @zod.import(["import { coerceToDate } from '../../zod-utils'"]).custom.use(coerceToDate)
|
|
813
|
-
*/
|
|
814
|
-
periodStartDate: Timestamp | null;
|
|
815
|
-
/**
|
|
816
|
-
* @zod.import(["import { coerceToDate } from '../../zod-utils'"]).custom.use(coerceToDate)
|
|
817
|
-
*/
|
|
818
|
-
periodEndDate: Timestamp | null;
|
|
819
|
-
periodDays: number | null;
|
|
820
|
-
periodCountCalendarDays: boolean | null;
|
|
821
|
-
lockTimeZoneToggleOnBookingPage: Generated<boolean>;
|
|
822
|
-
lockedTimeZone: string | null;
|
|
823
|
-
requiresConfirmation: Generated<boolean>;
|
|
824
|
-
requiresConfirmationWillBlockSlot: Generated<boolean>;
|
|
825
|
-
requiresConfirmationForFreeEmail: Generated<boolean>;
|
|
826
|
-
requiresBookerEmailVerification: Generated<boolean>;
|
|
827
|
-
canSendCalVideoTranscriptionEmails: Generated<boolean>;
|
|
828
|
-
autoTranslateDescriptionEnabled: Generated<boolean>;
|
|
829
|
-
/**
|
|
830
|
-
* @zod.import(["import { recurringEventType } from '../../zod-utils'"]).custom.use(recurringEventType)
|
|
831
|
-
*/
|
|
832
|
-
recurringEvent: unknown | null;
|
|
833
|
-
disableGuests: Generated<boolean>;
|
|
834
|
-
hideCalendarNotes: Generated<boolean>;
|
|
835
|
-
hideCalendarEventDetails: Generated<boolean>;
|
|
836
|
-
/**
|
|
837
|
-
* @zod.number.min(0)
|
|
838
|
-
*/
|
|
839
|
-
minimumBookingNotice: Generated<number>;
|
|
840
|
-
beforeEventBuffer: Generated<number>;
|
|
841
|
-
afterEventBuffer: Generated<number>;
|
|
842
|
-
seatsPerTimeSlot: number | null;
|
|
843
|
-
onlyShowFirstAvailableSlot: Generated<boolean>;
|
|
844
|
-
showOptimizedSlots: Generated<boolean | null>;
|
|
845
|
-
disableCancelling: Generated<boolean | null>;
|
|
846
|
-
disableRescheduling: Generated<boolean | null>;
|
|
847
|
-
seatsShowAttendees: Generated<boolean | null>;
|
|
848
|
-
seatsShowAvailabilityCount: Generated<boolean | null>;
|
|
849
|
-
schedulingType: SchedulingType | null;
|
|
850
|
-
scheduleId: number | null;
|
|
851
|
-
allowReschedulingCancelledBookings: Generated<boolean | null>;
|
|
852
|
-
price: Generated<number>;
|
|
853
|
-
currency: Generated<string>;
|
|
854
|
-
slotInterval: number | null;
|
|
855
|
-
/**
|
|
856
|
-
* @zod.import(["import { EventTypeMetaDataSchema } from '../../zod-utils'"]).custom.use(EventTypeMetaDataSchema)
|
|
857
|
-
*/
|
|
858
|
-
metadata: unknown | null;
|
|
859
|
-
/**
|
|
860
|
-
* @zod.import(["import { successRedirectUrl } from '../../zod-utils'"]).custom.use(successRedirectUrl)
|
|
861
|
-
*/
|
|
862
|
-
successRedirectUrl: string | null;
|
|
863
|
-
forwardParamsSuccessRedirect: Generated<boolean | null>;
|
|
864
|
-
/**
|
|
865
|
-
* @zod.import(["import { intervalLimitsType } from '../../zod-utils'"]).custom.use(intervalLimitsType)
|
|
866
|
-
*/
|
|
867
|
-
bookingLimits: unknown | null;
|
|
868
|
-
/**
|
|
869
|
-
* @zod.import(["import { intervalLimitsType } from '../../zod-utils'"]).custom.use(intervalLimitsType)
|
|
870
|
-
*/
|
|
871
|
-
durationLimits: unknown | null;
|
|
872
|
-
isInstantEvent: Generated<boolean>;
|
|
873
|
-
instantMeetingExpiryTimeOffsetInSeconds: Generated<number>;
|
|
874
|
-
instantMeetingScheduleId: number | null;
|
|
875
|
-
instantMeetingParameters: string[];
|
|
876
|
-
assignAllTeamMembers: Generated<boolean>;
|
|
877
|
-
assignRRMembersUsingSegment: Generated<boolean>;
|
|
878
|
-
/**
|
|
879
|
-
* @zod.import(["import { rrSegmentQueryValueSchema } from '../../zod-utils'"]).custom.use(rrSegmentQueryValueSchema)
|
|
880
|
-
*/
|
|
881
|
-
rrSegmentQueryValue: unknown | null;
|
|
882
|
-
useEventTypeDestinationCalendarEmail: Generated<boolean>;
|
|
883
|
-
isRRWeightsEnabled: Generated<boolean>;
|
|
884
|
-
maxLeadThreshold: number | null;
|
|
885
|
-
includeNoShowInRRCalculation: Generated<boolean>;
|
|
886
|
-
allowReschedulingPastBookings: Generated<boolean>;
|
|
887
|
-
hideOrganizerEmail: Generated<boolean>;
|
|
888
|
-
maxActiveBookingsPerBooker: number | null;
|
|
889
|
-
maxActiveBookingPerBookerOfferReschedule: Generated<boolean>;
|
|
890
|
-
/**
|
|
891
|
-
* @zod.import(["import { emailSchema } from '../lib/emailSchema'']).custom.use(emailSchema)
|
|
892
|
-
*/
|
|
893
|
-
customReplyToEmail: string | null;
|
|
894
|
-
/**
|
|
895
|
-
* @zod.import(["import { eventTypeColor } from '../../zod-utils'"]).custom.use(eventTypeColor)
|
|
896
|
-
*/
|
|
897
|
-
eventTypeColor: unknown | null;
|
|
898
|
-
rescheduleWithSameRoundRobinHost: Generated<boolean>;
|
|
899
|
-
secondaryEmailId: number | null;
|
|
900
|
-
useBookerTimezone: Generated<boolean>;
|
|
901
|
-
restrictionScheduleId: number | null;
|
|
902
|
-
bookingRequiresAuthentication: Generated<boolean>;
|
|
903
|
-
};
|
|
904
|
-
export type EventTypeCustomInput = {
|
|
905
|
-
id: Generated<number>;
|
|
906
|
-
eventTypeId: number;
|
|
907
|
-
label: string;
|
|
908
|
-
type: EventTypeCustomInputType;
|
|
909
|
-
/**
|
|
910
|
-
* @zod.import(["import { customInputOptionSchema } from '../../zod-utils'"]).custom.use(customInputOptionSchema)
|
|
911
|
-
*/
|
|
912
|
-
options: unknown | null;
|
|
913
|
-
required: boolean;
|
|
914
|
-
placeholder: Generated<string>;
|
|
915
|
-
};
|
|
916
|
-
export type EventTypeTranslation = {
|
|
917
|
-
uid: string;
|
|
918
|
-
eventTypeId: number;
|
|
919
|
-
field: EventTypeAutoTranslatedField;
|
|
920
|
-
sourceLocale: string;
|
|
921
|
-
targetLocale: string;
|
|
922
|
-
translatedText: string;
|
|
923
|
-
createdAt: Generated<Timestamp>;
|
|
924
|
-
createdBy: number;
|
|
925
|
-
updatedAt: Timestamp;
|
|
926
|
-
updatedBy: number | null;
|
|
927
|
-
};
|
|
928
|
-
export type Feature = {
|
|
929
|
-
slug: string;
|
|
930
|
-
enabled: Generated<boolean>;
|
|
931
|
-
description: string | null;
|
|
932
|
-
type: Generated<FeatureType | null>;
|
|
933
|
-
stale: Generated<boolean | null>;
|
|
934
|
-
lastUsedAt: Timestamp | null;
|
|
935
|
-
createdAt: Generated<Timestamp | null>;
|
|
936
|
-
updatedAt: Generated<Timestamp | null>;
|
|
937
|
-
updatedBy: number | null;
|
|
938
|
-
};
|
|
939
|
-
export type Feedback = {
|
|
940
|
-
id: Generated<number>;
|
|
941
|
-
date: Generated<Timestamp>;
|
|
942
|
-
userId: number;
|
|
943
|
-
rating: string;
|
|
944
|
-
comment: string | null;
|
|
945
|
-
};
|
|
946
|
-
export type FilterSegment = {
|
|
947
|
-
id: Generated<number>;
|
|
948
|
-
name: string;
|
|
949
|
-
tableIdentifier: string;
|
|
950
|
-
scope: FilterSegmentScope;
|
|
951
|
-
activeFilters: unknown | null;
|
|
952
|
-
sorting: unknown | null;
|
|
953
|
-
columnVisibility: unknown | null;
|
|
954
|
-
columnSizing: unknown | null;
|
|
955
|
-
perPage: number;
|
|
956
|
-
searchTerm: string | null;
|
|
957
|
-
createdAt: Generated<Timestamp>;
|
|
958
|
-
updatedAt: Timestamp;
|
|
959
|
-
userId: number;
|
|
960
|
-
teamId: number | null;
|
|
961
|
-
};
|
|
962
|
-
export type HashedLink = {
|
|
963
|
-
id: Generated<number>;
|
|
964
|
-
link: string;
|
|
965
|
-
eventTypeId: number;
|
|
966
|
-
expiresAt: Timestamp | null;
|
|
967
|
-
maxUsageCount: Generated<number>;
|
|
968
|
-
usageCount: Generated<number>;
|
|
969
|
-
};
|
|
970
|
-
export type Host = {
|
|
971
|
-
userId: number;
|
|
972
|
-
eventTypeId: number;
|
|
973
|
-
isFixed: Generated<boolean>;
|
|
974
|
-
priority: number | null;
|
|
975
|
-
weight: number | null;
|
|
976
|
-
weightAdjustment: number | null;
|
|
977
|
-
scheduleId: number | null;
|
|
978
|
-
createdAt: Generated<Timestamp>;
|
|
979
|
-
groupId: string | null;
|
|
980
|
-
memberId: number | null;
|
|
981
|
-
};
|
|
982
|
-
export type HostGroup = {
|
|
983
|
-
id: string;
|
|
984
|
-
name: string;
|
|
985
|
-
eventTypeId: number | null;
|
|
986
|
-
createdAt: Generated<Timestamp>;
|
|
987
|
-
updatedAt: Timestamp;
|
|
988
|
-
};
|
|
989
|
-
export type Impersonations = {
|
|
990
|
-
id: Generated<number>;
|
|
991
|
-
createdAt: Generated<Timestamp>;
|
|
992
|
-
impersonatedUserId: number;
|
|
993
|
-
impersonatedById: number;
|
|
994
|
-
};
|
|
995
|
-
export type InstantMeetingToken = {
|
|
996
|
-
id: Generated<number>;
|
|
997
|
-
token: string;
|
|
998
|
-
expires: Timestamp;
|
|
999
|
-
teamId: number;
|
|
1000
|
-
bookingId: number | null;
|
|
1001
|
-
createdAt: Generated<Timestamp>;
|
|
1002
|
-
updatedAt: Timestamp;
|
|
1003
|
-
};
|
|
1004
|
-
export type InternalNotePreset = {
|
|
1005
|
-
id: Generated<number>;
|
|
1006
|
-
name: string;
|
|
1007
|
-
cancellationReason: string | null;
|
|
1008
|
-
teamId: number;
|
|
1009
|
-
createdAt: Generated<Timestamp>;
|
|
1010
|
-
};
|
|
1011
|
-
export type ManagedOrganization = {
|
|
1012
|
-
managedOrganizationId: number;
|
|
1013
|
-
managerOrganizationId: number;
|
|
1014
|
-
createdAt: Generated<Timestamp>;
|
|
1015
|
-
};
|
|
1016
|
-
export type Membership = {
|
|
1017
|
-
id: Generated<number>;
|
|
1018
|
-
teamId: number;
|
|
1019
|
-
userId: number;
|
|
1020
|
-
accepted: Generated<boolean>;
|
|
1021
|
-
role: MembershipRole;
|
|
1022
|
-
customRoleId: string | null;
|
|
1023
|
-
disableImpersonation: Generated<boolean>;
|
|
1024
|
-
createdAt: Generated<Timestamp | null>;
|
|
1025
|
-
updatedAt: Timestamp | null;
|
|
1026
|
-
};
|
|
1027
|
-
export type NotificationsSubscriptions = {
|
|
1028
|
-
id: Generated<number>;
|
|
1029
|
-
userId: number;
|
|
1030
|
-
subscription: string;
|
|
1031
|
-
};
|
|
1032
|
-
export type OAuthClient = {
|
|
1033
|
-
clientId: string;
|
|
1034
|
-
redirectUri: string;
|
|
1035
|
-
clientSecret: string;
|
|
1036
|
-
name: string;
|
|
1037
|
-
logo: string | null;
|
|
1038
|
-
};
|
|
1039
|
-
export type OrganizationOnboarding = {
|
|
1040
|
-
id: string;
|
|
1041
|
-
createdById: number;
|
|
1042
|
-
createdAt: Generated<Timestamp>;
|
|
1043
|
-
orgOwnerEmail: string;
|
|
1044
|
-
error: string | null;
|
|
1045
|
-
updatedAt: Timestamp;
|
|
1046
|
-
organizationId: number | null;
|
|
1047
|
-
billingPeriod: BillingPeriod;
|
|
1048
|
-
pricePerSeat: number;
|
|
1049
|
-
seats: number;
|
|
1050
|
-
isPlatform: Generated<boolean>;
|
|
1051
|
-
name: string;
|
|
1052
|
-
slug: string;
|
|
1053
|
-
logo: string | null;
|
|
1054
|
-
bio: string | null;
|
|
1055
|
-
isDomainConfigured: Generated<boolean>;
|
|
1056
|
-
stripeCustomerId: string | null;
|
|
1057
|
-
stripeSubscriptionId: string | null;
|
|
1058
|
-
stripeSubscriptionItemId: string | null;
|
|
1059
|
-
/**
|
|
1060
|
-
* @zod.import(["import { orgOnboardingInvitedMembersSchema } from '../../zod-utils'"]).custom.use(orgOnboardingInvitedMembersSchema)
|
|
1061
|
-
*/
|
|
1062
|
-
invitedMembers: Generated<unknown>;
|
|
1063
|
-
/**
|
|
1064
|
-
* @zod.import(["import { orgOnboardingTeamsSchema } from '../../zod-utils'"]).custom.use(orgOnboardingTeamsSchema)
|
|
1065
|
-
*/
|
|
1066
|
-
teams: Generated<unknown>;
|
|
1067
|
-
isComplete: Generated<boolean>;
|
|
1068
|
-
};
|
|
1069
|
-
export type OrganizationSettings = {
|
|
1070
|
-
id: Generated<number>;
|
|
1071
|
-
organizationId: number;
|
|
1072
|
-
isOrganizationConfigured: Generated<boolean>;
|
|
1073
|
-
isOrganizationVerified: Generated<boolean>;
|
|
1074
|
-
orgAutoAcceptEmail: string;
|
|
1075
|
-
lockEventTypeCreationForUsers: Generated<boolean>;
|
|
1076
|
-
adminGetsNoSlotsNotification: Generated<boolean>;
|
|
1077
|
-
isAdminReviewed: Generated<boolean>;
|
|
1078
|
-
isAdminAPIEnabled: Generated<boolean>;
|
|
1079
|
-
allowSEOIndexing: Generated<boolean>;
|
|
1080
|
-
orgProfileRedirectsToVerifiedDomain: Generated<boolean>;
|
|
1081
|
-
disablePhoneOnlySMSNotifications: Generated<boolean>;
|
|
1082
|
-
};
|
|
1083
|
-
export type OutOfOfficeEntry = {
|
|
1084
|
-
id: Generated<number>;
|
|
1085
|
-
uuid: string;
|
|
1086
|
-
start: Timestamp;
|
|
1087
|
-
end: Timestamp;
|
|
1088
|
-
notes: string | null;
|
|
1089
|
-
userId: number;
|
|
1090
|
-
toUserId: number | null;
|
|
1091
|
-
reasonId: number | null;
|
|
1092
|
-
createdAt: Generated<Timestamp>;
|
|
1093
|
-
updatedAt: Timestamp;
|
|
1094
|
-
};
|
|
1095
|
-
export type OutOfOfficeReason = {
|
|
1096
|
-
id: Generated<number>;
|
|
1097
|
-
emoji: string;
|
|
1098
|
-
reason: string;
|
|
1099
|
-
enabled: Generated<boolean>;
|
|
1100
|
-
userId: number | null;
|
|
1101
|
-
};
|
|
1102
|
-
export type Payment = {
|
|
1103
|
-
id: Generated<number>;
|
|
1104
|
-
uid: string;
|
|
1105
|
-
appId: string | null;
|
|
1106
|
-
bookingId: number;
|
|
1107
|
-
amount: number;
|
|
1108
|
-
fee: number;
|
|
1109
|
-
currency: string;
|
|
1110
|
-
success: boolean;
|
|
1111
|
-
refunded: boolean;
|
|
1112
|
-
data: unknown;
|
|
1113
|
-
externalId: string;
|
|
1114
|
-
paymentOption: Generated<PaymentOption | null>;
|
|
1115
|
-
};
|
|
1116
|
-
export type PlatformAuthorizationToken = {
|
|
1117
|
-
id: string;
|
|
1118
|
-
platformOAuthClientId: string;
|
|
1119
|
-
userId: number;
|
|
1120
|
-
createdAt: Generated<Timestamp>;
|
|
1121
|
-
};
|
|
1122
|
-
export type PlatformBilling = {
|
|
1123
|
-
id: number;
|
|
1124
|
-
customerId: string;
|
|
1125
|
-
subscriptionId: string | null;
|
|
1126
|
-
priceId: string | null;
|
|
1127
|
-
plan: Generated<string>;
|
|
1128
|
-
billingCycleStart: number | null;
|
|
1129
|
-
billingCycleEnd: number | null;
|
|
1130
|
-
overdue: Generated<boolean | null>;
|
|
1131
|
-
managerBillingId: number | null;
|
|
1132
|
-
};
|
|
1133
|
-
export type PlatformOAuthClient = {
|
|
1134
|
-
id: string;
|
|
1135
|
-
name: string;
|
|
1136
|
-
secret: string;
|
|
1137
|
-
permissions: number;
|
|
1138
|
-
logo: string | null;
|
|
1139
|
-
redirectUris: string[];
|
|
1140
|
-
organizationId: number;
|
|
1141
|
-
bookingRedirectUri: string | null;
|
|
1142
|
-
bookingCancelRedirectUri: string | null;
|
|
1143
|
-
bookingRescheduleRedirectUri: string | null;
|
|
1144
|
-
areEmailsEnabled: Generated<boolean>;
|
|
1145
|
-
areDefaultEventTypesEnabled: Generated<boolean>;
|
|
1146
|
-
areCalendarEventsEnabled: Generated<boolean>;
|
|
1147
|
-
createdAt: Generated<Timestamp>;
|
|
1148
|
-
};
|
|
1149
|
-
export type PlatformOAuthClientToUser = {
|
|
1150
|
-
A: string;
|
|
1151
|
-
B: number;
|
|
1152
|
-
};
|
|
1153
|
-
export type Profile = {
|
|
1154
|
-
id: Generated<number>;
|
|
1155
|
-
uid: string;
|
|
1156
|
-
userId: number;
|
|
1157
|
-
organizationId: number;
|
|
1158
|
-
username: string;
|
|
1159
|
-
createdAt: Generated<Timestamp>;
|
|
1160
|
-
updatedAt: Timestamp;
|
|
1161
|
-
};
|
|
1162
|
-
export type RateLimit = {
|
|
1163
|
-
id: string;
|
|
1164
|
-
name: string;
|
|
1165
|
-
apiKeyId: string;
|
|
1166
|
-
ttl: number;
|
|
1167
|
-
limit: number;
|
|
1168
|
-
blockDuration: number;
|
|
1169
|
-
createdAt: Generated<Timestamp>;
|
|
1170
|
-
updatedAt: Timestamp;
|
|
1171
|
-
};
|
|
1172
|
-
export type RefreshToken = {
|
|
1173
|
-
id: Generated<number>;
|
|
1174
|
-
secret: string;
|
|
1175
|
-
createdAt: Generated<Timestamp>;
|
|
1176
|
-
expiresAt: Timestamp;
|
|
1177
|
-
platformOAuthClientId: string;
|
|
1178
|
-
userId: number;
|
|
1179
|
-
};
|
|
1180
|
-
export type ReminderMail = {
|
|
1181
|
-
id: Generated<number>;
|
|
1182
|
-
referenceId: number;
|
|
1183
|
-
reminderType: ReminderType;
|
|
1184
|
-
elapsedMinutes: number;
|
|
1185
|
-
createdAt: Generated<Timestamp>;
|
|
1186
|
-
};
|
|
1187
|
-
export type ResetPasswordRequest = {
|
|
1188
|
-
id: string;
|
|
1189
|
-
createdAt: Generated<Timestamp>;
|
|
1190
|
-
updatedAt: Timestamp;
|
|
1191
|
-
email: string;
|
|
1192
|
-
expires: Timestamp;
|
|
1193
|
-
};
|
|
1194
|
-
export type Role = {
|
|
1195
|
-
id: string;
|
|
1196
|
-
name: string;
|
|
1197
|
-
color: string | null;
|
|
1198
|
-
description: string | null;
|
|
1199
|
-
teamId: number | null;
|
|
1200
|
-
createdAt: Generated<Timestamp>;
|
|
1201
|
-
updatedAt: Timestamp;
|
|
1202
|
-
type: Generated<RoleType>;
|
|
1203
|
-
};
|
|
1204
|
-
export type RolePermission = {
|
|
1205
|
-
id: string;
|
|
1206
|
-
roleId: string;
|
|
1207
|
-
resource: string;
|
|
1208
|
-
action: string;
|
|
1209
|
-
createdAt: Generated<Timestamp>;
|
|
1210
|
-
};
|
|
1211
|
-
export type RoutingFormResponse = {
|
|
1212
|
-
id: number;
|
|
1213
|
-
response: unknown;
|
|
1214
|
-
responseLowercase: unknown;
|
|
1215
|
-
formId: string;
|
|
1216
|
-
formName: string;
|
|
1217
|
-
formTeamId: number | null;
|
|
1218
|
-
formUserId: number | null;
|
|
1219
|
-
bookingUid: string | null;
|
|
1220
|
-
bookingStatus: BookingStatus | null;
|
|
1221
|
-
bookingStatusOrder: number | null;
|
|
1222
|
-
bookingCreatedAt: Timestamp | null;
|
|
1223
|
-
bookingAttendees: unknown | null;
|
|
1224
|
-
bookingUserId: number | null;
|
|
1225
|
-
bookingUserName: string | null;
|
|
1226
|
-
bookingUserEmail: string | null;
|
|
1227
|
-
bookingUserAvatarUrl: string | null;
|
|
1228
|
-
bookingAssignmentReason: string | null;
|
|
1229
|
-
bookingAssignmentReasonLowercase: string | null;
|
|
1230
|
-
bookingStartTime: Timestamp | null;
|
|
1231
|
-
bookingEndTime: Timestamp | null;
|
|
1232
|
-
createdAt: Timestamp;
|
|
1233
|
-
utm_source: string | null;
|
|
1234
|
-
utm_medium: string | null;
|
|
1235
|
-
utm_campaign: string | null;
|
|
1236
|
-
utm_term: string | null;
|
|
1237
|
-
utm_content: string | null;
|
|
1238
|
-
};
|
|
1239
|
-
export type RoutingFormResponseDenormalized = {
|
|
1240
|
-
id: number;
|
|
1241
|
-
uuid: string | null;
|
|
1242
|
-
formId: string;
|
|
1243
|
-
formName: string;
|
|
1244
|
-
formTeamId: number | null;
|
|
1245
|
-
formUserId: number;
|
|
1246
|
-
bookingUid: string | null;
|
|
1247
|
-
bookingId: number | null;
|
|
1248
|
-
bookingStatus: BookingStatus | null;
|
|
1249
|
-
bookingStatusOrder: number | null;
|
|
1250
|
-
bookingCreatedAt: Timestamp | null;
|
|
1251
|
-
bookingStartTime: Timestamp | null;
|
|
1252
|
-
bookingEndTime: Timestamp | null;
|
|
1253
|
-
bookingUserId: number | null;
|
|
1254
|
-
bookingUserName: string | null;
|
|
1255
|
-
bookingUserEmail: string | null;
|
|
1256
|
-
bookingUserAvatarUrl: string | null;
|
|
1257
|
-
bookingAssignmentReason: string | null;
|
|
1258
|
-
eventTypeId: number | null;
|
|
1259
|
-
eventTypeParentId: number | null;
|
|
1260
|
-
eventTypeSchedulingType: string | null;
|
|
1261
|
-
createdAt: Timestamp;
|
|
1262
|
-
utm_source: string | null;
|
|
1263
|
-
utm_medium: string | null;
|
|
1264
|
-
utm_campaign: string | null;
|
|
1265
|
-
utm_term: string | null;
|
|
1266
|
-
utm_content: string | null;
|
|
1267
|
-
};
|
|
1268
|
-
export type RoutingFormResponseField = {
|
|
1269
|
-
id: Generated<number>;
|
|
1270
|
-
responseId: number;
|
|
1271
|
-
fieldId: string;
|
|
1272
|
-
valueString: string | null;
|
|
1273
|
-
valueNumber: string | null;
|
|
1274
|
-
valueStringArray: string[];
|
|
1275
|
-
};
|
|
1276
|
-
export type Schedule = {
|
|
1277
|
-
id: Generated<number>;
|
|
1278
|
-
userId: number;
|
|
1279
|
-
name: string;
|
|
1280
|
-
timeZone: string | null;
|
|
1281
|
-
};
|
|
1282
|
-
export type SecondaryEmail = {
|
|
1283
|
-
id: Generated<number>;
|
|
1284
|
-
userId: number;
|
|
1285
|
-
email: string;
|
|
1286
|
-
emailVerified: Timestamp | null;
|
|
1287
|
-
};
|
|
1288
|
-
export type SelectedCalendar = {
|
|
1289
|
-
id: string;
|
|
1290
|
-
userId: number;
|
|
1291
|
-
integration: string;
|
|
1292
|
-
externalId: string;
|
|
1293
|
-
credentialId: number | null;
|
|
1294
|
-
createdAt: Generated<Timestamp | null>;
|
|
1295
|
-
updatedAt: Timestamp | null;
|
|
1296
|
-
googleChannelId: string | null;
|
|
1297
|
-
googleChannelKind: string | null;
|
|
1298
|
-
googleChannelResourceId: string | null;
|
|
1299
|
-
googleChannelResourceUri: string | null;
|
|
1300
|
-
googleChannelExpiration: string | null;
|
|
1301
|
-
delegationCredentialId: string | null;
|
|
1302
|
-
domainWideDelegationCredentialId: string | null;
|
|
1303
|
-
error: string | null;
|
|
1304
|
-
lastErrorAt: Timestamp | null;
|
|
1305
|
-
watchAttempts: Generated<number>;
|
|
1306
|
-
unwatchAttempts: Generated<number>;
|
|
1307
|
-
maxAttempts: Generated<number>;
|
|
1308
|
-
eventTypeId: number | null;
|
|
1309
|
-
};
|
|
1310
|
-
export type SelectedSlots = {
|
|
1311
|
-
id: Generated<number>;
|
|
1312
|
-
eventTypeId: number;
|
|
1313
|
-
userId: number;
|
|
1314
|
-
slotUtcStartDate: Timestamp;
|
|
1315
|
-
slotUtcEndDate: Timestamp;
|
|
1316
|
-
uid: string;
|
|
1317
|
-
releaseAt: Timestamp;
|
|
1318
|
-
isSeat: Generated<boolean>;
|
|
1319
|
-
};
|
|
1320
|
-
export type Session = {
|
|
1321
|
-
id: string;
|
|
1322
|
-
sessionToken: string;
|
|
1323
|
-
userId: number;
|
|
1324
|
-
expires: Timestamp;
|
|
1325
|
-
};
|
|
1326
|
-
export type Task = {
|
|
1327
|
-
id: string;
|
|
1328
|
-
createdAt: Generated<Timestamp>;
|
|
1329
|
-
updatedAt: Timestamp;
|
|
1330
|
-
scheduledAt: Generated<Timestamp>;
|
|
1331
|
-
succeededAt: Timestamp | null;
|
|
1332
|
-
type: string;
|
|
1333
|
-
payload: string;
|
|
1334
|
-
attempts: Generated<number>;
|
|
1335
|
-
maxAttempts: Generated<number>;
|
|
1336
|
-
lastError: string | null;
|
|
1337
|
-
lastFailedAttemptAt: Timestamp | null;
|
|
1338
|
-
referenceUid: string | null;
|
|
1339
|
-
};
|
|
1340
|
-
export type Team = {
|
|
1341
|
-
id: Generated<number>;
|
|
1342
|
-
/**
|
|
1343
|
-
* @zod.string.min(1)
|
|
1344
|
-
*/
|
|
1345
|
-
name: string;
|
|
1346
|
-
/**
|
|
1347
|
-
* @zod.string.min(1)
|
|
1348
|
-
*/
|
|
1349
|
-
slug: string | null;
|
|
1350
|
-
logoUrl: string | null;
|
|
1351
|
-
calVideoLogo: string | null;
|
|
1352
|
-
appLogo: string | null;
|
|
1353
|
-
appIconLogo: string | null;
|
|
1354
|
-
bio: string | null;
|
|
1355
|
-
hideBranding: Generated<boolean>;
|
|
1356
|
-
hideTeamProfileLink: Generated<boolean>;
|
|
1357
|
-
isPrivate: Generated<boolean>;
|
|
1358
|
-
hideBookATeamMember: Generated<boolean>;
|
|
1359
|
-
createdAt: Generated<Timestamp>;
|
|
1360
|
-
/**
|
|
1361
|
-
* @zod.import(["import { teamMetadataSchema } from '../../zod-utils'"]).custom.use(teamMetadataSchema)
|
|
1362
|
-
*/
|
|
1363
|
-
metadata: unknown | null;
|
|
1364
|
-
theme: string | null;
|
|
1365
|
-
rrResetInterval: Generated<RRResetInterval | null>;
|
|
1366
|
-
rrTimestampBasis: Generated<RRTimestampBasis>;
|
|
1367
|
-
brandColor: string | null;
|
|
1368
|
-
darkBrandColor: string | null;
|
|
1369
|
-
bannerUrl: string | null;
|
|
1370
|
-
parentId: number | null;
|
|
1371
|
-
timeFormat: number | null;
|
|
1372
|
-
timeZone: Generated<string>;
|
|
1373
|
-
weekStart: Generated<string>;
|
|
1374
|
-
isOrganization: Generated<boolean>;
|
|
1375
|
-
pendingPayment: Generated<boolean>;
|
|
1376
|
-
isPlatform: Generated<boolean>;
|
|
1377
|
-
createdByOAuthClientId: string | null;
|
|
1378
|
-
smsLockState: Generated<SMSLockState>;
|
|
1379
|
-
smsLockReviewedByAdmin: Generated<boolean>;
|
|
1380
|
-
/**
|
|
1381
|
-
* @zod.import(["import { intervalLimitsType } from '../../zod-utils'"]).custom.use(intervalLimitsType)
|
|
1382
|
-
*/
|
|
1383
|
-
bookingLimits: unknown | null;
|
|
1384
|
-
includeManagedEventsInLimits: Generated<boolean>;
|
|
1385
|
-
};
|
|
1386
|
-
export type TeamFeatures = {
|
|
1387
|
-
teamId: number;
|
|
1388
|
-
featureId: string;
|
|
1389
|
-
assignedAt: Generated<Timestamp>;
|
|
1390
|
-
assignedBy: string;
|
|
1391
|
-
updatedAt: Timestamp;
|
|
1392
|
-
};
|
|
1393
|
-
export type TempOrgRedirect = {
|
|
1394
|
-
id: Generated<number>;
|
|
1395
|
-
from: string;
|
|
1396
|
-
fromOrgId: number;
|
|
1397
|
-
type: RedirectType;
|
|
1398
|
-
toUrl: string;
|
|
1399
|
-
enabled: Generated<boolean>;
|
|
1400
|
-
createdAt: Generated<Timestamp>;
|
|
1401
|
-
updatedAt: Timestamp;
|
|
1402
|
-
};
|
|
1403
|
-
export type Tracking = {
|
|
1404
|
-
id: Generated<number>;
|
|
1405
|
-
bookingId: number;
|
|
1406
|
-
utm_source: string | null;
|
|
1407
|
-
utm_medium: string | null;
|
|
1408
|
-
utm_campaign: string | null;
|
|
1409
|
-
utm_term: string | null;
|
|
1410
|
-
utm_content: string | null;
|
|
1411
|
-
};
|
|
1412
|
-
export type TravelSchedule = {
|
|
1413
|
-
id: Generated<number>;
|
|
1414
|
-
userId: number;
|
|
1415
|
-
timeZone: string;
|
|
1416
|
-
startDate: Timestamp;
|
|
1417
|
-
endDate: Timestamp | null;
|
|
1418
|
-
prevTimeZone: string | null;
|
|
1419
|
-
};
|
|
1420
|
-
export type User = {
|
|
1421
|
-
id: Generated<number>;
|
|
1422
|
-
username: string | null;
|
|
1423
|
-
name: string | null;
|
|
1424
|
-
/**
|
|
1425
|
-
* @zod.import(["import { emailSchema } from '../lib/emailSchema'']).custom.use(emailSchema)
|
|
1426
|
-
*/
|
|
1427
|
-
email: string;
|
|
1428
|
-
emailVerified: Timestamp | null;
|
|
1429
|
-
bio: string | null;
|
|
1430
|
-
avatarUrl: string | null;
|
|
1431
|
-
timeZone: Generated<string>;
|
|
1432
|
-
weekStart: Generated<string>;
|
|
1433
|
-
startTime: Generated<number>;
|
|
1434
|
-
endTime: Generated<number>;
|
|
1435
|
-
bufferTime: Generated<number>;
|
|
1436
|
-
hideBranding: Generated<boolean>;
|
|
1437
|
-
theme: string | null;
|
|
1438
|
-
appTheme: string | null;
|
|
1439
|
-
created: Generated<Timestamp>;
|
|
1440
|
-
trialEndsAt: Timestamp | null;
|
|
1441
|
-
lastActiveAt: Timestamp | null;
|
|
1442
|
-
defaultScheduleId: number | null;
|
|
1443
|
-
completedOnboarding: Generated<boolean>;
|
|
1444
|
-
locale: string | null;
|
|
1445
|
-
timeFormat: Generated<number | null>;
|
|
1446
|
-
twoFactorSecret: string | null;
|
|
1447
|
-
twoFactorEnabled: Generated<boolean>;
|
|
1448
|
-
backupCodes: string | null;
|
|
1449
|
-
identityProvider: Generated<IdentityProvider>;
|
|
1450
|
-
identityProviderId: string | null;
|
|
1451
|
-
invitedTo: number | null;
|
|
1452
|
-
brandColor: string | null;
|
|
1453
|
-
darkBrandColor: string | null;
|
|
1454
|
-
allowDynamicBooking: Generated<boolean | null>;
|
|
1455
|
-
allowSEOIndexing: Generated<boolean | null>;
|
|
1456
|
-
receiveMonthlyDigestEmail: Generated<boolean | null>;
|
|
1457
|
-
/**
|
|
1458
|
-
* @zod.import(["import { userMetadata } from '../../zod-utils'"]).custom.use(userMetadata)
|
|
1459
|
-
*/
|
|
1460
|
-
metadata: unknown | null;
|
|
1461
|
-
verified: Generated<boolean | null>;
|
|
1462
|
-
role: Generated<UserPermissionRole>;
|
|
1463
|
-
disableImpersonation: Generated<boolean>;
|
|
1464
|
-
organizationId: number | null;
|
|
1465
|
-
locked: Generated<boolean>;
|
|
1466
|
-
movedToProfileId: number | null;
|
|
1467
|
-
isPlatformManaged: Generated<boolean>;
|
|
1468
|
-
smsLockState: Generated<SMSLockState>;
|
|
1469
|
-
smsLockReviewedByAdmin: Generated<boolean>;
|
|
1470
|
-
referralLinkId: string | null;
|
|
1471
|
-
creationSource: CreationSource | null;
|
|
1472
|
-
whitelistWorkflows: Generated<boolean>;
|
|
1473
|
-
};
|
|
1474
|
-
export type user_eventtype = {
|
|
1475
|
-
A: number;
|
|
1476
|
-
B: number;
|
|
1477
|
-
};
|
|
1478
|
-
export type UserFeatures = {
|
|
1479
|
-
userId: number;
|
|
1480
|
-
featureId: string;
|
|
1481
|
-
assignedAt: Generated<Timestamp>;
|
|
1482
|
-
assignedBy: string;
|
|
1483
|
-
updatedAt: Timestamp;
|
|
1484
|
-
};
|
|
1485
|
-
export type UserFilterSegmentPreference = {
|
|
1486
|
-
id: Generated<number>;
|
|
1487
|
-
userId: number;
|
|
1488
|
-
tableIdentifier: string;
|
|
1489
|
-
segmentId: number | null;
|
|
1490
|
-
systemSegmentId: string | null;
|
|
1491
|
-
createdAt: Generated<Timestamp>;
|
|
1492
|
-
updatedAt: Timestamp;
|
|
1493
|
-
};
|
|
1494
|
-
export type UserPassword = {
|
|
1495
|
-
hash: string;
|
|
1496
|
-
userId: number;
|
|
1497
|
-
};
|
|
1498
|
-
export type VerificationToken = {
|
|
1499
|
-
id: Generated<number>;
|
|
1500
|
-
identifier: string;
|
|
1501
|
-
token: string;
|
|
1502
|
-
expires: Timestamp;
|
|
1503
|
-
expiresInDays: number | null;
|
|
1504
|
-
createdAt: Generated<Timestamp>;
|
|
1505
|
-
updatedAt: Timestamp;
|
|
1506
|
-
teamId: number | null;
|
|
1507
|
-
secondaryEmailId: number | null;
|
|
1508
|
-
};
|
|
1509
|
-
export type VerifiedEmail = {
|
|
1510
|
-
id: Generated<number>;
|
|
1511
|
-
userId: number | null;
|
|
1512
|
-
teamId: number | null;
|
|
1513
|
-
email: string;
|
|
1514
|
-
};
|
|
1515
|
-
export type VerifiedNumber = {
|
|
1516
|
-
id: Generated<number>;
|
|
1517
|
-
userId: number | null;
|
|
1518
|
-
teamId: number | null;
|
|
1519
|
-
phoneNumber: string;
|
|
1520
|
-
};
|
|
1521
|
-
export type Watchlist = {
|
|
1522
|
-
id: string;
|
|
1523
|
-
type: WatchlistType;
|
|
1524
|
-
value: string;
|
|
1525
|
-
description: string | null;
|
|
1526
|
-
createdAt: Generated<Timestamp>;
|
|
1527
|
-
createdById: number;
|
|
1528
|
-
updatedAt: Timestamp;
|
|
1529
|
-
updatedById: number | null;
|
|
1530
|
-
severity: Generated<WatchlistSeverity>;
|
|
1531
|
-
};
|
|
1532
|
-
export type Webhook = {
|
|
1533
|
-
id: string;
|
|
1534
|
-
userId: number | null;
|
|
1535
|
-
teamId: number | null;
|
|
1536
|
-
eventTypeId: number | null;
|
|
1537
|
-
platformOAuthClientId: string | null;
|
|
1538
|
-
/**
|
|
1539
|
-
* @zod.string.url()
|
|
1540
|
-
*/
|
|
1541
|
-
subscriberUrl: string;
|
|
1542
|
-
payloadTemplate: string | null;
|
|
1543
|
-
createdAt: Generated<Timestamp>;
|
|
1544
|
-
active: Generated<boolean>;
|
|
1545
|
-
eventTriggers: WebhookTriggerEvents[];
|
|
1546
|
-
appId: string | null;
|
|
1547
|
-
secret: string | null;
|
|
1548
|
-
platform: Generated<boolean>;
|
|
1549
|
-
time: number | null;
|
|
1550
|
-
timeUnit: TimeUnit | null;
|
|
1551
|
-
};
|
|
1552
|
-
export type WebhookScheduledTriggers = {
|
|
1553
|
-
id: Generated<number>;
|
|
1554
|
-
jobName: string | null;
|
|
1555
|
-
subscriberUrl: string;
|
|
1556
|
-
payload: string;
|
|
1557
|
-
startAfter: Timestamp;
|
|
1558
|
-
retryCount: Generated<number>;
|
|
1559
|
-
createdAt: Generated<Timestamp | null>;
|
|
1560
|
-
appId: string | null;
|
|
1561
|
-
webhookId: string | null;
|
|
1562
|
-
bookingId: number | null;
|
|
1563
|
-
};
|
|
1564
|
-
export type Workflow = {
|
|
1565
|
-
id: Generated<number>;
|
|
1566
|
-
position: Generated<number>;
|
|
1567
|
-
name: string;
|
|
1568
|
-
userId: number | null;
|
|
1569
|
-
teamId: number | null;
|
|
1570
|
-
isActiveOnAll: Generated<boolean>;
|
|
1571
|
-
trigger: WorkflowTriggerEvents;
|
|
1572
|
-
time: number | null;
|
|
1573
|
-
timeUnit: TimeUnit | null;
|
|
1574
|
-
};
|
|
1575
|
-
export type WorkflowOptOutContact = {
|
|
1576
|
-
id: Generated<number>;
|
|
1577
|
-
type: WorkflowContactType;
|
|
1578
|
-
value: string;
|
|
1579
|
-
optedOut: boolean;
|
|
1580
|
-
createdAt: Generated<Timestamp>;
|
|
1581
|
-
updatedAt: Timestamp;
|
|
1582
|
-
};
|
|
1583
|
-
export type WorkflowReminder = {
|
|
1584
|
-
id: Generated<number>;
|
|
1585
|
-
uuid: string | null;
|
|
1586
|
-
bookingUid: string | null;
|
|
1587
|
-
method: WorkflowMethods;
|
|
1588
|
-
scheduledDate: Timestamp;
|
|
1589
|
-
referenceId: string | null;
|
|
1590
|
-
scheduled: boolean;
|
|
1591
|
-
workflowStepId: number | null;
|
|
1592
|
-
cancelled: boolean | null;
|
|
1593
|
-
seatReferenceId: string | null;
|
|
1594
|
-
isMandatoryReminder: Generated<boolean | null>;
|
|
1595
|
-
retryCount: Generated<number>;
|
|
1596
|
-
};
|
|
1597
|
-
export type WorkflowsOnEventTypes = {
|
|
1598
|
-
id: Generated<number>;
|
|
1599
|
-
workflowId: number;
|
|
1600
|
-
eventTypeId: number;
|
|
1601
|
-
};
|
|
1602
|
-
export type WorkflowsOnTeams = {
|
|
1603
|
-
id: Generated<number>;
|
|
1604
|
-
workflowId: number;
|
|
1605
|
-
teamId: number;
|
|
1606
|
-
};
|
|
1607
|
-
export type WorkflowStep = {
|
|
1608
|
-
id: Generated<number>;
|
|
1609
|
-
stepNumber: number;
|
|
1610
|
-
action: WorkflowActions;
|
|
1611
|
-
workflowId: number;
|
|
1612
|
-
sendTo: string | null;
|
|
1613
|
-
reminderBody: string | null;
|
|
1614
|
-
emailSubject: string | null;
|
|
1615
|
-
template: Generated<WorkflowTemplates>;
|
|
1616
|
-
numberRequired: boolean | null;
|
|
1617
|
-
sender: string | null;
|
|
1618
|
-
numberVerificationPending: Generated<boolean>;
|
|
1619
|
-
includeCalendarEvent: Generated<boolean>;
|
|
1620
|
-
verifiedAt: Timestamp | null;
|
|
1621
|
-
agentId: string | null;
|
|
1622
|
-
};
|
|
1623
|
-
export type WorkspacePlatform = {
|
|
1624
|
-
id: Generated<number>;
|
|
1625
|
-
/**
|
|
1626
|
-
* @zod.string.min(1)
|
|
1627
|
-
*/
|
|
1628
|
-
slug: string;
|
|
1629
|
-
/**
|
|
1630
|
-
* @zod.string.min(1)
|
|
1631
|
-
*/
|
|
1632
|
-
name: string;
|
|
1633
|
-
description: string;
|
|
1634
|
-
/**
|
|
1635
|
-
* @zod.import(["import { serviceAccountKeySchema } from '../../zod-utils'"]).custom.use(serviceAccountKeySchema)
|
|
1636
|
-
*/
|
|
1637
|
-
defaultServiceAccountKey: unknown;
|
|
1638
|
-
createdAt: Generated<Timestamp>;
|
|
1639
|
-
updatedAt: Timestamp;
|
|
1640
|
-
enabled: Generated<boolean>;
|
|
1641
|
-
};
|
|
1642
|
-
export type DB = {
|
|
1643
|
-
_PlatformOAuthClientToUser: PlatformOAuthClientToUser;
|
|
1644
|
-
_user_eventtype: user_eventtype;
|
|
1645
|
-
AccessCode: AccessCode;
|
|
1646
|
-
AccessToken: AccessToken;
|
|
1647
|
-
Account: Account;
|
|
1648
|
-
Agent: Agent;
|
|
1649
|
-
AIPhoneCallConfiguration: AIPhoneCallConfiguration;
|
|
1650
|
-
ApiKey: ApiKey;
|
|
1651
|
-
App: App;
|
|
1652
|
-
App_RoutingForms_Form: App_RoutingForms_Form;
|
|
1653
|
-
App_RoutingForms_FormResponse: App_RoutingForms_FormResponse;
|
|
1654
|
-
App_RoutingForms_IncompleteBookingActions: App_RoutingForms_IncompleteBookingActions;
|
|
1655
|
-
App_RoutingForms_QueuedFormResponse: App_RoutingForms_QueuedFormResponse;
|
|
1656
|
-
AssignmentReason: AssignmentReason;
|
|
1657
|
-
Attendee: Attendee;
|
|
1658
|
-
Attribute: Attribute;
|
|
1659
|
-
AttributeOption: AttributeOption;
|
|
1660
|
-
AttributeToUser: AttributeToUser;
|
|
1661
|
-
Availability: Availability;
|
|
1662
|
-
avatars: Avatar;
|
|
1663
|
-
Booking: Booking;
|
|
1664
|
-
BookingDenormalized: BookingDenormalized;
|
|
1665
|
-
BookingInternalNote: BookingInternalNote;
|
|
1666
|
-
BookingReference: BookingReference;
|
|
1667
|
-
BookingSeat: BookingSeat;
|
|
1668
|
-
BookingTimeStatus: BookingTimeStatus;
|
|
1669
|
-
BookingTimeStatusDenormalized: BookingTimeStatusDenormalized;
|
|
1670
|
-
CalAiPhoneNumber: CalAiPhoneNumber;
|
|
1671
|
-
CalendarCache: CalendarCache;
|
|
1672
|
-
CalVideoSettings: CalVideoSettings;
|
|
1673
|
-
Credential: Credential;
|
|
1674
|
-
CreditBalance: CreditBalance;
|
|
1675
|
-
CreditExpenseLog: CreditExpenseLog;
|
|
1676
|
-
CreditPurchaseLog: CreditPurchaseLog;
|
|
1677
|
-
DelegationCredential: DelegationCredential;
|
|
1678
|
-
Deployment: Deployment;
|
|
1679
|
-
DestinationCalendar: DestinationCalendar;
|
|
1680
|
-
DomainWideDelegation: DomainWideDelegation;
|
|
1681
|
-
DSyncData: DSyncData;
|
|
1682
|
-
DSyncTeamGroupMapping: DSyncTeamGroupMapping;
|
|
1683
|
-
EventType: EventType;
|
|
1684
|
-
EventTypeCustomInput: EventTypeCustomInput;
|
|
1685
|
-
EventTypeTranslation: EventTypeTranslation;
|
|
1686
|
-
Feature: Feature;
|
|
1687
|
-
Feedback: Feedback;
|
|
1688
|
-
FilterSegment: FilterSegment;
|
|
1689
|
-
HashedLink: HashedLink;
|
|
1690
|
-
Host: Host;
|
|
1691
|
-
HostGroup: HostGroup;
|
|
1692
|
-
Impersonations: Impersonations;
|
|
1693
|
-
InstantMeetingToken: InstantMeetingToken;
|
|
1694
|
-
InternalNotePreset: InternalNotePreset;
|
|
1695
|
-
ManagedOrganization: ManagedOrganization;
|
|
1696
|
-
Membership: Membership;
|
|
1697
|
-
NotificationsSubscriptions: NotificationsSubscriptions;
|
|
1698
|
-
OAuthClient: OAuthClient;
|
|
1699
|
-
OrganizationOnboarding: OrganizationOnboarding;
|
|
1700
|
-
OrganizationSettings: OrganizationSettings;
|
|
1701
|
-
OutOfOfficeEntry: OutOfOfficeEntry;
|
|
1702
|
-
OutOfOfficeReason: OutOfOfficeReason;
|
|
1703
|
-
Payment: Payment;
|
|
1704
|
-
PlatformAuthorizationToken: PlatformAuthorizationToken;
|
|
1705
|
-
PlatformBilling: PlatformBilling;
|
|
1706
|
-
PlatformOAuthClient: PlatformOAuthClient;
|
|
1707
|
-
Profile: Profile;
|
|
1708
|
-
RateLimit: RateLimit;
|
|
1709
|
-
RefreshToken: RefreshToken;
|
|
1710
|
-
ReminderMail: ReminderMail;
|
|
1711
|
-
ResetPasswordRequest: ResetPasswordRequest;
|
|
1712
|
-
Role: Role;
|
|
1713
|
-
RolePermission: RolePermission;
|
|
1714
|
-
RoutingFormResponse: RoutingFormResponse;
|
|
1715
|
-
RoutingFormResponseDenormalized: RoutingFormResponseDenormalized;
|
|
1716
|
-
RoutingFormResponseField: RoutingFormResponseField;
|
|
1717
|
-
Schedule: Schedule;
|
|
1718
|
-
SecondaryEmail: SecondaryEmail;
|
|
1719
|
-
SelectedCalendar: SelectedCalendar;
|
|
1720
|
-
SelectedSlots: SelectedSlots;
|
|
1721
|
-
Session: Session;
|
|
1722
|
-
Task: Task;
|
|
1723
|
-
Team: Team;
|
|
1724
|
-
TeamFeatures: TeamFeatures;
|
|
1725
|
-
TempOrgRedirect: TempOrgRedirect;
|
|
1726
|
-
Tracking: Tracking;
|
|
1727
|
-
TravelSchedule: TravelSchedule;
|
|
1728
|
-
UserFeatures: UserFeatures;
|
|
1729
|
-
UserFilterSegmentPreference: UserFilterSegmentPreference;
|
|
1730
|
-
UserPassword: UserPassword;
|
|
1731
|
-
users: User;
|
|
1732
|
-
VerificationToken: VerificationToken;
|
|
1733
|
-
VerifiedEmail: VerifiedEmail;
|
|
1734
|
-
VerifiedNumber: VerifiedNumber;
|
|
1735
|
-
Watchlist: Watchlist;
|
|
1736
|
-
Webhook: Webhook;
|
|
1737
|
-
WebhookScheduledTriggers: WebhookScheduledTriggers;
|
|
1738
|
-
Workflow: Workflow;
|
|
1739
|
-
WorkflowOptOutContact: WorkflowOptOutContact;
|
|
1740
|
-
WorkflowReminder: WorkflowReminder;
|
|
1741
|
-
WorkflowsOnEventTypes: WorkflowsOnEventTypes;
|
|
1742
|
-
WorkflowsOnTeams: WorkflowsOnTeams;
|
|
1743
|
-
WorkflowStep: WorkflowStep;
|
|
1744
|
-
WorkspacePlatform: WorkspacePlatform;
|
|
1745
|
-
};
|
|
1746
|
-
//# sourceMappingURL=types.d.ts.map
|