@calcom/atoms 1.0.3
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/README.md +5 -0
- package/dist/AddressInput-Ci02wr5C.js +33 -0
- package/dist/AlbyPriceComponent-NqN1MEov.js +967 -0
- package/dist/Card-6fRR5Hwj.js +185 -0
- package/dist/DatePicker-9pbCidOU.js +27 -0
- package/dist/PhoneInput-ysQbrvjy.js +1405 -0
- package/dist/PoweredBy-AY0Afi6V.js +31 -0
- package/dist/UnpublishedEntity-epeaNFkK.js +23 -0
- package/dist/availability/AvailabilitySettings.d.ts +58 -0
- package/dist/availability/AvailabilitySettings.d.ts.map +1 -0
- package/dist/availability/index.d.ts +4 -0
- package/dist/availability/index.d.ts.map +1 -0
- package/dist/availability/types.d.ts +22 -0
- package/dist/availability/types.d.ts.map +1 -0
- package/dist/availability/wrappers/PlatformAvailabilitySettingsWrapper.d.ts +18 -0
- package/dist/availability/wrappers/PlatformAvailabilitySettingsWrapper.d.ts.map +1 -0
- package/dist/availability/wrappers/WebAvailabilitySettingsWrapper.d.ts +2 -0
- package/dist/availability/wrappers/WebAvailabilitySettingsWrapper.d.ts.map +1 -0
- package/dist/booker/Booker.stories.d.ts +7 -0
- package/dist/booker/Booker.stories.d.ts.map +1 -0
- package/dist/booker/BookerPlatformWrapper.d.ts +24 -0
- package/dist/booker/BookerPlatformWrapper.d.ts.map +1 -0
- package/dist/booker/BookerWebWrapper.d.ts +5 -0
- package/dist/booker/BookerWebWrapper.d.ts.map +1 -0
- package/dist/booker/export.d.ts +4 -0
- package/dist/booker/export.d.ts.map +1 -0
- package/dist/booker/index.d.ts +3 -0
- package/dist/booker/index.d.ts.map +1 -0
- package/dist/cal-atoms.js +9 -0
- package/dist/cal-atoms.umd.cjs +577 -0
- package/dist/cal-provider/BaseCalProvider.d.ts +4 -0
- package/dist/cal-provider/BaseCalProvider.d.ts.map +1 -0
- package/dist/cal-provider/CalProvider.d.ts +14 -0
- package/dist/cal-provider/CalProvider.d.ts.map +1 -0
- package/dist/cal-provider/index.d.ts +2 -0
- package/dist/cal-provider/index.d.ts.map +1 -0
- package/dist/framer-features-Zr_i_7k0.js +443 -0
- package/dist/gcal-connect/GcalConnect.d.ts +9 -0
- package/dist/gcal-connect/GcalConnect.d.ts.map +1 -0
- package/dist/gcal-connect/index.d.ts +2 -0
- package/dist/gcal-connect/index.d.ts.map +1 -0
- package/dist/globals.min.css +1 -0
- package/dist/hooks/useApiKeys.d.ts +10 -0
- package/dist/hooks/useApiKeys.d.ts.map +1 -0
- package/dist/hooks/useAtomsContext.d.ts +31 -0
- package/dist/hooks/useAtomsContext.d.ts.map +1 -0
- package/dist/hooks/useAvailableSlots.d.ts +6 -0
- package/dist/hooks/useAvailableSlots.d.ts.map +1 -0
- package/dist/hooks/useBookings.d.ts +3 -0
- package/dist/hooks/useBookings.d.ts.map +1 -0
- package/dist/hooks/useCalendarsBusyTimes.d.ts +10 -0
- package/dist/hooks/useCalendarsBusyTimes.d.ts.map +1 -0
- package/dist/hooks/useClientSchedule.d.ts +8 -0
- package/dist/hooks/useClientSchedule.d.ts.map +1 -0
- package/dist/hooks/useConnectedCalendars.d.ts +3 -0
- package/dist/hooks/useConnectedCalendars.d.ts.map +1 -0
- package/dist/hooks/useCreateBooking.d.ts +169 -0
- package/dist/hooks/useCreateBooking.d.ts.map +1 -0
- package/dist/hooks/useCreateInstantBooking.d.ts +169 -0
- package/dist/hooks/useCreateInstantBooking.d.ts.map +1 -0
- package/dist/hooks/useCreateRecurringBooking.d.ts +154 -0
- package/dist/hooks/useCreateRecurringBooking.d.ts.map +1 -0
- package/dist/hooks/useDeleteSchedule.d.ts +11 -0
- package/dist/hooks/useDeleteSchedule.d.ts.map +1 -0
- package/dist/hooks/useDeleteSelectedSlot.d.ts +8 -0
- package/dist/hooks/useDeleteSelectedSlot.d.ts.map +1 -0
- package/dist/hooks/useGcal.d.ts +9 -0
- package/dist/hooks/useGcal.d.ts.map +1 -0
- package/dist/hooks/useGetCityTimezones.d.ts +6 -0
- package/dist/hooks/useGetCityTimezones.d.ts.map +1 -0
- package/dist/hooks/useHandleBookEvent.d.ts +15 -0
- package/dist/hooks/useHandleBookEvent.d.ts.map +1 -0
- package/dist/hooks/useIsPlatform.d.ts +2 -0
- package/dist/hooks/useIsPlatform.d.ts.map +1 -0
- package/dist/hooks/useMe.d.ts +12 -0
- package/dist/hooks/useMe.d.ts.map +1 -0
- package/dist/hooks/useOAuthClient.d.ts +11 -0
- package/dist/hooks/useOAuthClient.d.ts.map +1 -0
- package/dist/hooks/useOAuthFlow.d.ts +12 -0
- package/dist/hooks/useOAuthFlow.d.ts.map +1 -0
- package/dist/hooks/usePublicEvent.d.ts +958 -0
- package/dist/hooks/usePublicEvent.d.ts.map +1 -0
- package/dist/hooks/useReserveSlot.d.ts +8 -0
- package/dist/hooks/useReserveSlot.d.ts.map +1 -0
- package/dist/hooks/useSlots.d.ts +11 -0
- package/dist/hooks/useSlots.d.ts.map +1 -0
- package/dist/hooks/useTimezone.d.ts +2 -0
- package/dist/hooks/useTimezone.d.ts.map +1 -0
- package/dist/hooks/useUpdateSchedule.d.ts +9 -0
- package/dist/hooks/useUpdateSchedule.d.ts.map +1 -0
- package/dist/hooks/useUpdateUserTimezone.d.ts +15 -0
- package/dist/hooks/useUpdateUserTimezone.d.ts.map +1 -0
- package/dist/index--Pb54wx_.js +4 -0
- package/dist/index-3sgDY24S.js +5 -0
- package/dist/index-GttMIx74.js +65366 -0
- package/dist/index-RcPlEXh-.js +220 -0
- package/dist/index-rUbdQ7Zu.js +1256 -0
- package/dist/index-uuiJumv6.js +76 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/isSupportedCountry-WVb-DZDd.js +487 -0
- package/dist/lib/getQueryParam.d.ts +3 -0
- package/dist/lib/getQueryParam.d.ts.map +1 -0
- package/dist/lib/http.d.ts +18 -0
- package/dist/lib/http.d.ts.map +1 -0
- package/dist/lib/setQueryParam.d.ts +3 -0
- package/dist/lib/setQueryParam.d.ts.map +1 -0
- package/dist/monorepo.d.ts +9 -0
- package/dist/monorepo.d.ts.map +1 -0
- package/dist/server.browser-yA5s9iMO.js +9859 -0
- package/dist/src/components/ui/button.d.ts +12 -0
- package/dist/src/components/ui/button.d.ts.map +1 -0
- package/dist/src/components/ui/confirmation-dialog-content.d.ts +4 -0
- package/dist/src/components/ui/confirmation-dialog-content.d.ts.map +1 -0
- package/dist/src/components/ui/dialog.d.ts +20 -0
- package/dist/src/components/ui/dialog.d.ts.map +1 -0
- package/dist/src/components/ui/shell.d.ts +3 -0
- package/dist/src/components/ui/shell.d.ts.map +1 -0
- package/dist/src/components/ui/toast.d.ts +16 -0
- package/dist/src/components/ui/toast.d.ts.map +1 -0
- package/dist/src/components/ui/toaster.d.ts +3 -0
- package/dist/src/components/ui/toaster.d.ts.map +1 -0
- package/dist/src/components/ui/use-toast.d.ts +45 -0
- package/dist/src/components/ui/use-toast.d.ts.map +1 -0
- package/dist/src/lib/utils.d.ts +3 -0
- package/dist/src/lib/utils.d.ts.map +1 -0
- package/dist/style.css +1 -0
- package/dist/timezone/index.d.ts +4 -0
- package/dist/timezone/index.d.ts.map +1 -0
- package/dist/types.d.ts +8 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/vite.config.d.ts +3 -0
- package/dist/vite.config.d.ts.map +1 -0
- package/package.json +56 -0
|
@@ -0,0 +1,958 @@
|
|
|
1
|
+
export declare const QUERY_KEY = "get-public-event";
|
|
2
|
+
export type UsePublicEventReturnType = ReturnType<typeof usePublicEvent>;
|
|
3
|
+
export declare const usePublicEvent: (props: {
|
|
4
|
+
username: string;
|
|
5
|
+
eventSlug: string;
|
|
6
|
+
}) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<{
|
|
7
|
+
bookingFields: {
|
|
8
|
+
name: string;
|
|
9
|
+
type: "number" | "boolean" | "select" | "text" | "checkbox" | "email" | "address" | "name" | "radio" | "textarea" | "multiselect" | "phone" | "multiemail" | "radioInput";
|
|
10
|
+
options?: {
|
|
11
|
+
label: string;
|
|
12
|
+
value: string;
|
|
13
|
+
}[] | undefined;
|
|
14
|
+
required?: boolean | undefined;
|
|
15
|
+
label?: string | undefined;
|
|
16
|
+
placeholder?: string | undefined;
|
|
17
|
+
defaultLabel?: string | undefined;
|
|
18
|
+
defaultPlaceholder?: string | undefined;
|
|
19
|
+
labelAsSafeHtml?: string | undefined;
|
|
20
|
+
getOptionsAt?: string | undefined;
|
|
21
|
+
optionsInputs?: Record<string, {
|
|
22
|
+
type: "text" | "address" | "phone";
|
|
23
|
+
required?: boolean | undefined;
|
|
24
|
+
placeholder?: string | undefined;
|
|
25
|
+
}> | undefined;
|
|
26
|
+
variant?: string | undefined;
|
|
27
|
+
variantsConfig?: {
|
|
28
|
+
variants: Record<string, {
|
|
29
|
+
fields: {
|
|
30
|
+
name: string;
|
|
31
|
+
type: "number" | "boolean" | "select" | "text" | "checkbox" | "email" | "address" | "name" | "radio" | "textarea" | "multiselect" | "phone" | "multiemail" | "radioInput";
|
|
32
|
+
required?: boolean | undefined;
|
|
33
|
+
label?: string | undefined;
|
|
34
|
+
placeholder?: string | undefined;
|
|
35
|
+
labelAsSafeHtml?: string | undefined;
|
|
36
|
+
}[];
|
|
37
|
+
}>;
|
|
38
|
+
} | undefined;
|
|
39
|
+
views?: {
|
|
40
|
+
label: string;
|
|
41
|
+
id: string;
|
|
42
|
+
description?: string | undefined;
|
|
43
|
+
}[] | undefined;
|
|
44
|
+
hideWhenJustOneOption?: boolean | undefined;
|
|
45
|
+
hidden?: boolean | undefined;
|
|
46
|
+
editable?: "user" | "system" | "system-but-optional" | "system-but-hidden" | "user-readonly" | undefined;
|
|
47
|
+
sources?: {
|
|
48
|
+
label: string;
|
|
49
|
+
type: string;
|
|
50
|
+
id: string;
|
|
51
|
+
editUrl?: string | undefined;
|
|
52
|
+
fieldRequired?: boolean | undefined;
|
|
53
|
+
}[] | undefined;
|
|
54
|
+
}[] & import("zod").BRAND<"HAS_SYSTEM_FIELDS">;
|
|
55
|
+
users: ({
|
|
56
|
+
metadata: undefined;
|
|
57
|
+
bookerUrl: string;
|
|
58
|
+
profile: import("@calcom/types/UserProfile").UserAsPersonalProfile;
|
|
59
|
+
username: string | null;
|
|
60
|
+
email: string;
|
|
61
|
+
name: string | null;
|
|
62
|
+
bio: string | null;
|
|
63
|
+
theme: string | null;
|
|
64
|
+
verified: boolean | null;
|
|
65
|
+
locked: boolean;
|
|
66
|
+
timeZone: string;
|
|
67
|
+
id: number;
|
|
68
|
+
emailVerified: Date | null;
|
|
69
|
+
avatar: string | null;
|
|
70
|
+
avatarUrl: string | null;
|
|
71
|
+
weekStart: string;
|
|
72
|
+
startTime: number;
|
|
73
|
+
endTime: number;
|
|
74
|
+
bufferTime: number;
|
|
75
|
+
hideBranding: boolean;
|
|
76
|
+
createdDate: Date;
|
|
77
|
+
trialEndsAt: Date | null;
|
|
78
|
+
completedOnboarding: boolean;
|
|
79
|
+
locale: string | null;
|
|
80
|
+
timeFormat: number | null;
|
|
81
|
+
twoFactorSecret: string | null;
|
|
82
|
+
twoFactorEnabled: boolean;
|
|
83
|
+
backupCodes: string | null;
|
|
84
|
+
identityProviderId: string | null;
|
|
85
|
+
invitedTo: number | null;
|
|
86
|
+
brandColor: string | null;
|
|
87
|
+
darkBrandColor: string | null;
|
|
88
|
+
away: boolean;
|
|
89
|
+
allowDynamicBooking: boolean | null;
|
|
90
|
+
allowSEOIndexing: boolean | null;
|
|
91
|
+
receiveMonthlyDigestEmail: boolean | null;
|
|
92
|
+
disableImpersonation: boolean;
|
|
93
|
+
movedToProfileId: number | null;
|
|
94
|
+
} | {
|
|
95
|
+
metadata: undefined;
|
|
96
|
+
bookerUrl: string;
|
|
97
|
+
profile: {
|
|
98
|
+
organization: Omit<{
|
|
99
|
+
name: string;
|
|
100
|
+
metadata: import(".prisma/client").Prisma.JsonValue;
|
|
101
|
+
id: number;
|
|
102
|
+
slug: string | null;
|
|
103
|
+
calVideoLogo: string | null;
|
|
104
|
+
bannerUrl: string | null;
|
|
105
|
+
} & Omit<Pick<{
|
|
106
|
+
id: number;
|
|
107
|
+
name: string;
|
|
108
|
+
slug: string | null;
|
|
109
|
+
logo: string | null;
|
|
110
|
+
logoUrl: string | null;
|
|
111
|
+
calVideoLogo: string | null;
|
|
112
|
+
appLogo: string | null;
|
|
113
|
+
appIconLogo: string | null;
|
|
114
|
+
bio: string | null;
|
|
115
|
+
hideBranding: boolean;
|
|
116
|
+
isPrivate: boolean;
|
|
117
|
+
hideBookATeamMember: boolean;
|
|
118
|
+
createdAt: Date;
|
|
119
|
+
metadata: import(".prisma/client").Prisma.JsonValue;
|
|
120
|
+
theme: string | null;
|
|
121
|
+
brandColor: string | null;
|
|
122
|
+
darkBrandColor: string | null;
|
|
123
|
+
bannerUrl: string | null;
|
|
124
|
+
parentId: number | null;
|
|
125
|
+
timeFormat: number | null;
|
|
126
|
+
timeZone: string;
|
|
127
|
+
weekStart: string;
|
|
128
|
+
isOrganization: boolean;
|
|
129
|
+
pendingPayment: boolean;
|
|
130
|
+
}, "name" | "metadata" | "id" | "slug" | "calVideoLogo" | "bannerUrl">, "metadata"> & {
|
|
131
|
+
requestedSlug: string | null;
|
|
132
|
+
metadata: {
|
|
133
|
+
requestedSlug: string | null;
|
|
134
|
+
paymentId?: string | undefined;
|
|
135
|
+
subscriptionId?: string | null | undefined;
|
|
136
|
+
subscriptionItemId?: string | null | undefined;
|
|
137
|
+
migratedToOrgFrom?: {
|
|
138
|
+
teamSlug?: string | null | undefined;
|
|
139
|
+
lastMigrationTime?: string | undefined;
|
|
140
|
+
reverted?: boolean | undefined;
|
|
141
|
+
lastRevertTime?: string | undefined;
|
|
142
|
+
} | undefined;
|
|
143
|
+
};
|
|
144
|
+
}, "metadata"> & {
|
|
145
|
+
requestedSlug: string | null;
|
|
146
|
+
metadata: {
|
|
147
|
+
requestedSlug: string | null;
|
|
148
|
+
paymentId?: string | undefined;
|
|
149
|
+
subscriptionId?: string | null | undefined;
|
|
150
|
+
subscriptionItemId?: string | null | undefined;
|
|
151
|
+
migratedToOrgFrom?: {
|
|
152
|
+
teamSlug?: string | null | undefined;
|
|
153
|
+
lastMigrationTime?: string | undefined;
|
|
154
|
+
reverted?: boolean | undefined;
|
|
155
|
+
lastRevertTime?: string | undefined;
|
|
156
|
+
} | undefined;
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
username: string;
|
|
160
|
+
id: number;
|
|
161
|
+
userId: number;
|
|
162
|
+
uid: string;
|
|
163
|
+
organizationId: number;
|
|
164
|
+
createdAt: Date & string;
|
|
165
|
+
updatedAt: Date & string;
|
|
166
|
+
upId: string;
|
|
167
|
+
};
|
|
168
|
+
username: string | null;
|
|
169
|
+
email: string;
|
|
170
|
+
name: string | null;
|
|
171
|
+
bio: string | null;
|
|
172
|
+
theme: string | null;
|
|
173
|
+
verified: boolean | null;
|
|
174
|
+
locked: boolean;
|
|
175
|
+
timeZone: string;
|
|
176
|
+
id: number;
|
|
177
|
+
emailVerified: Date | null;
|
|
178
|
+
avatar: string | null;
|
|
179
|
+
avatarUrl: string | null;
|
|
180
|
+
weekStart: string;
|
|
181
|
+
startTime: number;
|
|
182
|
+
endTime: number;
|
|
183
|
+
bufferTime: number;
|
|
184
|
+
hideBranding: boolean;
|
|
185
|
+
createdDate: Date;
|
|
186
|
+
trialEndsAt: Date | null;
|
|
187
|
+
completedOnboarding: boolean;
|
|
188
|
+
locale: string | null;
|
|
189
|
+
timeFormat: number | null;
|
|
190
|
+
twoFactorSecret: string | null;
|
|
191
|
+
twoFactorEnabled: boolean;
|
|
192
|
+
backupCodes: string | null;
|
|
193
|
+
identityProviderId: string | null;
|
|
194
|
+
invitedTo: number | null;
|
|
195
|
+
brandColor: string | null;
|
|
196
|
+
darkBrandColor: string | null;
|
|
197
|
+
away: boolean;
|
|
198
|
+
allowDynamicBooking: boolean | null;
|
|
199
|
+
allowSEOIndexing: boolean | null;
|
|
200
|
+
receiveMonthlyDigestEmail: boolean | null;
|
|
201
|
+
disableImpersonation: boolean;
|
|
202
|
+
movedToProfileId: number | null;
|
|
203
|
+
})[];
|
|
204
|
+
locations: (Pick<Partial<import("@calcom/app-store/locations").LocationObject>, "link" | "address"> & Omit<import("@calcom/app-store/locations").LocationObject, "link" | "address">)[];
|
|
205
|
+
profile: {
|
|
206
|
+
username: string | null;
|
|
207
|
+
name: string | null;
|
|
208
|
+
weekStart: string;
|
|
209
|
+
image: string;
|
|
210
|
+
brandColor: string | null;
|
|
211
|
+
darkBrandColor: string | null;
|
|
212
|
+
theme: null;
|
|
213
|
+
bookerLayouts: {
|
|
214
|
+
enabledLayouts: import("@calcom/prisma/zod-utils").BookerLayouts[];
|
|
215
|
+
defaultLayout: import("@calcom/prisma/zod-utils").BookerLayouts;
|
|
216
|
+
} | null;
|
|
217
|
+
};
|
|
218
|
+
entity: {
|
|
219
|
+
isUnpublished: boolean;
|
|
220
|
+
orgSlug: string | null;
|
|
221
|
+
name: string | null;
|
|
222
|
+
teamSlug?: undefined;
|
|
223
|
+
};
|
|
224
|
+
isInstantEvent: boolean;
|
|
225
|
+
metadata: {
|
|
226
|
+
smartContractAddress?: string | undefined;
|
|
227
|
+
blockchainId?: number | undefined;
|
|
228
|
+
multipleDuration?: number[] | undefined;
|
|
229
|
+
giphyThankYouPage?: string | undefined;
|
|
230
|
+
apps?: {
|
|
231
|
+
alby?: {
|
|
232
|
+
price: number;
|
|
233
|
+
currency: string;
|
|
234
|
+
appCategories?: string[] | undefined;
|
|
235
|
+
paymentOption?: string | undefined;
|
|
236
|
+
enabled?: boolean | undefined;
|
|
237
|
+
credentialId?: number | undefined;
|
|
238
|
+
} | undefined;
|
|
239
|
+
basecamp3?: {
|
|
240
|
+
enabled?: boolean | undefined;
|
|
241
|
+
credentialId?: number | undefined;
|
|
242
|
+
appCategories?: string[] | undefined;
|
|
243
|
+
} | undefined;
|
|
244
|
+
dailyvideo?: {} | undefined;
|
|
245
|
+
fathom?: {
|
|
246
|
+
enabled?: boolean | undefined;
|
|
247
|
+
credentialId?: number | undefined;
|
|
248
|
+
appCategories?: string[] | undefined;
|
|
249
|
+
trackingId?: string | undefined;
|
|
250
|
+
} | undefined;
|
|
251
|
+
feishucalendar?: {} | undefined;
|
|
252
|
+
ga4?: {
|
|
253
|
+
enabled?: boolean | undefined;
|
|
254
|
+
credentialId?: number | undefined;
|
|
255
|
+
appCategories?: string[] | undefined;
|
|
256
|
+
trackingId?: string | undefined;
|
|
257
|
+
} | undefined;
|
|
258
|
+
giphy?: {
|
|
259
|
+
enabled?: boolean | undefined;
|
|
260
|
+
credentialId?: number | undefined;
|
|
261
|
+
appCategories?: string[] | undefined;
|
|
262
|
+
thankYouPage?: string | undefined;
|
|
263
|
+
} | undefined;
|
|
264
|
+
googlecalendar?: {} | undefined;
|
|
265
|
+
gtm?: {
|
|
266
|
+
trackingId: string;
|
|
267
|
+
enabled?: boolean | undefined;
|
|
268
|
+
credentialId?: number | undefined;
|
|
269
|
+
appCategories?: string[] | undefined;
|
|
270
|
+
} | undefined;
|
|
271
|
+
hubspot?: {} | undefined;
|
|
272
|
+
intercom?: {} | undefined;
|
|
273
|
+
jelly?: {} | undefined;
|
|
274
|
+
jitsivideo?: {} | undefined;
|
|
275
|
+
larkcalendar?: {} | undefined;
|
|
276
|
+
make?: {} | undefined;
|
|
277
|
+
matomo?: {
|
|
278
|
+
enabled?: boolean | undefined;
|
|
279
|
+
credentialId?: number | undefined;
|
|
280
|
+
appCategories?: string[] | undefined;
|
|
281
|
+
MATOMO_URL?: string | undefined;
|
|
282
|
+
SITE_ID?: string | undefined;
|
|
283
|
+
} | undefined;
|
|
284
|
+
metapixel?: {
|
|
285
|
+
enabled?: boolean | undefined;
|
|
286
|
+
credentialId?: number | undefined;
|
|
287
|
+
appCategories?: string[] | undefined;
|
|
288
|
+
trackingId?: string | undefined;
|
|
289
|
+
} | undefined;
|
|
290
|
+
"mock-payment-app"?: {
|
|
291
|
+
price: number;
|
|
292
|
+
currency: string;
|
|
293
|
+
credentialId?: number | undefined;
|
|
294
|
+
appCategories?: string[] | undefined;
|
|
295
|
+
paymentOption?: string | undefined;
|
|
296
|
+
enabled?: boolean | undefined;
|
|
297
|
+
} | undefined;
|
|
298
|
+
office365calendar?: {
|
|
299
|
+
client_id: string;
|
|
300
|
+
client_secret: string;
|
|
301
|
+
} | undefined;
|
|
302
|
+
office365video?: {
|
|
303
|
+
client_id: string;
|
|
304
|
+
client_secret: string;
|
|
305
|
+
} | undefined;
|
|
306
|
+
paypal?: {
|
|
307
|
+
price: number;
|
|
308
|
+
currency: string;
|
|
309
|
+
credentialId?: number | undefined;
|
|
310
|
+
appCategories?: string[] | undefined;
|
|
311
|
+
paymentOption?: string | undefined;
|
|
312
|
+
enabled?: boolean | undefined;
|
|
313
|
+
} | undefined;
|
|
314
|
+
"pipedrive-crm"?: {} | undefined;
|
|
315
|
+
plausible?: {
|
|
316
|
+
enabled?: boolean | undefined;
|
|
317
|
+
credentialId?: number | undefined;
|
|
318
|
+
appCategories?: string[] | undefined;
|
|
319
|
+
PLAUSIBLE_URL?: string | undefined;
|
|
320
|
+
trackingId?: string | undefined;
|
|
321
|
+
} | undefined;
|
|
322
|
+
qr_code?: {
|
|
323
|
+
enabled?: boolean | undefined;
|
|
324
|
+
credentialId?: number | undefined;
|
|
325
|
+
appCategories?: string[] | undefined;
|
|
326
|
+
} | undefined;
|
|
327
|
+
"routing-forms"?: any;
|
|
328
|
+
salesforce?: {} | undefined;
|
|
329
|
+
shimmervideo?: {} | undefined;
|
|
330
|
+
stripe?: {
|
|
331
|
+
price: number;
|
|
332
|
+
currency: string;
|
|
333
|
+
credentialId?: number | undefined;
|
|
334
|
+
appCategories?: string[] | undefined;
|
|
335
|
+
paymentOption?: string | undefined;
|
|
336
|
+
enabled?: boolean | undefined;
|
|
337
|
+
} | undefined;
|
|
338
|
+
tandemvideo?: {} | undefined;
|
|
339
|
+
"booking-pages-tag"?: {
|
|
340
|
+
trackingId: string;
|
|
341
|
+
enabled?: boolean | undefined;
|
|
342
|
+
credentialId?: number | undefined;
|
|
343
|
+
appCategories?: string[] | undefined;
|
|
344
|
+
} | undefined;
|
|
345
|
+
"event-type-app-card"?: {
|
|
346
|
+
isSunrise: boolean;
|
|
347
|
+
enabled?: boolean | undefined;
|
|
348
|
+
credentialId?: number | undefined;
|
|
349
|
+
appCategories?: string[] | undefined;
|
|
350
|
+
} | undefined;
|
|
351
|
+
vital?: {} | undefined;
|
|
352
|
+
webex?: {} | undefined;
|
|
353
|
+
wordpress?: {
|
|
354
|
+
isSunrise: boolean;
|
|
355
|
+
enabled?: boolean | undefined;
|
|
356
|
+
credentialId?: number | undefined;
|
|
357
|
+
appCategories?: string[] | undefined;
|
|
358
|
+
} | undefined;
|
|
359
|
+
zapier?: {} | undefined;
|
|
360
|
+
"zoho-bigin"?: {} | undefined;
|
|
361
|
+
zohocalendar?: {} | undefined;
|
|
362
|
+
zohocrm?: {} | undefined;
|
|
363
|
+
zoomvideo?: {} | undefined;
|
|
364
|
+
} | undefined;
|
|
365
|
+
additionalNotesRequired?: boolean | undefined;
|
|
366
|
+
disableSuccessPage?: boolean | undefined;
|
|
367
|
+
disableStandardEmails?: {
|
|
368
|
+
confirmation?: {
|
|
369
|
+
host?: boolean | undefined;
|
|
370
|
+
attendee?: boolean | undefined;
|
|
371
|
+
} | undefined;
|
|
372
|
+
} | undefined;
|
|
373
|
+
managedEventConfig?: {
|
|
374
|
+
unlockedFields?: {
|
|
375
|
+
price?: true | undefined;
|
|
376
|
+
bookings?: true | undefined;
|
|
377
|
+
webhooks?: true | undefined;
|
|
378
|
+
profile?: true | undefined;
|
|
379
|
+
owner?: true | undefined;
|
|
380
|
+
title?: true | undefined;
|
|
381
|
+
description?: true | undefined;
|
|
382
|
+
hidden?: true | undefined;
|
|
383
|
+
team?: true | undefined;
|
|
384
|
+
availability?: true | undefined;
|
|
385
|
+
length?: true | undefined;
|
|
386
|
+
workflows?: true | undefined;
|
|
387
|
+
users?: true | undefined;
|
|
388
|
+
hosts?: true | undefined;
|
|
389
|
+
currency?: true | undefined;
|
|
390
|
+
children?: true | undefined;
|
|
391
|
+
timeZone?: true | undefined;
|
|
392
|
+
metadata?: true | undefined;
|
|
393
|
+
slug?: true | undefined;
|
|
394
|
+
position?: true | undefined;
|
|
395
|
+
locations?: true | undefined;
|
|
396
|
+
offsetStart?: true | undefined;
|
|
397
|
+
userId?: true | undefined;
|
|
398
|
+
profileId?: true | undefined;
|
|
399
|
+
teamId?: true | undefined;
|
|
400
|
+
eventName?: true | undefined;
|
|
401
|
+
parentId?: true | undefined;
|
|
402
|
+
bookingFields?: true | undefined;
|
|
403
|
+
periodType?: true | undefined;
|
|
404
|
+
periodStartDate?: true | undefined;
|
|
405
|
+
periodEndDate?: true | undefined;
|
|
406
|
+
periodDays?: true | undefined;
|
|
407
|
+
periodCountCalendarDays?: true | undefined;
|
|
408
|
+
lockTimeZoneToggleOnBookingPage?: true | undefined;
|
|
409
|
+
requiresConfirmation?: true | undefined;
|
|
410
|
+
requiresBookerEmailVerification?: true | undefined;
|
|
411
|
+
recurringEvent?: true | undefined;
|
|
412
|
+
disableGuests?: true | undefined;
|
|
413
|
+
hideCalendarNotes?: true | undefined;
|
|
414
|
+
minimumBookingNotice?: true | undefined;
|
|
415
|
+
beforeEventBuffer?: true | undefined;
|
|
416
|
+
afterEventBuffer?: true | undefined;
|
|
417
|
+
seatsPerTimeSlot?: true | undefined;
|
|
418
|
+
onlyShowFirstAvailableSlot?: true | undefined;
|
|
419
|
+
seatsShowAttendees?: true | undefined;
|
|
420
|
+
seatsShowAvailabilityCount?: true | undefined;
|
|
421
|
+
schedulingType?: true | undefined;
|
|
422
|
+
scheduleId?: true | undefined;
|
|
423
|
+
slotInterval?: true | undefined;
|
|
424
|
+
successRedirectUrl?: true | undefined;
|
|
425
|
+
bookingLimits?: true | undefined;
|
|
426
|
+
durationLimits?: true | undefined;
|
|
427
|
+
isInstantEvent?: true | undefined;
|
|
428
|
+
assignAllTeamMembers?: true | undefined;
|
|
429
|
+
useEventTypeDestinationCalendarEmail?: true | undefined;
|
|
430
|
+
secondaryEmailId?: true | undefined;
|
|
431
|
+
hashedLink?: true | undefined;
|
|
432
|
+
destinationCalendar?: true | undefined;
|
|
433
|
+
customInputs?: true | undefined;
|
|
434
|
+
parent?: true | undefined;
|
|
435
|
+
schedule?: true | undefined;
|
|
436
|
+
secondaryEmail?: true | undefined;
|
|
437
|
+
_count?: true | undefined;
|
|
438
|
+
} | undefined;
|
|
439
|
+
} | undefined;
|
|
440
|
+
requiresConfirmationThreshold?: {
|
|
441
|
+
time: number;
|
|
442
|
+
unit: "months" | "years" | "days" | "hours" | "minutes" | "milliseconds" | "seconds" | "dates";
|
|
443
|
+
} | undefined;
|
|
444
|
+
config?: {
|
|
445
|
+
useHostSchedulesForTeamEvent?: boolean | undefined;
|
|
446
|
+
} | undefined;
|
|
447
|
+
bookerLayouts?: {
|
|
448
|
+
enabledLayouts: import("@calcom/prisma/zod-utils").BookerLayouts[];
|
|
449
|
+
defaultLayout: import("@calcom/prisma/zod-utils").BookerLayouts;
|
|
450
|
+
} | null | undefined;
|
|
451
|
+
} | null;
|
|
452
|
+
isDynamic: boolean;
|
|
453
|
+
periodCountCalendarDays: boolean;
|
|
454
|
+
periodStartDate: null;
|
|
455
|
+
periodEndDate: null;
|
|
456
|
+
beforeEventBuffer: number;
|
|
457
|
+
afterEventBuffer: number;
|
|
458
|
+
periodType: "UNLIMITED";
|
|
459
|
+
periodDays: null;
|
|
460
|
+
slotInterval: null;
|
|
461
|
+
offsetStart: number;
|
|
462
|
+
customInputs: {
|
|
463
|
+
required: boolean;
|
|
464
|
+
label: string;
|
|
465
|
+
placeholder: string;
|
|
466
|
+
type: "TEXT" | "TEXTLONG" | "NUMBER" | "BOOL" | "RADIO" | "PHONE";
|
|
467
|
+
id: number;
|
|
468
|
+
eventTypeId: number;
|
|
469
|
+
options?: {
|
|
470
|
+
label: string;
|
|
471
|
+
type: string;
|
|
472
|
+
}[] | null | undefined;
|
|
473
|
+
hasToBeCreated?: boolean | undefined;
|
|
474
|
+
}[];
|
|
475
|
+
disableGuests: boolean;
|
|
476
|
+
minimumBookingNotice: number;
|
|
477
|
+
schedule: null;
|
|
478
|
+
timeZone: null;
|
|
479
|
+
successRedirectUrl: string;
|
|
480
|
+
teamId: null;
|
|
481
|
+
scheduleId: null;
|
|
482
|
+
availability: never[];
|
|
483
|
+
price: number;
|
|
484
|
+
currency: string;
|
|
485
|
+
schedulingType: "COLLECTIVE";
|
|
486
|
+
seatsPerTimeSlot: null;
|
|
487
|
+
seatsShowAttendees: null;
|
|
488
|
+
seatsShowAvailabilityCount: null;
|
|
489
|
+
onlyShowFirstAvailableSlot: boolean;
|
|
490
|
+
id: number;
|
|
491
|
+
hideCalendarNotes: boolean;
|
|
492
|
+
recurringEvent: null;
|
|
493
|
+
destinationCalendar: null;
|
|
494
|
+
team: null;
|
|
495
|
+
lockTimeZoneToggleOnBookingPage: boolean;
|
|
496
|
+
requiresConfirmation: boolean;
|
|
497
|
+
requiresBookerEmailVerification: boolean;
|
|
498
|
+
bookingLimits: null;
|
|
499
|
+
durationLimits: null;
|
|
500
|
+
hidden: boolean;
|
|
501
|
+
userId: number;
|
|
502
|
+
parentId: null;
|
|
503
|
+
owner: null;
|
|
504
|
+
workflows: never[];
|
|
505
|
+
hosts: never[];
|
|
506
|
+
assignAllTeamMembers: boolean;
|
|
507
|
+
useEventTypeDestinationCalendarEmail: boolean;
|
|
508
|
+
secondaryEmailId: null;
|
|
509
|
+
secondaryEmail: null;
|
|
510
|
+
length: number;
|
|
511
|
+
slug: string;
|
|
512
|
+
title: string;
|
|
513
|
+
eventName: string;
|
|
514
|
+
description: string;
|
|
515
|
+
descriptionAsSafeHTML: string;
|
|
516
|
+
position: number;
|
|
517
|
+
} | {
|
|
518
|
+
bookerLayouts: {
|
|
519
|
+
enabledLayouts: import("@calcom/prisma/zod-utils").BookerLayouts[];
|
|
520
|
+
defaultLayout: import("@calcom/prisma/zod-utils").BookerLayouts;
|
|
521
|
+
} | null;
|
|
522
|
+
description: string;
|
|
523
|
+
metadata: {
|
|
524
|
+
smartContractAddress?: string | undefined;
|
|
525
|
+
blockchainId?: number | undefined;
|
|
526
|
+
multipleDuration?: number[] | undefined;
|
|
527
|
+
giphyThankYouPage?: string | undefined;
|
|
528
|
+
apps?: {
|
|
529
|
+
alby?: {
|
|
530
|
+
price: number;
|
|
531
|
+
currency: string;
|
|
532
|
+
appCategories?: string[] | undefined;
|
|
533
|
+
paymentOption?: string | undefined;
|
|
534
|
+
enabled?: boolean | undefined;
|
|
535
|
+
credentialId?: number | undefined;
|
|
536
|
+
} | undefined;
|
|
537
|
+
basecamp3?: {
|
|
538
|
+
enabled?: boolean | undefined;
|
|
539
|
+
credentialId?: number | undefined;
|
|
540
|
+
appCategories?: string[] | undefined;
|
|
541
|
+
} | undefined;
|
|
542
|
+
dailyvideo?: {} | undefined;
|
|
543
|
+
fathom?: {
|
|
544
|
+
enabled?: boolean | undefined;
|
|
545
|
+
credentialId?: number | undefined;
|
|
546
|
+
appCategories?: string[] | undefined;
|
|
547
|
+
trackingId?: string | undefined;
|
|
548
|
+
} | undefined;
|
|
549
|
+
feishucalendar?: {} | undefined;
|
|
550
|
+
ga4?: {
|
|
551
|
+
enabled?: boolean | undefined;
|
|
552
|
+
credentialId?: number | undefined;
|
|
553
|
+
appCategories?: string[] | undefined;
|
|
554
|
+
trackingId?: string | undefined;
|
|
555
|
+
} | undefined;
|
|
556
|
+
giphy?: {
|
|
557
|
+
enabled?: boolean | undefined;
|
|
558
|
+
credentialId?: number | undefined;
|
|
559
|
+
appCategories?: string[] | undefined;
|
|
560
|
+
thankYouPage?: string | undefined;
|
|
561
|
+
} | undefined;
|
|
562
|
+
googlecalendar?: {} | undefined;
|
|
563
|
+
gtm?: {
|
|
564
|
+
trackingId: string;
|
|
565
|
+
enabled?: boolean | undefined;
|
|
566
|
+
credentialId?: number | undefined;
|
|
567
|
+
appCategories?: string[] | undefined;
|
|
568
|
+
} | undefined;
|
|
569
|
+
hubspot?: {} | undefined;
|
|
570
|
+
intercom?: {} | undefined;
|
|
571
|
+
jelly?: {} | undefined;
|
|
572
|
+
jitsivideo?: {} | undefined;
|
|
573
|
+
larkcalendar?: {} | undefined;
|
|
574
|
+
make?: {} | undefined;
|
|
575
|
+
matomo?: {
|
|
576
|
+
enabled?: boolean | undefined;
|
|
577
|
+
credentialId?: number | undefined;
|
|
578
|
+
appCategories?: string[] | undefined;
|
|
579
|
+
MATOMO_URL?: string | undefined;
|
|
580
|
+
SITE_ID?: string | undefined;
|
|
581
|
+
} | undefined;
|
|
582
|
+
metapixel?: {
|
|
583
|
+
enabled?: boolean | undefined;
|
|
584
|
+
credentialId?: number | undefined;
|
|
585
|
+
appCategories?: string[] | undefined;
|
|
586
|
+
trackingId?: string | undefined;
|
|
587
|
+
} | undefined;
|
|
588
|
+
"mock-payment-app"?: {
|
|
589
|
+
price: number;
|
|
590
|
+
currency: string;
|
|
591
|
+
credentialId?: number | undefined;
|
|
592
|
+
appCategories?: string[] | undefined;
|
|
593
|
+
paymentOption?: string | undefined;
|
|
594
|
+
enabled?: boolean | undefined;
|
|
595
|
+
} | undefined;
|
|
596
|
+
office365calendar?: {
|
|
597
|
+
client_id: string;
|
|
598
|
+
client_secret: string;
|
|
599
|
+
} | undefined;
|
|
600
|
+
office365video?: {
|
|
601
|
+
client_id: string;
|
|
602
|
+
client_secret: string;
|
|
603
|
+
} | undefined;
|
|
604
|
+
paypal?: {
|
|
605
|
+
price: number;
|
|
606
|
+
currency: string;
|
|
607
|
+
credentialId?: number | undefined;
|
|
608
|
+
appCategories?: string[] | undefined;
|
|
609
|
+
paymentOption?: string | undefined;
|
|
610
|
+
enabled?: boolean | undefined;
|
|
611
|
+
} | undefined;
|
|
612
|
+
"pipedrive-crm"?: {} | undefined;
|
|
613
|
+
plausible?: {
|
|
614
|
+
enabled?: boolean | undefined;
|
|
615
|
+
credentialId?: number | undefined;
|
|
616
|
+
appCategories?: string[] | undefined;
|
|
617
|
+
PLAUSIBLE_URL?: string | undefined;
|
|
618
|
+
trackingId?: string | undefined;
|
|
619
|
+
} | undefined;
|
|
620
|
+
qr_code?: {
|
|
621
|
+
enabled?: boolean | undefined;
|
|
622
|
+
credentialId?: number | undefined;
|
|
623
|
+
appCategories?: string[] | undefined;
|
|
624
|
+
} | undefined;
|
|
625
|
+
"routing-forms"?: any;
|
|
626
|
+
salesforce?: {} | undefined;
|
|
627
|
+
shimmervideo?: {} | undefined;
|
|
628
|
+
stripe?: {
|
|
629
|
+
price: number;
|
|
630
|
+
currency: string;
|
|
631
|
+
credentialId?: number | undefined;
|
|
632
|
+
appCategories?: string[] | undefined;
|
|
633
|
+
paymentOption?: string | undefined;
|
|
634
|
+
enabled?: boolean | undefined;
|
|
635
|
+
} | undefined;
|
|
636
|
+
tandemvideo?: {} | undefined;
|
|
637
|
+
"booking-pages-tag"?: {
|
|
638
|
+
trackingId: string;
|
|
639
|
+
enabled?: boolean | undefined;
|
|
640
|
+
credentialId?: number | undefined;
|
|
641
|
+
appCategories?: string[] | undefined;
|
|
642
|
+
} | undefined;
|
|
643
|
+
"event-type-app-card"?: {
|
|
644
|
+
isSunrise: boolean;
|
|
645
|
+
enabled?: boolean | undefined;
|
|
646
|
+
credentialId?: number | undefined;
|
|
647
|
+
appCategories?: string[] | undefined;
|
|
648
|
+
} | undefined;
|
|
649
|
+
vital?: {} | undefined;
|
|
650
|
+
webex?: {} | undefined;
|
|
651
|
+
wordpress?: {
|
|
652
|
+
isSunrise: boolean;
|
|
653
|
+
enabled?: boolean | undefined;
|
|
654
|
+
credentialId?: number | undefined;
|
|
655
|
+
appCategories?: string[] | undefined;
|
|
656
|
+
} | undefined;
|
|
657
|
+
zapier?: {} | undefined;
|
|
658
|
+
"zoho-bigin"?: {} | undefined;
|
|
659
|
+
zohocalendar?: {} | undefined;
|
|
660
|
+
zohocrm?: {} | undefined;
|
|
661
|
+
zoomvideo?: {} | undefined;
|
|
662
|
+
} | undefined;
|
|
663
|
+
additionalNotesRequired?: boolean | undefined;
|
|
664
|
+
disableSuccessPage?: boolean | undefined;
|
|
665
|
+
disableStandardEmails?: {
|
|
666
|
+
confirmation?: {
|
|
667
|
+
host?: boolean | undefined;
|
|
668
|
+
attendee?: boolean | undefined;
|
|
669
|
+
} | undefined;
|
|
670
|
+
} | undefined;
|
|
671
|
+
managedEventConfig?: {
|
|
672
|
+
unlockedFields?: {
|
|
673
|
+
price?: true | undefined;
|
|
674
|
+
bookings?: true | undefined;
|
|
675
|
+
webhooks?: true | undefined;
|
|
676
|
+
profile?: true | undefined;
|
|
677
|
+
owner?: true | undefined;
|
|
678
|
+
title?: true | undefined;
|
|
679
|
+
description?: true | undefined;
|
|
680
|
+
hidden?: true | undefined;
|
|
681
|
+
team?: true | undefined;
|
|
682
|
+
availability?: true | undefined;
|
|
683
|
+
length?: true | undefined;
|
|
684
|
+
workflows?: true | undefined;
|
|
685
|
+
users?: true | undefined;
|
|
686
|
+
hosts?: true | undefined;
|
|
687
|
+
currency?: true | undefined;
|
|
688
|
+
children?: true | undefined;
|
|
689
|
+
timeZone?: true | undefined;
|
|
690
|
+
metadata?: true | undefined;
|
|
691
|
+
slug?: true | undefined;
|
|
692
|
+
position?: true | undefined;
|
|
693
|
+
locations?: true | undefined;
|
|
694
|
+
offsetStart?: true | undefined;
|
|
695
|
+
userId?: true | undefined;
|
|
696
|
+
profileId?: true | undefined;
|
|
697
|
+
teamId?: true | undefined;
|
|
698
|
+
eventName?: true | undefined;
|
|
699
|
+
parentId?: true | undefined;
|
|
700
|
+
bookingFields?: true | undefined;
|
|
701
|
+
periodType?: true | undefined;
|
|
702
|
+
periodStartDate?: true | undefined;
|
|
703
|
+
periodEndDate?: true | undefined;
|
|
704
|
+
periodDays?: true | undefined;
|
|
705
|
+
periodCountCalendarDays?: true | undefined;
|
|
706
|
+
lockTimeZoneToggleOnBookingPage?: true | undefined;
|
|
707
|
+
requiresConfirmation?: true | undefined;
|
|
708
|
+
requiresBookerEmailVerification?: true | undefined;
|
|
709
|
+
recurringEvent?: true | undefined;
|
|
710
|
+
disableGuests?: true | undefined;
|
|
711
|
+
hideCalendarNotes?: true | undefined;
|
|
712
|
+
minimumBookingNotice?: true | undefined;
|
|
713
|
+
beforeEventBuffer?: true | undefined;
|
|
714
|
+
afterEventBuffer?: true | undefined;
|
|
715
|
+
seatsPerTimeSlot?: true | undefined;
|
|
716
|
+
onlyShowFirstAvailableSlot?: true | undefined;
|
|
717
|
+
seatsShowAttendees?: true | undefined;
|
|
718
|
+
seatsShowAvailabilityCount?: true | undefined;
|
|
719
|
+
schedulingType?: true | undefined;
|
|
720
|
+
scheduleId?: true | undefined;
|
|
721
|
+
slotInterval?: true | undefined;
|
|
722
|
+
successRedirectUrl?: true | undefined;
|
|
723
|
+
bookingLimits?: true | undefined;
|
|
724
|
+
durationLimits?: true | undefined;
|
|
725
|
+
isInstantEvent?: true | undefined;
|
|
726
|
+
assignAllTeamMembers?: true | undefined;
|
|
727
|
+
useEventTypeDestinationCalendarEmail?: true | undefined;
|
|
728
|
+
secondaryEmailId?: true | undefined;
|
|
729
|
+
hashedLink?: true | undefined;
|
|
730
|
+
destinationCalendar?: true | undefined;
|
|
731
|
+
customInputs?: true | undefined;
|
|
732
|
+
parent?: true | undefined;
|
|
733
|
+
schedule?: true | undefined;
|
|
734
|
+
secondaryEmail?: true | undefined;
|
|
735
|
+
_count?: true | undefined;
|
|
736
|
+
} | undefined;
|
|
737
|
+
} | undefined;
|
|
738
|
+
requiresConfirmationThreshold?: {
|
|
739
|
+
time: number;
|
|
740
|
+
unit: "months" | "years" | "days" | "hours" | "minutes" | "milliseconds" | "seconds" | "dates";
|
|
741
|
+
} | undefined;
|
|
742
|
+
config?: {
|
|
743
|
+
useHostSchedulesForTeamEvent?: boolean | undefined;
|
|
744
|
+
} | undefined;
|
|
745
|
+
bookerLayouts?: {
|
|
746
|
+
enabledLayouts: import("@calcom/prisma/zod-utils").BookerLayouts[];
|
|
747
|
+
defaultLayout: import("@calcom/prisma/zod-utils").BookerLayouts;
|
|
748
|
+
} | null | undefined;
|
|
749
|
+
} | null;
|
|
750
|
+
customInputs: {
|
|
751
|
+
required: boolean;
|
|
752
|
+
label: string;
|
|
753
|
+
placeholder: string;
|
|
754
|
+
type: "TEXT" | "TEXTLONG" | "NUMBER" | "BOOL" | "RADIO" | "PHONE";
|
|
755
|
+
id: number;
|
|
756
|
+
eventTypeId: number;
|
|
757
|
+
options?: {
|
|
758
|
+
label: string;
|
|
759
|
+
type: string;
|
|
760
|
+
}[] | null | undefined;
|
|
761
|
+
hasToBeCreated?: boolean | undefined;
|
|
762
|
+
}[];
|
|
763
|
+
locations: (Pick<Partial<import("@calcom/app-store/locations").LocationObject>, "link" | "address"> & Omit<import("@calcom/app-store/locations").LocationObject, "link" | "address">)[];
|
|
764
|
+
bookingFields: {
|
|
765
|
+
name: string;
|
|
766
|
+
type: "number" | "boolean" | "select" | "text" | "checkbox" | "email" | "address" | "name" | "radio" | "textarea" | "multiselect" | "phone" | "multiemail" | "radioInput";
|
|
767
|
+
options?: {
|
|
768
|
+
label: string;
|
|
769
|
+
value: string;
|
|
770
|
+
}[] | undefined;
|
|
771
|
+
required?: boolean | undefined;
|
|
772
|
+
label?: string | undefined;
|
|
773
|
+
placeholder?: string | undefined;
|
|
774
|
+
defaultLabel?: string | undefined;
|
|
775
|
+
defaultPlaceholder?: string | undefined;
|
|
776
|
+
labelAsSafeHtml?: string | undefined;
|
|
777
|
+
getOptionsAt?: string | undefined;
|
|
778
|
+
optionsInputs?: Record<string, {
|
|
779
|
+
type: "text" | "address" | "phone";
|
|
780
|
+
required?: boolean | undefined;
|
|
781
|
+
placeholder?: string | undefined;
|
|
782
|
+
}> | undefined;
|
|
783
|
+
variant?: string | undefined;
|
|
784
|
+
variantsConfig?: {
|
|
785
|
+
variants: Record<string, {
|
|
786
|
+
fields: {
|
|
787
|
+
name: string;
|
|
788
|
+
type: "number" | "boolean" | "select" | "text" | "checkbox" | "email" | "address" | "name" | "radio" | "textarea" | "multiselect" | "phone" | "multiemail" | "radioInput";
|
|
789
|
+
required?: boolean | undefined;
|
|
790
|
+
label?: string | undefined;
|
|
791
|
+
placeholder?: string | undefined;
|
|
792
|
+
labelAsSafeHtml?: string | undefined;
|
|
793
|
+
}[];
|
|
794
|
+
}>;
|
|
795
|
+
} | undefined;
|
|
796
|
+
views?: {
|
|
797
|
+
label: string;
|
|
798
|
+
id: string;
|
|
799
|
+
description?: string | undefined;
|
|
800
|
+
}[] | undefined;
|
|
801
|
+
hideWhenJustOneOption?: boolean | undefined;
|
|
802
|
+
hidden?: boolean | undefined;
|
|
803
|
+
editable?: "user" | "system" | "system-but-optional" | "system-but-hidden" | "user-readonly" | undefined;
|
|
804
|
+
sources?: {
|
|
805
|
+
label: string;
|
|
806
|
+
type: string;
|
|
807
|
+
id: string;
|
|
808
|
+
editUrl?: string | undefined;
|
|
809
|
+
fieldRequired?: boolean | undefined;
|
|
810
|
+
}[] | undefined;
|
|
811
|
+
}[] & import("zod").BRAND<"HAS_SYSTEM_FIELDS">;
|
|
812
|
+
recurringEvent: import("@calcom/types/Calendar").RecurringEvent | null;
|
|
813
|
+
profile: {
|
|
814
|
+
username: string | null | undefined;
|
|
815
|
+
name: string | null;
|
|
816
|
+
weekStart: string;
|
|
817
|
+
image: string | undefined;
|
|
818
|
+
logo: string | null | undefined;
|
|
819
|
+
brandColor: string | null;
|
|
820
|
+
darkBrandColor: string | null;
|
|
821
|
+
theme: string | null;
|
|
822
|
+
bookerLayouts: {
|
|
823
|
+
enabledLayouts: import("@calcom/prisma/zod-utils").BookerLayouts[];
|
|
824
|
+
defaultLayout: import("@calcom/prisma/zod-utils").BookerLayouts;
|
|
825
|
+
} | null;
|
|
826
|
+
};
|
|
827
|
+
users: {
|
|
828
|
+
username: string | null;
|
|
829
|
+
name: string | null;
|
|
830
|
+
weekStart: string;
|
|
831
|
+
organizationId: any;
|
|
832
|
+
avatarUrl: string | null;
|
|
833
|
+
profile: import("@calcom/types/UserProfile").UserProfile;
|
|
834
|
+
bookerUrl: string;
|
|
835
|
+
}[];
|
|
836
|
+
entity: {
|
|
837
|
+
isUnpublished: boolean;
|
|
838
|
+
orgSlug: string | null;
|
|
839
|
+
teamSlug: string | null;
|
|
840
|
+
name: any;
|
|
841
|
+
};
|
|
842
|
+
isDynamic: boolean;
|
|
843
|
+
isInstantEvent: boolean;
|
|
844
|
+
assignAllTeamMembers: boolean;
|
|
845
|
+
owner: ({
|
|
846
|
+
username: string | null;
|
|
847
|
+
name: string | null;
|
|
848
|
+
organization: {
|
|
849
|
+
name: string;
|
|
850
|
+
id: number;
|
|
851
|
+
slug: string | null;
|
|
852
|
+
calVideoLogo: string | null;
|
|
853
|
+
bannerUrl: string | null;
|
|
854
|
+
} | null;
|
|
855
|
+
theme: string | null;
|
|
856
|
+
metadata: import(".prisma/client").Prisma.JsonValue;
|
|
857
|
+
id: number;
|
|
858
|
+
avatarUrl: string | null;
|
|
859
|
+
weekStart: string;
|
|
860
|
+
defaultScheduleId: number | null;
|
|
861
|
+
brandColor: string | null;
|
|
862
|
+
darkBrandColor: string | null;
|
|
863
|
+
} & {
|
|
864
|
+
nonProfileUsername: string | null;
|
|
865
|
+
profile: import("@calcom/types/UserProfile").UserProfile;
|
|
866
|
+
}) | null;
|
|
867
|
+
hosts: {
|
|
868
|
+
user: {
|
|
869
|
+
username: string | null;
|
|
870
|
+
name: string | null;
|
|
871
|
+
organization: {
|
|
872
|
+
name: string;
|
|
873
|
+
id: number;
|
|
874
|
+
slug: string | null;
|
|
875
|
+
calVideoLogo: string | null;
|
|
876
|
+
bannerUrl: string | null;
|
|
877
|
+
} | null;
|
|
878
|
+
theme: string | null;
|
|
879
|
+
metadata: import(".prisma/client").Prisma.JsonValue;
|
|
880
|
+
id: number;
|
|
881
|
+
avatarUrl: string | null;
|
|
882
|
+
weekStart: string;
|
|
883
|
+
defaultScheduleId: number | null;
|
|
884
|
+
brandColor: string | null;
|
|
885
|
+
darkBrandColor: string | null;
|
|
886
|
+
} & {
|
|
887
|
+
nonProfileUsername: string | null;
|
|
888
|
+
profile: import("@calcom/types/UserProfile").UserProfile;
|
|
889
|
+
};
|
|
890
|
+
}[];
|
|
891
|
+
price: number;
|
|
892
|
+
title: string;
|
|
893
|
+
hidden: boolean;
|
|
894
|
+
team: {
|
|
895
|
+
name: string;
|
|
896
|
+
logo: string | null;
|
|
897
|
+
theme: string | null;
|
|
898
|
+
metadata: import(".prisma/client").Prisma.JsonValue;
|
|
899
|
+
slug: string | null;
|
|
900
|
+
parentId: number | null;
|
|
901
|
+
parent: {
|
|
902
|
+
name: string;
|
|
903
|
+
slug: string | null;
|
|
904
|
+
bannerUrl: string | null;
|
|
905
|
+
} | null;
|
|
906
|
+
brandColor: string | null;
|
|
907
|
+
darkBrandColor: string | null;
|
|
908
|
+
} | null;
|
|
909
|
+
length: number;
|
|
910
|
+
workflows: ({
|
|
911
|
+
workflow: {
|
|
912
|
+
steps: {
|
|
913
|
+
action: import(".prisma/client").$Enums.WorkflowActions;
|
|
914
|
+
template: import(".prisma/client").$Enums.WorkflowTemplates;
|
|
915
|
+
id: number;
|
|
916
|
+
stepNumber: number;
|
|
917
|
+
workflowId: number;
|
|
918
|
+
sendTo: string | null;
|
|
919
|
+
reminderBody: string | null;
|
|
920
|
+
emailSubject: string | null;
|
|
921
|
+
numberRequired: boolean | null;
|
|
922
|
+
sender: string | null;
|
|
923
|
+
numberVerificationPending: boolean;
|
|
924
|
+
includeCalendarEvent: boolean;
|
|
925
|
+
}[];
|
|
926
|
+
} & {
|
|
927
|
+
name: string;
|
|
928
|
+
trigger: import(".prisma/client").$Enums.WorkflowTriggerEvents;
|
|
929
|
+
time: number | null;
|
|
930
|
+
id: number;
|
|
931
|
+
position: number;
|
|
932
|
+
userId: number | null;
|
|
933
|
+
teamId: number | null;
|
|
934
|
+
timeUnit: import(".prisma/client").$Enums.TimeUnit | null;
|
|
935
|
+
};
|
|
936
|
+
} & {
|
|
937
|
+
id: number;
|
|
938
|
+
eventTypeId: number;
|
|
939
|
+
workflowId: number;
|
|
940
|
+
})[];
|
|
941
|
+
currency: string;
|
|
942
|
+
id: number;
|
|
943
|
+
slug: string;
|
|
944
|
+
eventName: string | null;
|
|
945
|
+
lockTimeZoneToggleOnBookingPage: boolean;
|
|
946
|
+
requiresConfirmation: boolean;
|
|
947
|
+
requiresBookerEmailVerification: boolean;
|
|
948
|
+
disableGuests: boolean;
|
|
949
|
+
seatsPerTimeSlot: number | null;
|
|
950
|
+
seatsShowAvailabilityCount: boolean | null;
|
|
951
|
+
schedulingType: import(".prisma/client").$Enums.SchedulingType | null;
|
|
952
|
+
successRedirectUrl: string | null;
|
|
953
|
+
schedule: {
|
|
954
|
+
timeZone: string | null;
|
|
955
|
+
id: number;
|
|
956
|
+
} | null;
|
|
957
|
+
} | null, Error>;
|
|
958
|
+
//# sourceMappingURL=usePublicEvent.d.ts.map
|