@calcom/atoms 1.7.1 → 1.8.0-booker

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.
Files changed (167) hide show
  1. package/dist/{AddressInput-DR3jIl7N.js → AddressInput-E1ARKDg7.js} +5 -5
  2. package/dist/{AlbyPriceComponent-2k8JXx0O.js → AlbyPriceComponent-jBcuDvZa.js} +24 -24
  3. package/dist/{PhoneInput-Nhiv23jS.js → PhoneInput-qXboae9k.js} +62 -62
  4. package/dist/cal-atoms.js +5 -36
  5. package/dist/index-GQl0OyJB.js +88695 -0
  6. package/dist/index-QBpbC_ZD.js +1957 -0
  7. package/dist/{index-QG3p1fzr.js → index-bGbS5CRI.js} +1 -1
  8. package/dist/packages/features/bookings/Booker/components/BookEventForm/BookEventForm.d.ts.map +1 -1
  9. package/dist/packages/features/bookings/Booker/components/EventMeta.d.ts.map +1 -1
  10. package/dist/packages/features/bookings/Booker/components/Header.d.ts.map +1 -1
  11. package/dist/packages/features/bookings/Booker/components/OverlayCalendar/OverlayCalendar.d.ts.map +1 -1
  12. package/dist/packages/features/bookings/Booker/components/hooks/useBookings.d.ts +1 -1
  13. package/dist/packages/features/bookings/Booker/utils/event.d.ts +33 -33
  14. package/dist/packages/features/bookings/lib/BookingEmailSmsHandler.d.ts +1 -1
  15. package/dist/packages/features/bookings/lib/BookingEmailSmsHandler.d.ts.map +1 -1
  16. package/dist/packages/features/bookings/lib/create-booking.d.ts +91 -91
  17. package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts +91 -91
  18. package/dist/packages/features/bookings/lib/get-booking.d.ts +9 -9
  19. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +38 -38
  20. package/dist/packages/features/bookings/lib/getCalendarLinks.d.ts +41 -0
  21. package/dist/packages/features/bookings/lib/getCalendarLinks.d.ts.map +1 -0
  22. package/dist/packages/features/bookings/lib/getCalendarLinks.test.d.ts +2 -0
  23. package/dist/packages/features/bookings/lib/getCalendarLinks.test.d.ts.map +1 -0
  24. package/dist/packages/features/bookings/lib/handleInternalNote.d.ts +2 -2
  25. package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts +33 -33
  26. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +57 -57
  27. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +57 -57
  28. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +57 -57
  29. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts +46 -46
  30. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +45 -45
  31. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts +364 -364
  32. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
  33. package/dist/packages/features/bookings/lib/handlePayment.d.ts +49 -0
  34. package/dist/packages/features/bookings/lib/handlePayment.d.ts.map +1 -0
  35. package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts +33 -33
  36. package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts.map +1 -1
  37. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/ownerRescheduleSeatedBooking.d.ts +33 -33
  38. package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts +39 -39
  39. package/dist/packages/features/components/controlled-dialog/index.d.ts.map +1 -1
  40. package/dist/packages/features/components/phone-input/PhoneInput.d.ts.map +1 -1
  41. package/dist/packages/features/ee/billing/organizations/index.d.ts +1 -2
  42. package/dist/packages/features/ee/billing/organizations/index.d.ts.map +1 -1
  43. package/dist/packages/features/ee/billing/organizations/internal-organization-billing.d.ts +2 -2
  44. package/dist/packages/features/ee/billing/organizations/organization-billing.repository.d.ts +32 -4
  45. package/dist/packages/features/ee/billing/organizations/organization-billing.repository.d.ts.map +1 -1
  46. package/dist/packages/features/ee/payments/server/stripe-service.d.ts +23 -0
  47. package/dist/packages/features/ee/payments/server/stripe-service.d.ts.map +1 -0
  48. package/dist/packages/features/ee/round-robin/lib/bookingLocationService.d.ts +125 -0
  49. package/dist/packages/features/ee/round-robin/lib/bookingLocationService.d.ts.map +1 -0
  50. package/dist/packages/features/ee/round-robin/lib/bookingLocationService.test.d.ts +2 -0
  51. package/dist/packages/features/ee/round-robin/lib/bookingLocationService.test.d.ts.map +1 -0
  52. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts +30 -30
  53. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts.map +1 -1
  54. package/dist/packages/features/ee/round-robin/roundRobinReassignment.d.ts.map +1 -1
  55. package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts.map +1 -1
  56. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts.map +1 -1
  57. package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts +6 -6
  58. package/dist/packages/features/eventtypes/components/AddVerifiedEmail.d.ts +7 -0
  59. package/dist/packages/features/eventtypes/components/AddVerifiedEmail.d.ts.map +1 -0
  60. package/dist/packages/features/eventtypes/components/tabs/advanced/CustomEventTypeModal.d.ts +1 -1
  61. package/dist/packages/features/eventtypes/components/tabs/advanced/CustomEventTypeModal.d.ts.map +1 -1
  62. package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts.map +1 -1
  63. package/dist/packages/features/eventtypes/lib/eventNaming.d.ts +28 -0
  64. package/dist/packages/features/eventtypes/lib/eventNaming.d.ts.map +1 -0
  65. package/dist/packages/features/eventtypes/lib/eventNaming.test.d.ts +2 -0
  66. package/dist/packages/features/eventtypes/lib/eventNaming.test.d.ts.map +1 -0
  67. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +33 -33
  68. package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts +12 -12
  69. package/dist/packages/features/eventtypes/lib/types.d.ts +1 -1
  70. package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
  71. package/dist/packages/features/shell/user-dropdown/UserDropdown.d.ts +2 -2
  72. package/dist/packages/features/shell/user-dropdown/UserDropdown.d.ts.map +1 -1
  73. package/dist/packages/platform/atoms/event-types/hooks/useAddVerifiedEmail.d.ts +15 -0
  74. package/dist/packages/platform/atoms/event-types/hooks/useAddVerifiedEmail.d.ts.map +1 -0
  75. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +17 -17
  76. package/dist/packages/platform/atoms/event-types/hooks/useEventTypeForm.d.ts.map +1 -1
  77. package/dist/packages/platform/atoms/event-types/hooks/useGetVerifiedEmails.d.ts +3 -0
  78. package/dist/packages/platform/atoms/event-types/hooks/useGetVerifiedEmails.d.ts.map +1 -0
  79. package/dist/packages/platform/atoms/event-types/wrappers/EventAdvancedPlatformWrapper.d.ts.map +1 -1
  80. package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts +91 -91
  81. package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts +91 -91
  82. package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts +91 -91
  83. package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts +3 -3
  84. package/dist/packages/platform/atoms/hooks/bookings/useHandleBookEvent.d.ts.map +1 -1
  85. package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts +33 -33
  86. package/dist/packages/platform/atoms/hooks/schedules/useAtomSchedule.d.ts +3 -3
  87. package/dist/packages/platform/atoms/hooks/schedules/useAtomUpdateSchedule.d.ts +3 -3
  88. package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts.map +1 -1
  89. package/dist/packages/platform/atoms/index.d.ts +0 -36
  90. package/dist/packages/platform/atoms/index.d.ts.map +1 -1
  91. package/dist/packages/platform/atoms/lib/appendClientIdToEmail.d.ts +2 -0
  92. package/dist/packages/platform/atoms/lib/appendClientIdToEmail.d.ts.map +1 -0
  93. package/dist/packages/platform/libraries/event-types.d.ts +5 -5
  94. package/dist/packages/platform/libraries/event-types.d.ts.map +1 -1
  95. package/dist/packages/platform/libraries/index.d.ts +3 -3
  96. package/dist/packages/platform/libraries/index.d.ts.map +1 -1
  97. package/dist/packages/prisma/zod/impersonations.d.ts +2 -2
  98. package/dist/packages/prisma/zod/ratelimit.d.ts +2 -2
  99. package/dist/packages/prisma/zod/task.d.ts +2 -2
  100. package/dist/packages/prisma/zod/teamfeatures.d.ts +2 -2
  101. package/dist/packages/prisma/zod/userfeatures.d.ts +2 -2
  102. package/dist/packages/prisma/zod/webhookscheduledtriggers.d.ts +2 -2
  103. package/dist/packages/prisma/zod-utils.d.ts +1 -0
  104. package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
  105. package/dist/packages/trpc/react/hooks/useMeQuery.d.ts +2 -2
  106. package/dist/packages/trpc/react/shared.d.ts +1 -1
  107. package/dist/packages/trpc/react/shared.d.ts.map +1 -1
  108. package/dist/packages/trpc/react/trpc.d.ts.map +1 -1
  109. package/dist/style.css +1 -1
  110. package/package.json +1 -1
  111. package/dist/AppCard-bt7zv8gh.js +0 -281
  112. package/dist/AppListCardPlatformWrapper-VhYhJs_R.js +0 -9
  113. package/dist/AppListCardWebWrapper-NUv3j3xt.js +0 -74
  114. package/dist/AppSettingsInterface-buo7m9T8.js +0 -75
  115. package/dist/AppSettingsInterface-pSKkGg41.js +0 -23
  116. package/dist/AppSettingsInterface-zXTKl0m5.js +0 -29
  117. package/dist/DateRangePicker-bTMo0QHP.js +0 -74
  118. package/dist/EventTypeAppCardInterface-09iYOcZc.js +0 -39
  119. package/dist/EventTypeAppCardInterface-22oySUhU.js +0 -42
  120. package/dist/EventTypeAppCardInterface-4J2r0kDm.js +0 -34
  121. package/dist/EventTypeAppCardInterface-6ARDh1hB.js +0 -34
  122. package/dist/EventTypeAppCardInterface-6N-ocotc.js +0 -34
  123. package/dist/EventTypeAppCardInterface-ALjgH4W_.js +0 -34
  124. package/dist/EventTypeAppCardInterface-Ayfx5tRN.js +0 -39
  125. package/dist/EventTypeAppCardInterface-DcTMtSbr.js +0 -24
  126. package/dist/EventTypeAppCardInterface-DqaD8qmA.js +0 -34
  127. package/dist/EventTypeAppCardInterface-KjJnnhe2.js +0 -51
  128. package/dist/EventTypeAppCardInterface-SS33HaLT.js +0 -24
  129. package/dist/EventTypeAppCardInterface-TIEM8D8u.js +0 -41
  130. package/dist/EventTypeAppCardInterface-UIXAwi3z.js +0 -32
  131. package/dist/EventTypeAppCardInterface-UhZiYpC_.js +0 -858
  132. package/dist/EventTypeAppCardInterface-Uv0b0YwY.js +0 -34
  133. package/dist/EventTypeAppCardInterface-WvWtKyzR.js +0 -32
  134. package/dist/EventTypeAppCardInterface-ZTWUUx-j.js +0 -31
  135. package/dist/EventTypeAppCardInterface-Zce0NZR5.js +0 -33
  136. package/dist/EventTypeAppCardInterface-bj9lQhmN.js +0 -24
  137. package/dist/EventTypeAppCardInterface-cWLQDtAR.js +0 -86
  138. package/dist/EventTypeAppCardInterface-fwF9ZNE1.js +0 -42
  139. package/dist/EventTypeAppCardInterface-lLtnjlZW.js +0 -34
  140. package/dist/EventTypeAppCardInterface-oHgBXT0z.js +0 -24
  141. package/dist/EventTypeAppCardInterface-uSw2xD2a.js +0 -41
  142. package/dist/EventTypeAppCardInterface-uaT7p9un.js +0 -24
  143. package/dist/EventTypeAppCardInterface-vmdHhgZV.js +0 -51
  144. package/dist/EventTypeAppCardInterface-zkJKrgZb.js +0 -49
  145. package/dist/EventTypeAppSettingsInterface-108_BODL.js +0 -78
  146. package/dist/EventTypeAppSettingsInterface-Q0ZDtoUj.js +0 -25
  147. package/dist/EventTypeAppSettingsInterface-Qnr0HCO0.js +0 -43
  148. package/dist/EventTypeAppSettingsInterface-VeVCHNBB.js +0 -24
  149. package/dist/EventTypeAppSettingsInterface-_Yc814Cl.js +0 -221
  150. package/dist/EventTypeAppSettingsInterface-gg2Ef5DU.js +0 -48
  151. package/dist/EventTypeAppSettingsInterface-gkHBitj8.js +0 -106
  152. package/dist/EventTypeAppSettingsInterface-jJT8-1ML.js +0 -120
  153. package/dist/EventTypeAppSettingsInterface-lUvYXuGl.js +0 -72
  154. package/dist/EventTypeAppSettingsInterface-mfeygayG.js +0 -343
  155. package/dist/EventTypeAppSettingsInterface-siyUmyxC.js +0 -23
  156. package/dist/EventTypeAppSettingsInterface-u1frTGTk.js +0 -23
  157. package/dist/EventTypeAppSettingsInterface-ykuyZiXU.js +0 -42
  158. package/dist/InstallAppButton-JXhBVaYJ.js +0 -29
  159. package/dist/InstallAppButton-UL42QGKr.js +0 -14
  160. package/dist/InstallAppButton-c2chNE6g.js +0 -14
  161. package/dist/InstallAppButton-rvYPqvGJ.js +0 -58
  162. package/dist/StripePaymentForm-1yTkAicU.js +0 -493
  163. package/dist/currencyOptions-kannG2hu.js +0 -61
  164. package/dist/index-6aqrxRA8.js +0 -166397
  165. package/dist/index-heZJ0K97.js +0 -28
  166. package/dist/index-miF5qVsp.js +0 -518
  167. package/dist/useIsAppEnabled-aAe8QNQ3.js +0 -18
