@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
@@ -27,82 +27,82 @@ export declare const createRecurringBooking: (data: RecurringBookingCreateBody[]
27
27
  paymentRequired: boolean;
28
28
  isDryRun: boolean;
29
29
  payment?: {
30
- success: boolean;
31
- data: import('../../../prisma-client').Prisma.JsonValue;
32
30
  id: number;
33
- refunded: boolean;
34
- currency: string;
35
31
  uid: string;
36
- paymentOption: import('../../../prisma-client').$Enums.PaymentOption | null;
37
- bookingId: number;
38
- externalId: string;
39
32
  appId: string | null;
33
+ bookingId: number;
40
34
  amount: number;
41
35
  fee: number;
36
+ currency: string;
37
+ success: boolean;
38
+ refunded: boolean;
39
+ data: import('../../../prisma-client').Prisma.JsonValue;
40
+ externalId: string;
41
+ paymentOption: import('../../../prisma-client').$Enums.PaymentOption | null;
42
42
  }[] | undefined;
43
43
  attendees?: {
44
- name: string;
45
44
  id: number;
46
45
  email: string;
47
- locale: string | null;
46
+ name: string;
48
47
  timeZone: string;
49
- bookingId: number | null;
50
48
  phoneNumber: string | null;
49
+ locale: string | null;
50
+ bookingId: number | null;
51
51
  noShow: boolean | null;
52
52
  }[] | undefined;
53
53
  references?: {
54
54
  id: number;
55
55
  type: string;
56
56
  uid: string;
57
- credentialId: number | null;
58
- deleted: boolean | null;
59
- bookingId: number | null;
60
- thirdPartyRecurringEventId: string | null;
61
- delegationCredentialId: string | null;
62
- domainWideDelegationCredentialId: string | null;
63
57
  meetingId: string | null;
58
+ thirdPartyRecurringEventId: string | null;
64
59
  meetingPassword: string | null;
65
60
  meetingUrl: string | null;
61
+ bookingId: number | null;
66
62
  externalCalendarId: string | null;
63
+ deleted: boolean | null;
64
+ credentialId: number | null;
65
+ delegationCredentialId: string | null;
66
+ domainWideDelegationCredentialId: string | null;
67
67
  }[] | undefined;
68
68
  id?: number | undefined;
69
- title?: string | undefined;
70
- metadata?: import('../../../prisma-client').Prisma.JsonValue | undefined;
71
- status?: import('../../../prisma-client').$Enums.BookingStatus | undefined;
72
- description?: string | null | undefined;
73
- paid?: boolean | undefined;
74
- location?: string | null | undefined;
75
- rescheduled?: boolean | null | undefined;
76
- rating?: number | null | undefined;
77
69
  uid?: string | undefined;
70
+ idempotencyKey?: string | null | undefined;
78
71
  userId?: number | null | undefined;
72
+ userPrimaryEmail?: string | null | undefined;
79
73
  eventTypeId?: number | null | undefined;
74
+ title?: string | undefined;
75
+ description?: string | null | undefined;
80
76
  customInputs?: import('../../../prisma-client').Prisma.JsonValue | undefined;
81
- smsReminderNumber?: string | null | undefined;
82
- recurringEventId?: string | null | undefined;
83
- cancellationReason?: string | null | undefined;
84
- cancelledBy?: string | null | undefined;
85
- iCalUID?: string | null | undefined;
86
77
  responses?: import('../../../prisma-client').Prisma.JsonValue | undefined;
87
78
  startTime?: Date | undefined;
88
79
  endTime?: Date | undefined;
89
- idempotencyKey?: string | null | undefined;
90
- userPrimaryEmail?: string | null | undefined;
80
+ location?: string | null | undefined;
91
81
  createdAt?: Date | undefined;
92
82
  updatedAt?: Date | null | undefined;
83
+ status?: import('../../../prisma-client').$Enums.BookingStatus | undefined;
84
+ paid?: boolean | undefined;
93
85
  destinationCalendarId?: number | null | undefined;
86
+ cancellationReason?: string | null | undefined;
94
87
  rejectionReason?: string | null | undefined;
95
88
  reassignReason?: string | null | undefined;
96
89
  reassignById?: number | null | undefined;
97
90
  dynamicEventSlugRef?: string | null | undefined;
98
91
  dynamicGroupSlugRef?: string | null | undefined;
92
+ rescheduled?: boolean | null | undefined;
99
93
  fromReschedule?: string | null | undefined;
94
+ recurringEventId?: string | null | undefined;
95
+ smsReminderNumber?: string | null | undefined;
100
96
  scheduledJobs?: string[] | undefined;
97
+ metadata?: import('../../../prisma-client').Prisma.JsonValue | undefined;
101
98
  isRecorded?: boolean | undefined;
99
+ iCalUID?: string | null | undefined;
102
100
  iCalSequence?: number | undefined;
101
+ rating?: number | null | undefined;
103
102
  ratingFeedback?: string | null | undefined;
104
103
  noShowHost?: boolean | null | undefined;
105
104
  oneTimePassword?: string | null | undefined;
105
+ cancelledBy?: string | null | undefined;
106
106
  rescheduledBy?: string | null | undefined;
107
107
  creationSource?: import('../../../prisma-client').$Enums.CreationSource | null | undefined;
108
108
  appsStatus?: import("@calcom/types/Calendar").AppsStatus[];
@@ -143,82 +143,82 @@ export declare const createRecurringBooking: (data: RecurringBookingCreateBody[]
143
143
  videoCallUrl: any;
144
144
  seatReferenceUid: string | undefined;
145
145
  payment: {
146
- success: boolean;
147
- data: import('../../../prisma-client').Prisma.JsonValue;
148
146
  id: number;
149
- refunded: boolean;
150
- currency: string;
151
147
  uid: string;
152
- paymentOption: import('../../../prisma-client').$Enums.PaymentOption | null;
153
- bookingId: number;
154
- externalId: string;
155
148
  appId: string | null;
149
+ bookingId: number;
156
150
  amount: number;
157
151
  fee: number;
152
+ currency: string;
153
+ success: boolean;
154
+ refunded: boolean;
155
+ data: import('../../../prisma-client').Prisma.JsonValue;
156
+ externalId: string;
157
+ paymentOption: import('../../../prisma-client').$Enums.PaymentOption | null;
158
158
  }[];
159
159
  attendees: {
160
- name: string;
161
160
  id: number;
162
161
  email: string;
163
- locale: string | null;
162
+ name: string;
164
163
  timeZone: string;
165
- bookingId: number | null;
166
164
  phoneNumber: string | null;
165
+ locale: string | null;
166
+ bookingId: number | null;
167
167
  noShow: boolean | null;
168
168
  }[];
169
169
  references: {
170
170
  id: number;
171
171
  type: string;
172
172
  uid: string;
173
- credentialId: number | null;
174
- deleted: boolean | null;
175
- bookingId: number | null;
176
- thirdPartyRecurringEventId: string | null;
177
- delegationCredentialId: string | null;
178
- domainWideDelegationCredentialId: string | null;
179
173
  meetingId: string | null;
174
+ thirdPartyRecurringEventId: string | null;
180
175
  meetingPassword: string | null;
181
176
  meetingUrl: string | null;
177
+ bookingId: number | null;
182
178
  externalCalendarId: string | null;
179
+ deleted: boolean | null;
180
+ credentialId: number | null;
181
+ delegationCredentialId: string | null;
182
+ domainWideDelegationCredentialId: string | null;
183
183
  }[];
184
184
  id: number;
185
- title: string;
186
- metadata: import('../../../prisma-client').Prisma.JsonValue;
187
- status: import('../../../prisma-client').$Enums.BookingStatus;
188
- description: string | null;
189
- paid: boolean;
190
- location: string | null;
191
- rescheduled: boolean | null;
192
- rating: number | null;
193
185
  uid: string;
186
+ idempotencyKey: string | null;
194
187
  userId: number | null;
188
+ userPrimaryEmail: string | null;
195
189
  eventTypeId: number | null;
196
- customInputs: import('../../../prisma-client').Prisma.JsonValue;
197
- smsReminderNumber: string | null;
198
- recurringEventId: string | null;
199
- cancellationReason: string | null;
200
- cancelledBy: string | null;
201
- iCalUID: string | null;
202
- responses: import('../../../prisma-client').Prisma.JsonValue;
190
+ title: string;
191
+ description: string | null;
192
+ customInputs: import('../../../prisma-client').Prisma.JsonValue | null;
193
+ responses: import('../../../prisma-client').Prisma.JsonValue | null;
203
194
  startTime: Date;
204
195
  endTime: Date;
205
- idempotencyKey: string | null;
206
- userPrimaryEmail: string | null;
196
+ location: string | null;
207
197
  createdAt: Date;
208
198
  updatedAt: Date | null;
199
+ status: import('../../../prisma-client').$Enums.BookingStatus;
200
+ paid: boolean;
209
201
  destinationCalendarId: number | null;
202
+ cancellationReason: string | null;
210
203
  rejectionReason: string | null;
211
204
  reassignReason: string | null;
212
205
  reassignById: number | null;
213
206
  dynamicEventSlugRef: string | null;
214
207
  dynamicGroupSlugRef: string | null;
208
+ rescheduled: boolean | null;
215
209
  fromReschedule: string | null;
210
+ recurringEventId: string | null;
211
+ smsReminderNumber: string | null;
216
212
  scheduledJobs: string[];
213
+ metadata: import('../../../prisma-client').Prisma.JsonValue | null;
217
214
  isRecorded: boolean;
215
+ iCalUID: string | null;
218
216
  iCalSequence: number;
217
+ rating: number | null;
219
218
  ratingFeedback: string | null;
220
219
  noShowHost: boolean | null;
221
220
  oneTimePassword: string | null;
221
+ cancelledBy: string | null;
222
222
  rescheduledBy: string | null;
223
223
  creationSource: import('../../../prisma-client').$Enums.CreationSource | null;
224
224
  appsStatus?: import("@calcom/types/Calendar").AppsStatus[];
@@ -253,67 +253,67 @@ export declare const createRecurringBooking: (data: RecurringBookingCreateBody[]
253
253
  };
254
254
  paymentRequired: boolean;
255
255
  payment: {
256
- success: boolean;
257
- data: import('../../../prisma-client').Prisma.JsonValue;
258
256
  id: number;
259
- refunded: boolean;
260
- currency: string;
261
257
  uid: string;
262
- paymentOption: import('../../../prisma-client').$Enums.PaymentOption | null;
263
- bookingId: number;
264
- externalId: string;
265
258
  appId: string | null;
259
+ bookingId: number;
266
260
  amount: number;
267
261
  fee: number;
262
+ currency: string;
263
+ success: boolean;
264
+ refunded: boolean;
265
+ data: import('../../../prisma-client').Prisma.JsonValue;
266
+ externalId: string;
267
+ paymentOption: import('../../../prisma-client').$Enums.PaymentOption | null;
268
268
  }[];
269
269
  attendees: {
270
- name: string;
271
270
  id: number;
272
271
  email: string;
273
- locale: string | null;
272
+ name: string;
274
273
  timeZone: string;
275
- bookingId: number | null;
276
274
  phoneNumber: string | null;
275
+ locale: string | null;
276
+ bookingId: number | null;
277
277
  noShow: boolean | null;
278
278
  }[];
279
279
  id: number;
280
- title: string;
281
- metadata: import('../../../prisma-client').Prisma.JsonValue;
282
- status: import('../../../prisma-client').$Enums.BookingStatus;
283
- description: string | null;
284
- paid: boolean;
285
- location: string | null;
286
- rescheduled: boolean | null;
287
- rating: number | null;
288
280
  uid: string;
281
+ idempotencyKey: string | null;
289
282
  userId: number | null;
283
+ userPrimaryEmail: string | null;
290
284
  eventTypeId: number | null;
291
- customInputs: import('../../../prisma-client').Prisma.JsonValue;
292
- smsReminderNumber: string | null;
293
- recurringEventId: string | null;
294
- cancellationReason: string | null;
295
- cancelledBy: string | null;
296
- iCalUID: string | null;
297
- responses: import('../../../prisma-client').Prisma.JsonValue;
285
+ title: string;
286
+ description: string | null;
287
+ customInputs: import('../../../prisma-client').Prisma.JsonValue | null;
288
+ responses: import('../../../prisma-client').Prisma.JsonValue | null;
298
289
  startTime: Date;
299
290
  endTime: Date;
300
- idempotencyKey: string | null;
301
- userPrimaryEmail: string | null;
291
+ location: string | null;
302
292
  createdAt: Date;
303
293
  updatedAt: Date | null;
294
+ status: import('../../../prisma-client').$Enums.BookingStatus;
295
+ paid: boolean;
304
296
  destinationCalendarId: number | null;
297
+ cancellationReason: string | null;
305
298
  rejectionReason: string | null;
306
299
  reassignReason: string | null;
307
300
  reassignById: number | null;
308
301
  dynamicEventSlugRef: string | null;
309
302
  dynamicGroupSlugRef: string | null;
303
+ rescheduled: boolean | null;
310
304
  fromReschedule: string | null;
305
+ recurringEventId: string | null;
306
+ smsReminderNumber: string | null;
311
307
  scheduledJobs: string[];
308
+ metadata: import('../../../prisma-client').Prisma.JsonValue | null;
312
309
  isRecorded: boolean;
310
+ iCalUID: string | null;
313
311
  iCalSequence: number;
312
+ rating: number | null;
314
313
  ratingFeedback: string | null;
315
314
  noShowHost: boolean | null;
316
315
  oneTimePassword: string | null;
316
+ cancelledBy: string | null;
317
317
  rescheduledBy: string | null;
318
318
  creationSource: import('../../../prisma-client').$Enums.CreationSource | null;
319
319
  appsStatus?: import("@calcom/types/Calendar").AppsStatus[];
@@ -28,12 +28,12 @@ declare function getBooking(prisma: PrismaClient, uid: string, isSeatedEvent?: b
28
28
  name: string;
29
29
  email: string;
30
30
  bookingSeat: {
31
- data: Prisma.JsonValue;
32
31
  id: number;
33
- metadata: Prisma.JsonValue;
34
- bookingId: number;
35
32
  referenceUid: string;
33
+ bookingId: number;
36
34
  attendeeId: number;
35
+ data: Prisma.JsonValue | null;
36
+ metadata: Prisma.JsonValue | null;
37
37
  } | null;
38
38
  }[];
39
39
  uid: string;
@@ -60,12 +60,12 @@ export declare const getBookingForReschedule: (uid: string, userId?: number) =>
60
60
  name: string;
61
61
  email: string;
62
62
  bookingSeat: {
63
- data: Prisma.JsonValue;
64
63
  id: number;
65
- metadata: Prisma.JsonValue;
66
- bookingId: number;
67
64
  referenceUid: string;
65
+ bookingId: number;
68
66
  attendeeId: number;
67
+ data: Prisma.JsonValue | null;
68
+ metadata: Prisma.JsonValue | null;
69
69
  } | null;
70
70
  }[];
71
71
  eventType: {
@@ -106,12 +106,12 @@ export declare const getBookingForSeatedEvent: (uid: string) => Promise<(Omit<{
106
106
  name: string;
107
107
  email: string;
108
108
  bookingSeat: {
109
- data: Prisma.JsonValue;
110
109
  id: number;
111
- metadata: Prisma.JsonValue;
112
- bookingId: number;
113
110
  referenceUid: string;
111
+ bookingId: number;
114
112
  attendeeId: number;
113
+ data: Prisma.JsonValue | null;
114
+ metadata: Prisma.JsonValue | null;
115
115
  } | null;
116
116
  }[];
117
117
  uid: string;
@@ -40,34 +40,27 @@ export declare function getBookingToDelete(id: number | undefined, uid: string |
40
40
  }[];
41
41
  hosts: {
42
42
  user: {
43
- name: string | null;
44
43
  id: number;
45
- role: import('../../../prisma-client').$Enums.UserPermissionRole;
46
- metadata: import('../../../prisma-client').Prisma.JsonValue;
47
44
  username: string | null;
45
+ name: string | null;
48
46
  email: string;
47
+ emailVerified: Date | null;
49
48
  bio: string | null;
50
- theme: string | null;
51
- verified: boolean | null;
52
- locked: boolean;
53
- organizationId: number | null;
54
- locale: string | null;
49
+ avatarUrl: string | null;
55
50
  timeZone: string;
51
+ weekStart: string;
56
52
  startTime: number;
57
53
  endTime: number;
58
- creationSource: import('../../../prisma-client').$Enums.CreationSource | null;
59
- movedToProfileId: number | null;
60
- emailVerified: Date | null;
61
- avatarUrl: string | null;
62
- weekStart: string;
63
54
  bufferTime: number;
64
55
  hideBranding: boolean;
56
+ theme: string | null;
65
57
  appTheme: string | null;
66
58
  createdDate: Date;
67
59
  trialEndsAt: Date | null;
68
60
  lastActiveAt: Date | null;
69
61
  defaultScheduleId: number | null;
70
62
  completedOnboarding: boolean;
63
+ locale: string | null;
71
64
  timeFormat: number | null;
72
65
  twoFactorSecret: string | null;
73
66
  twoFactorEnabled: boolean;
@@ -80,11 +73,18 @@ export declare function getBookingToDelete(id: number | undefined, uid: string |
80
73
  allowDynamicBooking: boolean | null;
81
74
  allowSEOIndexing: boolean | null;
82
75
  receiveMonthlyDigestEmail: boolean | null;
76
+ metadata: import('../../../prisma-client').Prisma.JsonValue | null;
77
+ verified: boolean | null;
78
+ role: import('../../../prisma-client').$Enums.UserPermissionRole;
83
79
  disableImpersonation: boolean;
80
+ organizationId: number | null;
81
+ locked: boolean;
82
+ movedToProfileId: number | null;
84
83
  isPlatformManaged: boolean;
85
84
  smsLockState: import('../../../prisma-client').$Enums.SMSLockState;
86
85
  smsLockReviewedByAdmin: boolean;
87
86
  referralLinkId: string | null;
87
+ creationSource: import('../../../prisma-client').$Enums.CreationSource | null;
88
88
  whitelistWorkflows: boolean;
89
89
  };
90
90
  }[];
@@ -129,14 +129,14 @@ export declare function getBookingToDelete(id: number | undefined, uid: string |
129
129
  timeZone: string;
130
130
  destinationCalendar: {
131
131
  id: number;
132
+ integration: string;
133
+ externalId: string;
134
+ primaryEmail: string | null;
132
135
  userId: number | null;
133
- credentialId: number | null;
134
136
  eventTypeId: number | null;
137
+ credentialId: number | null;
135
138
  createdAt: Date | null;
136
139
  updatedAt: Date | null;
137
- integration: string;
138
- externalId: string;
139
- primaryEmail: string | null;
140
140
  delegationCredentialId: string | null;
141
141
  domainWideDelegationCredentialId: string | null;
142
142
  } | null;
@@ -149,28 +149,28 @@ export declare function getBookingToDelete(id: number | undefined, uid: string |
149
149
  description: string | null;
150
150
  paid: boolean;
151
151
  payment: {
152
- success: boolean;
153
- data: import('../../../prisma-client').Prisma.JsonValue;
154
152
  id: number;
155
- refunded: boolean;
156
- currency: string;
157
153
  uid: string;
158
- paymentOption: import('../../../prisma-client').$Enums.PaymentOption | null;
159
- bookingId: number;
160
- externalId: string;
161
154
  appId: string | null;
155
+ bookingId: number;
162
156
  amount: number;
163
157
  fee: number;
158
+ currency: string;
159
+ success: boolean;
160
+ refunded: boolean;
161
+ data: import('../../../prisma-client').Prisma.JsonValue;
162
+ externalId: string;
163
+ paymentOption: import('../../../prisma-client').$Enums.PaymentOption | null;
164
164
  }[];
165
165
  location: string | null;
166
166
  attendees: {
167
- name: string;
168
167
  id: number;
169
168
  email: string;
170
- locale: string | null;
169
+ name: string;
171
170
  timeZone: string;
172
- bookingId: number | null;
173
171
  phoneNumber: string | null;
172
+ locale: string | null;
173
+ bookingId: number | null;
174
174
  noShow: boolean | null;
175
175
  }[];
176
176
  uid: string;
@@ -178,14 +178,14 @@ export declare function getBookingToDelete(id: number | undefined, uid: string |
178
178
  eventTypeId: number | null;
179
179
  destinationCalendar: {
180
180
  id: number;
181
+ integration: string;
182
+ externalId: string;
183
+ primaryEmail: string | null;
181
184
  userId: number | null;
182
- credentialId: number | null;
183
185
  eventTypeId: number | null;
186
+ credentialId: number | null;
184
187
  createdAt: Date | null;
185
188
  updatedAt: Date | null;
186
- integration: string;
187
- externalId: string;
188
- primaryEmail: string | null;
189
189
  delegationCredentialId: string | null;
190
190
  domainWideDelegationCredentialId: string | null;
191
191
  } | null;
@@ -205,26 +205,26 @@ export declare function getBookingToDelete(id: number | undefined, uid: string |
205
205
  externalCalendarId: string | null;
206
206
  }[];
207
207
  workflowReminders: {
208
- method: import('../../../prisma-client').$Enums.WorkflowMethods;
209
208
  id: number;
210
- cancelled: boolean | null;
211
- bookingUid: string | null;
212
209
  uuid: string | null;
213
- referenceId: string | null;
210
+ bookingUid: string | null;
211
+ method: import('../../../prisma-client').$Enums.WorkflowMethods;
214
212
  scheduledDate: Date;
213
+ referenceId: string | null;
215
214
  scheduled: boolean;
216
215
  workflowStepId: number | null;
216
+ cancelled: boolean | null;
217
217
  seatReferenceId: string | null;
218
218
  isMandatoryReminder: boolean | null;
219
219
  retryCount: number;
220
220
  }[];
221
221
  seatsReferences: {
222
- data: import('../../../prisma-client').Prisma.JsonValue;
223
222
  id: number;
224
- metadata: import('../../../prisma-client').Prisma.JsonValue;
225
- bookingId: number;
226
223
  referenceUid: string;
224
+ bookingId: number;
227
225
  attendeeId: number;
226
+ data: import('../../../prisma-client').Prisma.JsonValue | null;
227
+ metadata: import('../../../prisma-client').Prisma.JsonValue | null;
228
228
  }[];
229
229
  userPrimaryEmail: string | null;
230
230
  iCalSequence: number;
@@ -0,0 +1,41 @@
1
+ import type { Prisma } from '../../../prisma-client';
2
+ import type { TFunction } from "i18next";
3
+ import type { RecurringEvent } from "@calcom/types/Calendar";
4
+ type RecurringEventOrPrismaJsonObject = RecurringEvent | Prisma.JsonObject | null | undefined;
5
+ export declare const enum CalendarLinkType {
6
+ GOOGLE_CALENDAR = "googleCalendar",
7
+ MICROSOFT_OFFICE = "microsoftOffice",
8
+ MICROSOFT_OUTLOOK = "microsoftOutlook",
9
+ ICS = "ics"
10
+ }
11
+ export declare const getCalendarLinks: ({ booking, eventType, t, }: {
12
+ booking: {
13
+ startTime: Date;
14
+ endTime: Date;
15
+ location: string | null;
16
+ title: string;
17
+ responses: Prisma.JsonObject;
18
+ metadata: Prisma.JsonObject | null;
19
+ };
20
+ eventType: {
21
+ recurringEvent: RecurringEventOrPrismaJsonObject;
22
+ description?: string | null;
23
+ eventName?: string | null;
24
+ isDynamic: boolean;
25
+ length: number;
26
+ team?: {
27
+ name: string;
28
+ } | null;
29
+ users: {
30
+ name: string | null;
31
+ }[];
32
+ title: string;
33
+ };
34
+ t: TFunction;
35
+ }) => {
36
+ label: string;
37
+ id: CalendarLinkType;
38
+ link: string;
39
+ }[];
40
+ export {};
41
+ //# sourceMappingURL=getCalendarLinks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getCalendarLinks.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/lib/getCalendarLinks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAUzC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAE7D,KAAK,gCAAgC,GAAG,cAAc,GAAG,MAAM,CAAC,UAAU,GAAG,IAAI,GAAG,SAAS,CAAC;AAC9F,0BAAkB,gBAAgB;IAChC,eAAe,mBAAmB;IAClC,gBAAgB,oBAAoB;IACpC,iBAAiB,qBAAqB;IACtC,GAAG,QAAQ;CACZ;AAsHD,eAAO,MAAM,gBAAgB,GAAI,4BAI9B;IACD,OAAO,EAAE;QACP,SAAS,EAAE,IAAI,CAAC;QAChB,OAAO,EAAE,IAAI,CAAC;QACd,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;QACxB,KAAK,EAAE,MAAM,CAAC;QACd,SAAS,EAAE,MAAM,CAAC,UAAU,CAAC;QAC7B,QAAQ,EAAE,MAAM,CAAC,UAAU,GAAG,IAAI,CAAC;KACpC,CAAC;IACF,SAAS,EAAE;QACT,cAAc,EAAE,gCAAgC,CAAC;QACjD,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAC5B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAC1B,SAAS,EAAE,OAAO,CAAC;QACnB,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE;YACL,IAAI,EAAE,MAAM,CAAC;SACd,GAAG,IAAI,CAAC;QACT,KAAK,EAAE;YACL,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;SACrB,EAAE,CAAC;QACJ,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,CAAC,EAAE,SAAS,CAAC;CACd;;;;GAwFA,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=getCalendarLinks.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getCalendarLinks.test.d.ts","sourceRoot":"","sources":["../../../../../../../features/bookings/lib/getCalendarLinks.test.ts"],"names":[],"mappings":""}
@@ -11,11 +11,11 @@ export declare function handleInternalNote({ internalNote, booking, userId, team
11
11
  teamId: number;
12
12
  }): Promise<{
13
13
  id: number;
14
+ notePresetId: number | null;
14
15
  text: string | null;
15
16
  bookingId: number;
16
- createdAt: Date;
17
17
  createdById: number;
18
- notePresetId: number | null;
18
+ createdAt: Date;
19
19
  }>;
20
20
  export {};
21
21
  //# sourceMappingURL=handleInternalNote.d.ts.map