@@ -0,0 +1,125 @@
1
+ import { type LocationObject } from '../../../../app-store/locations';
2
+ type GetOrganizerDefaultConferencingAppLocationParams = {
3
+ organizerMetadata: unknown;
4
+ };
5
+ type GetOrganizerDefaultConferencingAppLocationResult = {
6
+ /**
7
+ * The conferencing app location type.
8
+ * It starts with 'integrations:' e.g. 'integrations:zoom' and it is defined in the app's config/metadata.ts file
9
+ */
10
+ conferencingAppLocationType: string;
11
+ } & ({
12
+ isStaticLinkApp: true;
13
+ staticLink: string;
14
+ } | {
15
+ isStaticLinkApp: false;
16
+ });
17
+ type GetLocationForHostParams = {
18
+ /**
19
+ * The new host's metadata containing their default conferencing app preferences
20
+ */
21
+ hostMetadata: unknown;
22
+ /**
23
+ * The event type's configured locations
24
+ */
25
+ eventTypeLocations: LocationObject[];
26
+ /**
27
+ * Whether this is a managed event type
28
+ */
29
+ isManagedEventType?: boolean;
30
+ /**
31
+ * Whether this is a team event type
32
+ */
33
+ isTeamEventType?: boolean;
34
+ };
35
+ type GetLocationForHostResult = {
36
+ /**
37
+ * The location string to be stored in the booking
38
+ */
39
+ bookingLocation: string;
40
+ } & ({
41
+ requiresActualLink: false;
42
+ } | {
43
+ requiresActualLink: true;
44
+ conferenceCredentialId: number | null;
45
+ });
46
+ type GetLocationDetailsFromTypeParams = {
47
+ /**
48
+ * The location type or value to resolve
49
+ * @example "integrations:zoom" - A dynamic location type
50
+ * @example "https://example.com/meeting" - A static link value
51
+ * @example "integrations:daily" - Cal Video location type
52
+ */
53
+ locationType: string;
54
+ /**
55
+ * The event type's configured locations that may contain credential IDs
56
+ */
57
+ eventTypeLocations: LocationObject[];
58
+ };
59
+ type GetLocationDetailsFromTypeResult = {
60
+ /**
61
+ * The resolved location value for the database
62
+ */
63
+ bookingLocation: string;
64
+ /**
65
+ * The conference credential ID if present in the location configuration
66
+ */
67
+ conferenceCredentialId: number | null;
68
+ };
69
+ export declare class BookingLocationService {
70
+ /**
71
+ * Determines the booking location based on the Organizer's Default Conferencing App.
72
+ *
73
+ * Note that Organizer's Default Conferencing App is applicable only to Team Events. It gets also applicable to Children Managed Event Types(which are technically User Event Types) as well because the location is configured at Parent Managed Event Type(which is a Team Event Type)
74
+ *
75
+ * This function handles two types of conferencing apps:
76
+ * 1. Dynamic link apps (e.g., Google Meet, Zoom) - Generate a new link for each booking
77
+ * - These apps only have `appSlug` in organizerMetadata
78
+ * - The location is determined by the app's metadata (e.g., "integrations:google:meet")
79
+ *
80
+ * 2. Static link apps (e.g., Campfire)
81
+ * - These apps have `appLink`, as well as `appSlug` in organizerMetadata
82
+ * - The `appLink` is only used for managed or team event types
83
+ *
84
+ * @returns The location configuration or null if no valid conferencing app is found.
85
+ * Callers should handle the null case with their own fallback logic.
86
+ */
87
+ static getOrganizerDefaultConferencingAppLocation({ organizerMetadata, }: GetOrganizerDefaultConferencingAppLocationParams): GetOrganizerDefaultConferencingAppLocationResult | null;
88
+ /**
89
+ * Determines the appropriate booking location based on the chosen host
90
+ *
91
+ * Logic:
92
+ * 1. If the event type includes OrganizerDefaultConferencingAppType in its locations,
93
+ * and the new host has a default conferencing app configured, use that.
94
+ * 2. Otherwise, use the first available location from the event type's configured locations.
95
+ *
96
+ *
97
+ * @returns The location configuration for the new host
98
+ */
99
+ static getLocationForHost({ hostMetadata, eventTypeLocations, isManagedEventType, isTeamEventType, }: GetLocationForHostParams): GetLocationForHostResult;
100
+ /**
101
+ * Extracts location details including conferenceCredentialId from a location type or value
102
+ *
103
+ * @param params - The location type/value and event type locations
104
+ * @returns The resolved booking location and conference credential ID if present
105
+ *
106
+ * @example
107
+ * // Dynamic location type with credential ID
108
+ * getLocationDetailsFromType({
109
+ * locationType: "integrations:zoom",
110
+ * eventTypeLocations: [{ type: "integrations:zoom", credentialId: 123 }]
111
+ * })
112
+ * // Returns: { bookingLocation: "integrations:zoom", conferenceCredentialId: 123 }
113
+ *
114
+ * @example
115
+ * // Static link value (already resolved)
116
+ * getLocationDetailsFromType({
117
+ * locationType: "https://zoom.us/j/123456789",
118
+ * eventTypeLocations: [{ type: "integrations:zoom", link: "https://zoom.us/j/123456789" }]
119
+ * })
120
+ * // Returns: { bookingLocation: "https://zoom.us/j/123456789", conferenceCredentialId: null }
121
+ */
122
+ static getLocationDetailsFromType({ locationType, eventTypeLocations, }: GetLocationDetailsFromTypeParams): GetLocationDetailsFromTypeResult;
123
+ }
124
+ export {};
125
+ //# sourceMappingURL=bookingLocationService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bookingLocationService.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/round-robin/lib/bookingLocationService.ts"],"names":[],"mappings":"AACA,OAAO,EAAwB,KAAK,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAIxF,KAAK,gDAAgD,GAAG;IACtD,iBAAiB,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,KAAK,gDAAgD,GAAG;IACtD;;;OAGG;IACH,2BAA2B,EAAE,MAAM,CAAC;CACrC,GAAG,CACA;IACE,eAAe,EAAE,IAAI,CAA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AAG,gCAAgC;CAQvE"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=bookingLocationService.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bookingLocationService.test.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/round-robin/lib/bookingLocationService.test.ts"],"names":[],"mappings":""}
@@ -14,46 +14,39 @@ export declare const roundRobinManualReassignment: ({ bookingId, newUserId, orgI
14
14
  user: ({
15
15
  destinationCalendar: {
16
16
  id: number;
17
+ integration: string;
18
+ externalId: string;
19
+ primaryEmail: string | null;
17
20
  userId: number | null;
18
- credentialId: number | null;
19
21
  eventTypeId: number | null;
22
+ credentialId: number | null;
20
23
  createdAt: Date | null;
21
24
  updatedAt: Date | null;
22
- integration: string;
23
- externalId: string;
24
- primaryEmail: string | null;
25
25
  delegationCredentialId: string | null;
26
26
  domainWideDelegationCredentialId: string | null;
27
27
  } | null;
28
28
  } & {
29
- name: string | null;
30
29
  id: number;
31
- role: import('../../../prisma-client').$Enums.UserPermissionRole;
32
- metadata: import('../../../prisma-client').Prisma.JsonValue;
33
30
  username: string | null;
31
+ name: string | null;
34
32
  email: string;
33
+ emailVerified: Date | null;
35
34
  bio: string | null;
36
- theme: string | null;
37
- verified: boolean | null;
38
- locked: boolean;
39
- organizationId: number | null;
40
- locale: string | null;
35
+ avatarUrl: string | null;
41
36
  timeZone: string;
37
+ weekStart: string;
42
38
  startTime: number;
43
39
  endTime: number;
44
- creationSource: import('../../../prisma-client').$Enums.CreationSource | null;
45
- movedToProfileId: number | null;
46
- emailVerified: Date | null;
47
- avatarUrl: string | null;
48
- weekStart: string;
49
40
  bufferTime: number;
50
41
  hideBranding: boolean;
42
+ theme: string | null;
51
43
  appTheme: string | null;
52
44
  createdDate: Date;
53
45
  trialEndsAt: Date | null;
54
46
  lastActiveAt: Date | null;
55
47
  defaultScheduleId: number | null;
56
48
  completedOnboarding: boolean;
49
+ locale: string | null;
57
50
  timeFormat: number | null;
58
51
  twoFactorSecret: string | null;
59
52
  twoFactorEnabled: boolean;
@@ -66,11 +59,18 @@ export declare const roundRobinManualReassignment: ({ bookingId, newUserId, orgI
66
59
  allowDynamicBooking: boolean | null;
67
60
  allowSEOIndexing: boolean | null;
68
61
  receiveMonthlyDigestEmail: boolean | null;
62
+ metadata: import('../../../prisma-client').Prisma.JsonValue | null;
63
+ verified: boolean | null;
64
+ role: import('../../../prisma-client').$Enums.UserPermissionRole;
69
65
  disableImpersonation: boolean;
66
+ organizationId: number | null;
67
+ locked: boolean;
68
+ movedToProfileId: number | null;
70
69
  isPlatformManaged: boolean;
71
70
  smsLockState: import('../../../prisma-client').$Enums.SMSLockState;
72
71
  smsLockReviewedByAdmin: boolean;
73
72
  referralLinkId: string | null;
73
+ creationSource: import('../../../prisma-client').$Enums.CreationSource | null;
74
74
  whitelistWorkflows: boolean;
75
75
  }) | null;
76
76
  title: string;
@@ -78,13 +78,13 @@ export declare const roundRobinManualReassignment: ({ bookingId, newUserId, orgI
78
78
  description: string | null;
79
79
  location: string | null;
80
80
  attendees: {
81
- name: string;
82
81
  id: number;
83
82
  email: string;
84
- locale: string | null;
83
+ name: string;
85
84
  timeZone: string;
86
- bookingId: number | null;
87
85
  phoneNumber: string | null;
86
+ locale: string | null;
87
+ bookingId: number | null;
88
88
  noShow: boolean | null;
89
89
  }[];
90
90
  uid: string;
@@ -92,14 +92,14 @@ export declare const roundRobinManualReassignment: ({ bookingId, newUserId, orgI
92
92
  eventTypeId: number | null;
93
93
  destinationCalendar: {
94
94
  id: number;
95
+ integration: string;
96
+ externalId: string;
97
+ primaryEmail: string | null;
95
98
  userId: number | null;
96
- credentialId: number | null;
97
99
  eventTypeId: number | null;
100
+ credentialId: number | null;
98
101
  createdAt: Date | null;
99
102
  updatedAt: Date | null;
100
- integration: string;
101
- externalId: string;
102
- primaryEmail: string | null;
103
103
  delegationCredentialId: string | null;
104
104
  domainWideDelegationCredentialId: string | null;
105
105
  } | null;
@@ -112,16 +112,16 @@ export declare const roundRobinManualReassignment: ({ bookingId, newUserId, orgI
112
112
  id: number;
113
113
  type: string;
114
114
  uid: string;
115
- credentialId: number | null;
116
- deleted: boolean | null;
117
- bookingId: number | null;
118
- thirdPartyRecurringEventId: string | null;
119
- delegationCredentialId: string | null;
120
- domainWideDelegationCredentialId: string | null;
121
115
  meetingId: string | null;
116
+ thirdPartyRecurringEventId: string | null;
122
117
  meetingPassword: string | null;
123
118
  meetingUrl: string | null;
119
+ bookingId: number | null;
124
120
  externalCalendarId: string | null;
121
+ deleted: boolean | null;
122
+ credentialId: number | null;
123
+ delegationCredentialId: string | null;
124
+ domainWideDelegationCredentialId: string | null;
125
125
  }[];
126
126
  }>;
127
127
  export declare function handleWorkflowsUpdate({ booking, newUser, evt, eventType, orgId, }: {
@@ -1 +1 @@
1
- {"version":3,"file":"roundRobinManualReassignment.d.ts","sourceRoot":"","sources":["../../../../../../../features/ee/round-robin/roundRobinManualReassignment.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oEAAoE,CAAC;AAsBzG,OAAO,KAAK,EAAqB,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AACxF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAG5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAUjE,eAAO,MAAM,4BAA4B,GAAU,uGAQhD;IACD,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;CAC7C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2VA,CAAC;AAEF,wBAAsB,qBAAqB,CAAC,EAC1C,OAAO,EACP,OAAO,EACP,GAAG,EACH,SAAS,EACT,KAAK,GACN,EAAE;IACD,OAAO,EAAE,mBAAmB,CAAC;IAC7B,OAAO,EAAE;QACP,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KACxB,CAAC;IACF,GAAG,EAAE,aAAa,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC,CAAC;IAC3D,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB,iBA2IA;AAED,eAAe,4BAA4B,CAAC"}
1
+ {"version":3,"file":"roundRobinManualReassignment.d.ts","sourceRoot":"","sources":["../../../../../../../features/ee/round-robin/roundRobinManualReassignment.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oEAAoE,CAAC;AAsBzG,OAAO,KAAK,EAAqB,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AACxF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAG5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAUjE,eAAO,MAAM,4BAA4B,GAAU,uGAQhD;IACD,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;CAC7C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4VA,CAAC;AAEF,wBAAsB,qBAAqB,CAAC,EAC1C,OAAO,EACP,OAAO,EACP,GAAG,EACH,SAAS,EACT,KAAK,GACN,EAAE;IACD,OAAO,EAAE,mBAAmB,CAAC;IAC7B,OAAO,EAAE;QACP,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KACxB,CAAC;IACF,GAAG,EAAE,aAAa,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC,CAAC;IAC3D,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB,iBA2IA;AAED,eAAe,4BAA4B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"roundRobinReassignment.d.ts","sourceRoot":"","sources":["../../../../../../../features/ee/round-robin/roundRobinReassignment.ts"],"names":[],"mappings":"AAgCA,OAAO,KAAK,EAAqB,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AASxF,eAAO,MAAM,sBAAsB,GAAU,4EAM1C;IACD,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C,cAAc,EAAE,MAAM,CAAC;CACxB;;;;;;;EA4ZA,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"roundRobinReassignment.d.ts","sourceRoot":"","sources":["../../../../../../../features/ee/round-robin/roundRobinReassignment.ts"],"names":[],"mappings":"AAgCA,OAAO,KAAK,EAAqB,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AASxF,eAAO,MAAM,sBAAsB,GAAU,4EAM1C;IACD,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C,cAAc,EAAE,MAAM,CAAC;CACxB;;;;;;;EA6ZA,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"scheduleEmailReminders.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/workflows/api/scheduleEmailReminders.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAkC3C,wBAAsB,OAAO,CAAC,GAAG,EAAE,WAAW;;IAqd7C"}
1
+ {"version":3,"file":"scheduleEmailReminders.d.ts","sourceRoot":"","sources":["../../../../../../../../features/ee/workflows/api/scheduleEmailReminders.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAkC3C,wBAAsB,OAAO,CAAC,GAAG,EAAE,WAAW;;IAmd7C"}
@@ -1 +1 @@
1
- {"version":3,"file":"emailReminderManager.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/workflows/lib/reminders/emailReminderManager.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EACL,eAAe,EAEf,iBAAiB,EACjB,qBAAqB,EACtB,MAAM,sBAAsB,CAAC;AAK9B,OAAO,KAAK,EAAyB,WAAW,EAAqB,MAAM,sBAAsB,CAAC;AAQlG,KAAK,2BAA2B,GAAG,OAAO,CACxC,eAAe,EACf,YAAY,GAAG,gBAAgB,GAAG,eAAe,CAClD,CAAC;AAEF,MAAM,WAAW,oBAAoB;IACnC,GAAG,EAAE,WAAW,CAAC;IACjB,YAAY,EAAE,qBAAqB,CAAC;IACpC,QAAQ,EAAE;QACR,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;QACpB,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC;KAC3B,CAAC;IACF,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,UAAU,yBAA0B,SAAQ,oBAAoB;IAC9D,GAAG,EAAE,WAAW,CAAC;IACjB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,MAAM,EAAE,2BAA2B,CAAC;IACpC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;CACzB;AAED,eAAO,MAAM,qBAAqB,GAAU,MAAM,yBAAyB,kBA+O1E,CAAC;AAEF,eAAO,MAAM,4BAA4B,GAAU,YAAY,MAAM,kBAuDpE,CAAC"}
1
+ {"version":3,"file":"emailReminderManager.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/ee/workflows/lib/reminders/emailReminderManager.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EACL,eAAe,EAEf,iBAAiB,EACjB,qBAAqB,EACtB,MAAM,sBAAsB,CAAC;AAK9B,OAAO,KAAK,EAAyB,WAAW,EAAqB,MAAM,sBAAsB,CAAC;AAQlG,KAAK,2BAA2B,GAAG,OAAO,CACxC,eAAe,EACf,YAAY,GAAG,gBAAgB,GAAG,eAAe,CAClD,CAAC;AAEF,MAAM,WAAW,oBAAoB;IACnC,GAAG,EAAE,WAAW,CAAC;IACjB,YAAY,EAAE,qBAAqB,CAAC;IACpC,QAAQ,EAAE;QACR,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;QACpB,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC;KAC3B,CAAC;IACF,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,UAAU,yBAA0B,SAAQ,oBAAoB;IAC9D,GAAG,EAAE,WAAW,CAAC;IACjB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,MAAM,EAAE,2BAA2B,CAAC;IACpC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;CACzB;AAED,eAAO,MAAM,qBAAqB,GAAU,MAAM,yBAAyB,kBA8O1E,CAAC;AAEF,eAAO,MAAM,4BAA4B,GAAU,YAAY,MAAM,kBAuDpE,CAAC"}
@@ -1,18 +1,18 @@
1
1
  export declare class WorkflowReminderRepository {
2
- static getFutureScheduledAttendeeSMSReminders(phoneNumber: string): import("@prisma/extension-accelerate").AcceleratePromise<{
3
- method: import('../../../../../prisma-client').$Enums.WorkflowMethods;
2
+ static getFutureScheduledAttendeeSMSReminders(phoneNumber: string): import('../../../../../prisma-client').Prisma.PrismaPromise<{
4
3
  id: number;
5
- cancelled: boolean | null;
6
- bookingUid: string | null;
7
4
  uuid: string | null;
8
- referenceId: string | null;
5
+ bookingUid: string | null;
6
+ method: import('../../../../../prisma-client').$Enums.WorkflowMethods;
9
7
  scheduledDate: Date;
8
+ referenceId: string | null;
10
9
  scheduled: boolean;
11
10
  workflowStepId: number | null;
11
+ cancelled: boolean | null;
12
12
  seatReferenceId: string | null;
13
13
  isMandatoryReminder: boolean | null;
14
14
  retryCount: number;
15
15
  }[]>;
16
- static deleteWorkflowReminders(ids: number[]): never[] | import('../../../../../prisma-client/runtime/library').PrismaPromise<import('../../../../../prisma-client/runtime/library').GetBatchResult>;
16
+ static deleteWorkflowReminders(ids: number[]): never[] | import('../../../../../prisma-client').Prisma.PrismaPromise<import('../../../../../prisma-client').Prisma.BatchPayload>;
17
17
  }
18
18
  //# sourceMappingURL=workflowReminder.d.ts.map
@@ -0,0 +1,7 @@
1
+ type AddVerifiedEmailProps = {
2
+ username?: string;
3
+ showToast: (message: string, variant: "success" | "warning" | "error") => void;
4
+ };
5
+ declare const AddVerifiedEmail: ({ username, showToast }: AddVerifiedEmailProps) => JSX.Element;
6
+ export default AddVerifiedEmail;
7
+ //# sourceMappingURL=AddVerifiedEmail.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AddVerifiedEmail.d.ts","sourceRoot":"","sources":["../../../../../../../features/eventtypes/components/AddVerifiedEmail.tsx"],"names":[],"mappings":"AAcA,KAAK,qBAAqB,GAAG;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,KAAK,IAAI,CAAC;CAChF,CAAC;AAEF,QAAA,MAAM,gBAAgB,GAAI,yBAAyB,qBAAqB,gBAoFvE,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { FC } from "react";
2
+ import type { EventNameObjectType } from '../../../lib/eventNaming';
2
3
  import type { InputClassNames } from '../../../lib/types';
3
- import type { EventNameObjectType } from '../../../../../lib/event';
4
4
  export type CustomEventTypeModalClassNames = {
5
5
  eventNameInput?: InputClassNames;
6
6
  availableVariables?: {
@@ -1 +1 @@
1
- {"version":3,"file":"CustomEventTypeModal.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/eventtypes/components/tabs/advanced/CustomEventTypeModal.tsx"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OAAO,CAAC;IAC1B,gBAAgB,CAAC,EAAE,8BAA8B,CAAC;CACnD;AAED,QAAA,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CAqCvD,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"CustomEventTypeModal.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/eventtypes/components/tabs/advanced/CustomEventTypeModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAMhC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6CAA6C,CAAC;AAEvF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAW7E,MAAM,MAAM,8BAA8B,GAAG;IAC3C,cAAc,CAAC,EAAE,eAAe,CAAC;IACjC,kBAAkB,CAAC,EAAE;QACnB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,YAAY,CAAC,EAAE;YACb,SAAS,CAAC,EAAE,MAAM,CAAC;YACnB,YAAY,CAAC,EAAE,MAAM,CAAC;YACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;SAC9B,CAAC;QACF,mBAAmB,CAAC,EAAE,MAAM,CAAC;QAC7B,gBAAgB,CAAC,EAAE;YACjB,SAAS,CAAC,EAAE,MAAM,CAAC;YACnB,SAAS,CAAC,EAAE,MAAM,CAAC;YACnB,UAAU,CAAC,EAAE,MAAM,CAAC;SACrB,CAAC;KACH,CAAC;IACF,cAAc,CAAC,EAAE;QACf,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B,eAAe,CAAC,EAAE;YAChB,SAAS,CAAC,EAAE,MAAM,CAAC;YACnB,SAAS,CAAC,EAAE,MAAM,CAAC;YACnB,SAAS,CAAC,EAAE,MAAM,CAAC;SACpB,CAAC;KACH,CAAC;CACH,CAAC;AAuTF,UAAU,yBAAyB;IACjC,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,KAAK,EAAE,mBAAmB,CAAC;IAC3B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,gBAAgB,CAAC,EAAE,8BAA8B,CAAC;CACnD;AAED,QAAA,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CAqCvD,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"EventAdvancedTab.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/eventtypes/components/tabs/advanced/EventAdvancedTab.tsx"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAEV,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,EACf,wBAAwB,EACzB,MAAM,uCAAuC,CAAC;AAmB/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAgBxD,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAE7E,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,2BAA2B,CAAC;AAEzF,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,kCAAkC,CAAC;AAG7F,MAAM,MAAM,gCAAgC,GAAG;IAC7C,mBAAmB,CAAC,EAAE,gBAAgB,CAAC;IACvC,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,oBAAoB,CAAC,EAAE,8BAA8B,CAAC;IACtD,2BAA2B,CAAC,EAAE,wBAAwB,GAAG;QACvD,WAAW,CAAC,EAAE;YACZ,SAAS,CAAC,EAAE,MAAM,CAAC;YACnB,MAAM,CAAC,EAAE,MAAM,CAAC;YAChB,iBAAiB,CAAC,EAAE,MAAM,CAAC;SAC5B,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,OAAO,CAAC;IACxB,SAAS,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,KAAK,IAAI,CAAC;IAC/E,gBAAgB,CAAC,EAAE,gCAAgC,CAAC;CACrD,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,sBAAsB,GAAG;IAC3D,cAAc,EAAE;QACd,IAAI,CAAC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC,WAAW,CAAC,CAAC,oBAAoB,CAAC,CAAC;QAClE,SAAS,EAAE,OAAO,CAAC;QACnB,KAAK,EAAE,OAAO,CAAC;KAChB,CAAC;IACF,wBAAwB,EAAE,OAAO,CAAC;IAClC,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;CAC3B,CAAC;AA8QF,eAAO,MAAM,gBAAgB,GAAI,kIAU9B,qBAAqB,gBAk+BvB,CAAC"}
1
+ {"version":3,"file":"EventAdvancedTab.d.ts","sourceRoot":"","sources":["../../../../../../../../../features/eventtypes/components/tabs/advanced/EventAdvancedTab.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAEV,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,EACf,wBAAwB,EACzB,MAAM,uCAAuC,CAAC;AAiB/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAiBxD,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAE7E,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,2BAA2B,CAAC;AAEzF,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,kCAAkC,CAAC;AAG7F,MAAM,MAAM,gCAAgC,GAAG;IAC7C,mBAAmB,CAAC,EAAE,gBAAgB,CAAC;IACvC,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,oBAAoB,CAAC,EAAE,8BAA8B,CAAC;IACtD,2BAA2B,CAAC,EAAE,wBAAwB,GAAG;QACvD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C,IAAI,CAAC,CAAC,KAAK,CAAC,EACpC,OAAO,GAAG,iBAAiB,GAAG,OAAO,GAAG,sBAAsB,GAAG,UAAU,CAC5E,CACF,CAAC;IACF,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,SAAS,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,KAAK,IAAI,CAAC;IAC/E,gBAAgB,CAAC,EAAE,gCAAgC,CAAC;CACrD,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,sBAAsB,GAAG;IAC3D,cAAc,EAAE;QACd,IAAI,CAAC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC,WAAW,CAAC,CAAC,oBAAoB,CAAC,CAAC;QAClE,SAAS,EAAE,OAAO,CAAC;QACnB,KAAK,EAAE,OAAO,CAAC;KAChB,CAAC;IACF,wBAAwB,EAAE,OAAO,CAAC;IAClC,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;CAC3B,CAAC;AA8QF,eAAO,MAAM,gBAAgB,GAAI,kIAU9B,qBAAqB,gBAm+BvB,CAAC"}
@@ -0,0 +1,28 @@
1
+ import type { TFunction } from "i18next";
2
+ import z from "zod";
3
+ import type { Prisma } from '../../../prisma-client';
4
+ export declare const nameObjectSchema: z.ZodObject<{
5
+ firstName: z.ZodString;
6
+ lastName: z.ZodOptional<z.ZodString>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ firstName: string;
9
+ lastName?: string | undefined;
10
+ }, {
11
+ firstName: string;
12
+ lastName?: string | undefined;
13
+ }>;
14
+ export type EventNameObjectType = {
15
+ attendeeName: z.infer<typeof nameObjectSchema> | string;
16
+ eventType: string;
17
+ eventName?: string | null;
18
+ teamName?: string | null;
19
+ host: string;
20
+ location?: string | null;
21
+ eventDuration: number;
22
+ bookingFields?: Prisma.JsonObject | null;
23
+ t: TFunction;
24
+ };
25
+ export declare function getEventName(eventNameObj: EventNameObjectType, forAttendeeView?: boolean): string;
26
+ export declare function updateHostInEventName(eventName: string, oldHost: string, newHost: string): string;
27
+ export declare const validateCustomEventName: (value: string, bookingFields?: Prisma.JsonObject | null) => string | true;
28
+ //# sourceMappingURL=eventNaming.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eventNaming.d.ts","sourceRoot":"","sources":["../../../../../../../features/eventtypes/lib/eventNaming.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAEpD,eAAO,MAAM,gBAAgB;;;;;;;;;EAG3B,CAAC;AASH,MAAM,MAAM,mBAAmB,GAAG;IAChC,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,GAAG,MAAM,CAAC;IACxD,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC,UAAU,GAAG,IAAI,CAAC;IACzC,CAAC,EAAE,SAAS,CAAC;CACd,CAAC;AAEF,wBAAgB,YAAY,CAAC,YAAY,EAAE,mBAAmB,EAAE,eAAe,UAAQ,UAkFtF;AAED,wBAAgB,qBAAqB,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,UAqDxF;AAED,eAAO,MAAM,uBAAuB,GAAI,OAAO,MAAM,EAAE,gBAAgB,MAAM,CAAC,UAAU,GAAG,IAAI,kBAkC9F,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=eventNaming.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eventNaming.test.d.ts","sourceRoot":"","sources":["../../../../../../../features/eventtypes/lib/eventNaming.test.ts"],"names":[],"mappings":""}
@@ -284,14 +284,14 @@ export declare const getPublicEvent: (username: string, eventSlug: string, isTea
284
284
  email: string;
285
285
  teams: {
286
286
  id: number;
287
- role: import('../../../prisma-client').$Enums.MembershipRole;
288
- userId: number;
289
287
  teamId: number;
290
- createdAt: Date | null;
291
- updatedAt: Date | null;
292
- disableImpersonation: boolean;
288
+ userId: number;
293
289
  accepted: boolean;
290
+ role: import('../../../prisma-client').$Enums.MembershipRole;
294
291
  customRoleId: string | null;
292
+ disableImpersonation: boolean;
293
+ createdAt: Date | null;
294
+ updatedAt: Date | null;
295
295
  }[];
296
296
  bio: string | null;
297
297
  theme: string | null;
@@ -419,10 +419,10 @@ export declare const getPublicEvent: (username: string, eventSlug: string, isTea
419
419
  };
420
420
  };
421
421
  id: number;
422
- username: string;
423
422
  uid: string;
424
- organizationId: number;
425
423
  userId: number;
424
+ organizationId: number;
425
+ username: string;
426
426
  createdAt: Date & string;
427
427
  updatedAt: Date & string;
428
428
  upId: string;
@@ -433,14 +433,14 @@ export declare const getPublicEvent: (username: string, eventSlug: string, isTea
433
433
  email: string;
434
434
  teams: {
435
435
  id: number;
436
- role: import('../../../prisma-client').$Enums.MembershipRole;
437
- userId: number;
438
436
  teamId: number;
439
- createdAt: Date | null;
440
- updatedAt: Date | null;
441
- disableImpersonation: boolean;
437
+ userId: number;
442
438
  accepted: boolean;
439
+ role: import('../../../prisma-client').$Enums.MembershipRole;
443
440
  customRoleId: string | null;
441
+ disableImpersonation: boolean;
442
+ createdAt: Date | null;
443
+ updatedAt: Date | null;
444
444
  }[];
445
445
  bio: string | null;
446
446
  theme: string | null;
@@ -485,14 +485,14 @@ export declare const getPublicEvent: (username: string, eventSlug: string, isTea
485
485
  email: string;
486
486
  teams: {
487
487
  id: number;
488
- role: import('../../../prisma-client').$Enums.MembershipRole;
489
- userId: number;
490
488
  teamId: number;
491
- createdAt: Date | null;
492
- updatedAt: Date | null;
493
- disableImpersonation: boolean;
489
+ userId: number;
494
490
  accepted: boolean;
491
+ role: import('../../../prisma-client').$Enums.MembershipRole;
495
492
  customRoleId: string | null;
493
+ disableImpersonation: boolean;
494
+ createdAt: Date | null;
495
+ updatedAt: Date | null;
496
496
  }[];
497
497
  bio: string | null;
498
498
  theme: string | null;
@@ -620,10 +620,10 @@ export declare const getPublicEvent: (username: string, eventSlug: string, isTea
620
620
  };
621
621
  };
622
622
  id: number;
623
- username: string;
624
623
  uid: string;
625
- organizationId: number;
626
624
  userId: number;
625
+ organizationId: number;
626
+ username: string;
627
627
  createdAt: Date & string;
628
628
  updatedAt: Date & string;
629
629
  upId: string;
@@ -634,14 +634,14 @@ export declare const getPublicEvent: (username: string, eventSlug: string, isTea
634
634
  email: string;
635
635
  teams: {
636
636
  id: number;
637
- role: import('../../../prisma-client').$Enums.MembershipRole;
638
- userId: number;
639
637
  teamId: number;
640
- createdAt: Date | null;
641
- updatedAt: Date | null;
642
- disableImpersonation: boolean;
638
+ userId: number;
643
639
  accepted: boolean;
640
+ role: import('../../../prisma-client').$Enums.MembershipRole;
644
641
  customRoleId: string | null;
642
+ disableImpersonation: boolean;
643
+ createdAt: Date | null;
644
+ updatedAt: Date | null;
645
645
  }[];
646
646
  bio: string | null;
647
647
  theme: string | null;
@@ -1675,7 +1675,6 @@ export declare const getPublicEvent: (username: string, eventSlug: string, isTea
1675
1675
  instantMeetingParameters: string[];
1676
1676
  aiPhoneCallConfig: {
1677
1677
  id: number;
1678
- enabled: boolean;
1679
1678
  eventTypeId: number;
1680
1679
  templateType: string;
1681
1680
  schedulerName: string | null;
@@ -1685,6 +1684,7 @@ export declare const getPublicEvent: (username: string, eventSlug: string, isTea
1685
1684
  guestName: string | null;
1686
1685
  guestEmail: string | null;
1687
1686
  guestCompany: string | null;
1687
+ enabled: boolean;
1688
1688
  beginMessage: string | null;
1689
1689
  llmId: string | null;
1690
1690
  } | null;
@@ -1791,13 +1791,13 @@ export declare const getPublicEvent: (username: string, eventSlug: string, isTea
1791
1791
  workflow: {
1792
1792
  steps: {
1793
1793
  id: number;
1794
- template: import('../../../prisma-client').$Enums.WorkflowTemplates;
1795
- action: import('../../../prisma-client').$Enums.WorkflowActions;
1796
1794
  stepNumber: number;
1795
+ action: import('../../../prisma-client').$Enums.WorkflowActions;
1797
1796
  workflowId: number;
1798
1797
  sendTo: string | null;
1799
1798
  reminderBody: string | null;
1800
1799
  emailSubject: string | null;
1800
+ template: import('../../../prisma-client').$Enums.WorkflowTemplates;
1801
1801
  numberRequired: boolean | null;
1802
1802
  sender: string | null;
1803
1803
  numberVerificationPending: boolean;
@@ -1806,20 +1806,20 @@ export declare const getPublicEvent: (username: string, eventSlug: string, isTea
1806
1806
  agentId: string | null;
1807
1807
  }[];
1808
1808
  } & {
1809
- name: string;
1810
1809
  id: number;
1811
- time: number | null;
1812
- trigger: import('../../../prisma-client').$Enums.WorkflowTriggerEvents;
1813
- userId: number | null;
1814
1810
  position: number;
1811
+ name: string;
1812
+ userId: number | null;
1815
1813
  teamId: number | null;
1816
- timeUnit: import('../../../prisma-client').$Enums.TimeUnit | null;
1817
1814
  isActiveOnAll: boolean;
1815
+ trigger: import('../../../prisma-client').$Enums.WorkflowTriggerEvents;
1816
+ time: number | null;
1817
+ timeUnit: import('../../../prisma-client').$Enums.TimeUnit | null;
1818
1818
  };
1819
1819
  } & {
1820
1820
  id: number;
1821
- eventTypeId: number;
1822
1821
  workflowId: number;
1822
+ eventTypeId: number;
1823
1823
  })[];
1824
1824
  currency: string;
1825
1825
  slug: string;
@@ -50,13 +50,13 @@ export declare function getTeamEventType(teamSlug: string, meetingSlug: string,
50
50
  workflow: {
51
51
  steps: {
52
52
  id: number;
53
- template: import('../../../prisma-client').$Enums.WorkflowTemplates;
54
- action: import('../../../prisma-client').$Enums.WorkflowActions;
55
53
  stepNumber: number;
54
+ action: import('../../../prisma-client').$Enums.WorkflowActions;
56
55
  workflowId: number;
57
56
  sendTo: string | null;
58
57
  reminderBody: string | null;
59
58
  emailSubject: string | null;
59
+ template: import('../../../prisma-client').$Enums.WorkflowTemplates;
60
60
  numberRequired: boolean | null;
61
61
  sender: string | null;
62
62
  numberVerificationPending: boolean;
@@ -65,20 +65,20 @@ export declare function getTeamEventType(teamSlug: string, meetingSlug: string,
65
65
  agentId: string | null;
66
66
  }[];
67
67
  } & {
68
- name: string;
69
68
  id: number;
70
- time: number | null;
71
- trigger: import('../../../prisma-client').$Enums.WorkflowTriggerEvents;
72
- userId: number | null;
73
69
  position: number;
70
+ name: string;
71
+ userId: number | null;
74
72
  teamId: number | null;
75
- timeUnit: import('../../../prisma-client').$Enums.TimeUnit | null;
76
73
  isActiveOnAll: boolean;
74
+ trigger: import('../../../prisma-client').$Enums.WorkflowTriggerEvents;
75
+ time: number | null;
76
+ timeUnit: import('../../../prisma-client').$Enums.TimeUnit | null;
77
77
  };
78
78
  } & {
79
79
  id: number;
80
- eventTypeId: number;
81
80
  workflowId: number;
81
+ eventTypeId: number;
82
82
  })[];
83
83
  hosts: {
84
84
  user: {
@@ -133,12 +133,12 @@ export declare function getTeamEventType(teamSlug: string, meetingSlug: string,
133
133
  rescheduleWithSameRoundRobinHost: boolean;
134
134
  customInputs: {
135
135
  id: number;
136
- type: import('../../../prisma-client').$Enums.EventTypeCustomInputType;
136
+ eventTypeId: number;
137
137
  label: string;
138
+ type: import('../../../prisma-client').$Enums.EventTypeCustomInputType;
139
+ options: import('../../../prisma-client').Prisma.JsonValue | null;
138
140
  required: boolean;
139
141
  placeholder: string;
140
- options: import('../../../prisma-client').Prisma.JsonValue;
141
- eventTypeId: number;
142
142
  }[];
143
143
  parent: {
144
144
  team: {
@@ -153,7 +153,6 @@ export declare function getTeamEventType(teamSlug: string, meetingSlug: string,
153
153
  } | null;
154
154
  aiPhoneCallConfig: {
155
155
  id: number;
156
- enabled: boolean;
157
156
  eventTypeId: number;
158
157
  templateType: string;
159
158
  schedulerName: string | null;
@@ -163,6 +162,7 @@ export declare function getTeamEventType(teamSlug: string, meetingSlug: string,
163
162
  guestName: string | null;
164
163
  guestEmail: string | null;
165
164
  guestCompany: string | null;
165
+ enabled: boolean;
166
166
  beginMessage: string | null;
167
167
  llmId: string | null;
168
168
  } | null;