@calcom/atoms 1.7.1 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (153) hide show
  1. package/dist/{AddressInput-DR3jIl7N.js → AddressInput-TPAoTrPC.js} +1 -1
  2. package/dist/{AlbyPriceComponent-2k8JXx0O.js → AlbyPriceComponent-OnR4fSwr.js} +1 -1
  3. package/dist/{AppCard-bt7zv8gh.js → AppCard-UnBkV2QT.js} +1 -1
  4. package/dist/{AppListCardPlatformWrapper-VhYhJs_R.js → AppListCardPlatformWrapper-4eRy1NRK.js} +1 -1
  5. package/dist/{AppListCardWebWrapper-NUv3j3xt.js → AppListCardWebWrapper-0wdYjkAE.js} +1 -1
  6. package/dist/{AppSettingsInterface-buo7m9T8.js → AppSettingsInterface-BUXklHpI.js} +1 -1
  7. package/dist/{AppSettingsInterface-pSKkGg41.js → AppSettingsInterface-IN675-GK.js} +1 -1
  8. package/dist/{AppSettingsInterface-zXTKl0m5.js → AppSettingsInterface-ZJ3ZsCsg.js} +1 -1
  9. package/dist/{DateRangePicker-bTMo0QHP.js → DateRangePicker-SbXQ2kUs.js} +1 -1
  10. package/dist/{EventTypeAppCardInterface-bj9lQhmN.js → EventTypeAppCardInterface--4xE4p79.js} +3 -3
  11. package/dist/{EventTypeAppCardInterface-09iYOcZc.js → EventTypeAppCardInterface-9HzRYyCd.js} +3 -3
  12. package/dist/{EventTypeAppCardInterface-cWLQDtAR.js → EventTypeAppCardInterface-CtmOV4QG.js} +2 -2
  13. package/dist/{EventTypeAppCardInterface-4J2r0kDm.js → EventTypeAppCardInterface-DAoHQNia.js} +4 -4
  14. package/dist/{EventTypeAppCardInterface-WvWtKyzR.js → EventTypeAppCardInterface-EY8MHHWr.js} +4 -4
  15. package/dist/{EventTypeAppCardInterface-UIXAwi3z.js → EventTypeAppCardInterface-EqotF69G.js} +2 -2
  16. package/dist/{EventTypeAppCardInterface-Ayfx5tRN.js → EventTypeAppCardInterface-FseQRHaF.js} +3 -3
  17. package/dist/{EventTypeAppCardInterface-fwF9ZNE1.js → EventTypeAppCardInterface-FzWJaItj.js} +3 -3
  18. package/dist/{EventTypeAppCardInterface-22oySUhU.js → EventTypeAppCardInterface-Hbrbd-An.js} +3 -3
  19. package/dist/{EventTypeAppCardInterface-SS33HaLT.js → EventTypeAppCardInterface-LQ-94Fnd.js} +3 -3
  20. package/dist/{EventTypeAppCardInterface-uSw2xD2a.js → EventTypeAppCardInterface-LsiRGQxy.js} +4 -4
  21. package/dist/{EventTypeAppCardInterface-zkJKrgZb.js → EventTypeAppCardInterface-MVTbWGAp.js} +3 -3
  22. package/dist/{EventTypeAppCardInterface-KjJnnhe2.js → EventTypeAppCardInterface-M_zIE3R2.js} +3 -3
  23. package/dist/{EventTypeAppCardInterface-DqaD8qmA.js → EventTypeAppCardInterface-Nl4Tca0J.js} +4 -4
  24. package/dist/{EventTypeAppCardInterface-lLtnjlZW.js → EventTypeAppCardInterface-SBbEmado.js} +4 -4
  25. package/dist/{EventTypeAppCardInterface-6ARDh1hB.js → EventTypeAppCardInterface-V42P65Il.js} +4 -4
  26. package/dist/{EventTypeAppCardInterface-Zce0NZR5.js → EventTypeAppCardInterface-VC5GD6mP.js} +4 -4
  27. package/dist/{EventTypeAppCardInterface-UhZiYpC_.js → EventTypeAppCardInterface-Yy5z6qq3.js} +3 -3
  28. package/dist/{EventTypeAppCardInterface-oHgBXT0z.js → EventTypeAppCardInterface-bKY65jzr.js} +3 -3
  29. package/dist/{EventTypeAppCardInterface-vmdHhgZV.js → EventTypeAppCardInterface-c7y6h3cZ.js} +3 -3
  30. package/dist/{EventTypeAppCardInterface-ZTWUUx-j.js → EventTypeAppCardInterface-cYsx04dT.js} +4 -4
  31. package/dist/{EventTypeAppCardInterface-Uv0b0YwY.js → EventTypeAppCardInterface-eD2zI5jR.js} +3 -3
  32. package/dist/{EventTypeAppCardInterface-ALjgH4W_.js → EventTypeAppCardInterface-gqJqYQI9.js} +3 -3
  33. package/dist/{EventTypeAppCardInterface-DcTMtSbr.js → EventTypeAppCardInterface-iHRMY1ck.js} +3 -3
  34. package/dist/{EventTypeAppCardInterface-6N-ocotc.js → EventTypeAppCardInterface-kyhbIMJn.js} +4 -4
  35. package/dist/EventTypeAppCardInterface-qX_8phKX.js +24 -0
  36. package/dist/{EventTypeAppCardInterface-TIEM8D8u.js → EventTypeAppCardInterface-tvM_AuJk.js} +4 -4
  37. package/dist/{EventTypeAppSettingsInterface-u1frTGTk.js → EventTypeAppSettingsInterface-3MhYVxkM.js} +1 -1
  38. package/dist/{EventTypeAppSettingsInterface-ykuyZiXU.js → EventTypeAppSettingsInterface-3kl4RpMT.js} +1 -1
  39. package/dist/{EventTypeAppSettingsInterface-Q0ZDtoUj.js → EventTypeAppSettingsInterface-L2pesx9r.js} +1 -1
  40. package/dist/{EventTypeAppSettingsInterface-_Yc814Cl.js → EventTypeAppSettingsInterface-L9xlb8NR.js} +1 -1
  41. package/dist/{EventTypeAppSettingsInterface-mfeygayG.js → EventTypeAppSettingsInterface-Ld18-sOn.js} +1 -1
  42. package/dist/{EventTypeAppSettingsInterface-gkHBitj8.js → EventTypeAppSettingsInterface-UpTmiEej.js} +1 -1
  43. package/dist/{EventTypeAppSettingsInterface-108_BODL.js → EventTypeAppSettingsInterface-XQsGNWJq.js} +1 -1
  44. package/dist/{EventTypeAppSettingsInterface-Qnr0HCO0.js → EventTypeAppSettingsInterface-jPvK2jsX.js} +1 -1
  45. package/dist/{EventTypeAppSettingsInterface-siyUmyxC.js → EventTypeAppSettingsInterface-pdQn6Kfx.js} +1 -1
  46. package/dist/{EventTypeAppSettingsInterface-VeVCHNBB.js → EventTypeAppSettingsInterface-phZiaYXT.js} +1 -1
  47. package/dist/{EventTypeAppSettingsInterface-jJT8-1ML.js → EventTypeAppSettingsInterface-vBrvSwct.js} +1 -1
  48. package/dist/{EventTypeAppSettingsInterface-gg2Ef5DU.js → EventTypeAppSettingsInterface-x4ZemVo7.js} +1 -1
  49. package/dist/{EventTypeAppSettingsInterface-lUvYXuGl.js → EventTypeAppSettingsInterface-yrvZgDxq.js} +1 -1
  50. package/dist/{InstallAppButton-rvYPqvGJ.js → InstallAppButton--2C7ML1T.js} +1 -1
  51. package/dist/{InstallAppButton-UL42QGKr.js → InstallAppButton-9ZNVw7xC.js} +1 -1
  52. package/dist/{InstallAppButton-c2chNE6g.js → InstallAppButton-VKYchQNN.js} +1 -1
  53. package/dist/{PhoneInput-Nhiv23jS.js → PhoneInput-eualhMpw.js} +1 -1
  54. package/dist/{StripePaymentForm-1yTkAicU.js → StripePaymentForm-J3d6--In.js} +1 -1
  55. package/dist/cal-atoms.js +1 -1
  56. package/dist/{index-QG3p1fzr.js → index-QxAbeUbm.js} +1 -1
  57. package/dist/{index-6aqrxRA8.js → index-ZTlhgZJm.js} +61900 -61737
  58. package/dist/{index-heZJ0K97.js → index-ZiXm_Vsp.js} +1 -1
  59. package/dist/{index-miF5qVsp.js → index-jrRDyJSN.js} +1 -1
  60. package/dist/packages/features/bookings/Booker/utils/event.d.ts +33 -33
  61. package/dist/packages/features/bookings/lib/BookingEmailSmsHandler.d.ts +1 -1
  62. package/dist/packages/features/bookings/lib/BookingEmailSmsHandler.d.ts.map +1 -1
  63. package/dist/packages/features/bookings/lib/create-booking.d.ts +91 -91
  64. package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts +91 -91
  65. package/dist/packages/features/bookings/lib/get-booking.d.ts +9 -9
  66. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +38 -38
  67. package/dist/packages/features/bookings/lib/getCalendarLinks.d.ts +41 -0
  68. package/dist/packages/features/bookings/lib/getCalendarLinks.d.ts.map +1 -0
  69. package/dist/packages/features/bookings/lib/getCalendarLinks.test.d.ts +2 -0
  70. package/dist/packages/features/bookings/lib/getCalendarLinks.test.d.ts.map +1 -0
  71. package/dist/packages/features/bookings/lib/handleInternalNote.d.ts +2 -2
  72. package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts +33 -33
  73. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +57 -57
  74. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +57 -57
  75. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +57 -57
  76. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts +46 -46
  77. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +45 -45
  78. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts +364 -364
  79. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
  80. package/dist/packages/features/bookings/lib/handlePayment.d.ts +49 -0
  81. package/dist/packages/features/bookings/lib/handlePayment.d.ts.map +1 -0
  82. package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts +33 -33
  83. package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts.map +1 -1
  84. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/ownerRescheduleSeatedBooking.d.ts +33 -33
  85. package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts +39 -39
  86. package/dist/packages/features/ee/billing/organizations/index.d.ts +1 -2
  87. package/dist/packages/features/ee/billing/organizations/index.d.ts.map +1 -1
  88. package/dist/packages/features/ee/billing/organizations/internal-organization-billing.d.ts +2 -2
  89. package/dist/packages/features/ee/billing/organizations/organization-billing.repository.d.ts +32 -4
  90. package/dist/packages/features/ee/billing/organizations/organization-billing.repository.d.ts.map +1 -1
  91. package/dist/packages/features/ee/payments/server/stripe-service.d.ts +23 -0
  92. package/dist/packages/features/ee/payments/server/stripe-service.d.ts.map +1 -0
  93. package/dist/packages/features/ee/round-robin/lib/bookingLocationService.d.ts +125 -0
  94. package/dist/packages/features/ee/round-robin/lib/bookingLocationService.d.ts.map +1 -0
  95. package/dist/packages/features/ee/round-robin/lib/bookingLocationService.test.d.ts +2 -0
  96. package/dist/packages/features/ee/round-robin/lib/bookingLocationService.test.d.ts.map +1 -0
  97. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts +30 -30
  98. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts.map +1 -1
  99. package/dist/packages/features/ee/round-robin/roundRobinReassignment.d.ts.map +1 -1
  100. package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts.map +1 -1
  101. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts.map +1 -1
  102. package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts +6 -6
  103. package/dist/packages/features/eventtypes/components/AddVerifiedEmail.d.ts +7 -0
  104. package/dist/packages/features/eventtypes/components/AddVerifiedEmail.d.ts.map +1 -0
  105. package/dist/packages/features/eventtypes/components/tabs/advanced/CustomEventTypeModal.d.ts +1 -1
  106. package/dist/packages/features/eventtypes/components/tabs/advanced/CustomEventTypeModal.d.ts.map +1 -1
  107. package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts.map +1 -1
  108. package/dist/packages/features/eventtypes/lib/eventNaming.d.ts +28 -0
  109. package/dist/packages/features/eventtypes/lib/eventNaming.d.ts.map +1 -0
  110. package/dist/packages/features/eventtypes/lib/eventNaming.test.d.ts +2 -0
  111. package/dist/packages/features/eventtypes/lib/eventNaming.test.d.ts.map +1 -0
  112. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +33 -33
  113. package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts +12 -12
  114. package/dist/packages/features/eventtypes/lib/types.d.ts +1 -1
  115. package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
  116. package/dist/packages/features/shell/user-dropdown/UserDropdown.d.ts +2 -2
  117. package/dist/packages/features/shell/user-dropdown/UserDropdown.d.ts.map +1 -1
  118. package/dist/packages/platform/atoms/event-types/hooks/useAddVerifiedEmail.d.ts +15 -0
  119. package/dist/packages/platform/atoms/event-types/hooks/useAddVerifiedEmail.d.ts.map +1 -0
  120. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +17 -17
  121. package/dist/packages/platform/atoms/event-types/hooks/useEventTypeForm.d.ts.map +1 -1
  122. package/dist/packages/platform/atoms/event-types/hooks/useGetVerifiedEmails.d.ts +3 -0
  123. package/dist/packages/platform/atoms/event-types/hooks/useGetVerifiedEmails.d.ts.map +1 -0
  124. package/dist/packages/platform/atoms/event-types/wrappers/EventAdvancedPlatformWrapper.d.ts.map +1 -1
  125. package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts +91 -91
  126. package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts +91 -91
  127. package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts +91 -91
  128. package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts +3 -3
  129. package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts +33 -33
  130. package/dist/packages/platform/atoms/hooks/schedules/useAtomSchedule.d.ts +3 -3
  131. package/dist/packages/platform/atoms/hooks/schedules/useAtomUpdateSchedule.d.ts +3 -3
  132. package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts.map +1 -1
  133. package/dist/packages/platform/atoms/lib/appendClientIdToEmail.d.ts +2 -0
  134. package/dist/packages/platform/atoms/lib/appendClientIdToEmail.d.ts.map +1 -0
  135. package/dist/packages/platform/libraries/event-types.d.ts +5 -5
  136. package/dist/packages/platform/libraries/event-types.d.ts.map +1 -1
  137. package/dist/packages/platform/libraries/index.d.ts +3 -3
  138. package/dist/packages/platform/libraries/index.d.ts.map +1 -1
  139. package/dist/packages/prisma/zod/impersonations.d.ts +2 -2
  140. package/dist/packages/prisma/zod/ratelimit.d.ts +2 -2
  141. package/dist/packages/prisma/zod/task.d.ts +2 -2
  142. package/dist/packages/prisma/zod/teamfeatures.d.ts +2 -2
  143. package/dist/packages/prisma/zod/userfeatures.d.ts +2 -2
  144. package/dist/packages/prisma/zod/webhookscheduledtriggers.d.ts +2 -2
  145. package/dist/packages/prisma/zod-utils.d.ts +1 -0
  146. package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
  147. package/dist/packages/trpc/react/hooks/useMeQuery.d.ts +2 -2
  148. package/dist/packages/trpc/react/shared.d.ts +1 -1
  149. package/dist/packages/trpc/react/shared.d.ts.map +1 -1
  150. package/dist/packages/trpc/react/trpc.d.ts.map +1 -1
  151. package/dist/{useIsAppEnabled-aAe8QNQ3.js → useIsAppEnabled-kSS-8pZp.js} +1 -1
  152. package/package.json +1 -1
  153. package/dist/EventTypeAppCardInterface-uaT7p9un.js +0 -24
@@ -55,83 +55,83 @@ export declare const createBooking: (args_0: CreateBookingParams & {
55
55
  timeZone: string;
56
56
  } | null;
57
57
  payment: {
58
- success: boolean;
59
- data: Prisma.JsonValue;
60
58
  id: number;
61
- refunded: boolean;
62
- currency: string;
63
59
  uid: string;
64
- paymentOption: import('../../../../prisma-client').$Enums.PaymentOption | null;
65
- bookingId: number;
66
- externalId: string;
67
60
  appId: string | null;
61
+ bookingId: number;
68
62
  amount: number;
69
63
  fee: number;
64
+ currency: string;
65
+ success: boolean;
66
+ refunded: boolean;
67
+ data: Prisma.JsonValue;
68
+ externalId: string;
69
+ paymentOption: import('../../../../prisma-client').$Enums.PaymentOption | null;
70
70
  }[];
71
71
  attendees: {
72
- name: string;
73
72
  id: number;
74
73
  email: string;
75
- locale: string | null;
74
+ name: string;
76
75
  timeZone: string;
77
- bookingId: number | null;
78
76
  phoneNumber: string | null;
77
+ locale: string | null;
78
+ bookingId: number | null;
79
79
  noShow: boolean | null;
80
80
  }[];
81
81
  references: {
82
82
  id: number;
83
83
  type: string;
84
84
  uid: string;
85
- credentialId: number | null;
86
- deleted: boolean | null;
87
- bookingId: number | null;
88
- thirdPartyRecurringEventId: string | null;
89
- delegationCredentialId: string | null;
90
- domainWideDelegationCredentialId: string | null;
91
85
  meetingId: string | null;
86
+ thirdPartyRecurringEventId: string | null;
92
87
  meetingPassword: string | null;
93
88
  meetingUrl: string | null;
89
+ bookingId: number | null;
94
90
  externalCalendarId: string | null;
91
+ deleted: boolean | null;
92
+ credentialId: number | null;
93
+ delegationCredentialId: string | null;
94
+ domainWideDelegationCredentialId: string | null;
95
95
  }[];
96
96
  } & {
97
97
  id: number;
98
- title: string;
99
- metadata: Prisma.JsonValue;
100
- status: import('../../../../prisma-client').$Enums.BookingStatus;
101
- description: string | null;
102
- paid: boolean;
103
- location: string | null;
104
- rescheduled: boolean | null;
105
- rating: number | null;
106
98
  uid: string;
99
+ idempotencyKey: string | null;
107
100
  userId: number | null;
101
+ userPrimaryEmail: string | null;
108
102
  eventTypeId: number | null;
109
- customInputs: Prisma.JsonValue;
110
- smsReminderNumber: string | null;
111
- recurringEventId: string | null;
112
- cancellationReason: string | null;
113
- cancelledBy: string | null;
114
- iCalUID: string | null;
115
- responses: Prisma.JsonValue;
103
+ title: string;
104
+ description: string | null;
105
+ customInputs: Prisma.JsonValue | null;
106
+ responses: Prisma.JsonValue | null;
116
107
  startTime: Date;
117
108
  endTime: Date;
118
- idempotencyKey: string | null;
119
- userPrimaryEmail: string | null;
109
+ location: string | null;
120
110
  createdAt: Date;
121
111
  updatedAt: Date | null;
112
+ status: import('../../../../prisma-client').$Enums.BookingStatus;
113
+ paid: boolean;
122
114
  destinationCalendarId: number | null;
115
+ cancellationReason: string | null;
123
116
  rejectionReason: string | null;
124
117
  reassignReason: string | null;
125
118
  reassignById: number | null;
126
119
  dynamicEventSlugRef: string | null;
127
120
  dynamicGroupSlugRef: string | null;
121
+ rescheduled: boolean | null;
128
122
  fromReschedule: string | null;
123
+ recurringEventId: string | null;
124
+ smsReminderNumber: string | null;
129
125
  scheduledJobs: string[];
126
+ metadata: Prisma.JsonValue | null;
130
127
  isRecorded: boolean;
128
+ iCalUID: string | null;
131
129
  iCalSequence: number;
130
+ rating: number | null;
132
131
  ratingFeedback: string | null;
133
132
  noShowHost: boolean | null;
134
133
  oneTimePassword: string | null;
134
+ cancelledBy: string | null;
135
135
  rescheduledBy: string | null;
136
136
  creationSource: import('../../../../prisma-client').$Enums.CreationSource | null;
137
137
  }>;
@@ -21,13 +21,13 @@ export declare const ensureAvailableUsers: (eventType: Omit<{
21
21
  email: string;
22
22
  availability: {
23
23
  id: number;
24
- days: number[];
25
- date: Date | null;
26
24
  userId: number | null;
27
25
  eventTypeId: number | null;
28
- scheduleId: number | null;
26
+ days: number[];
29
27
  startTime: Date;
30
28
  endTime: Date;
29
+ date: Date | null;
30
+ scheduleId: number | null;
31
31
  }[];
32
32
  theme: string | null;
33
33
  locked: boolean;
@@ -48,38 +48,38 @@ export declare const ensureAvailableUsers: (eventType: Omit<{
48
48
  timeZone: string;
49
49
  destinationCalendar: {
50
50
  id: number;
51
+ integration: string;
52
+ externalId: string;
53
+ primaryEmail: string | null;
51
54
  userId: number | null;
52
- credentialId: number | null;
53
55
  eventTypeId: number | null;
56
+ credentialId: number | null;
54
57
  createdAt: Date | null;
55
58
  updatedAt: Date | null;
56
- integration: string;
57
- externalId: string;
58
- primaryEmail: string | null;
59
59
  delegationCredentialId: string | null;
60
60
  domainWideDelegationCredentialId: string | null;
61
61
  } | null;
62
62
  selectedCalendars: {
63
- error: string | null;
64
63
  id: string;
65
64
  userId: number;
65
+ integration: string;
66
+ externalId: string;
66
67
  credentialId: number | null;
67
- eventTypeId: number | null;
68
68
  createdAt: Date | null;
69
69
  updatedAt: Date | null;
70
- integration: string;
71
- externalId: string;
72
- delegationCredentialId: string | null;
73
- domainWideDelegationCredentialId: string | null;
74
70
  googleChannelId: string | null;
75
71
  googleChannelKind: string | null;
76
72
  googleChannelResourceId: string | null;
77
73
  googleChannelResourceUri: string | null;
78
74
  googleChannelExpiration: string | null;
75
+ delegationCredentialId: string | null;
76
+ domainWideDelegationCredentialId: string | null;
77
+ error: string | null;
79
78
  lastErrorAt: Date | null;
80
79
  watchAttempts: number;
81
80
  unwatchAttempts: number;
82
81
  maxAttempts: number;
82
+ eventTypeId: number | null;
83
83
  }[];
84
84
  startTime: number;
85
85
  endTime: number;
@@ -101,48 +101,48 @@ export declare const ensureAvailableUsers: (eventType: Omit<{
101
101
  }[];
102
102
  }, "selectedCalendars"> & {
103
103
  allSelectedCalendars: {
104
- error: string | null;
105
104
  id: string;
106
105
  userId: number;
106
+ integration: string;
107
+ externalId: string;
107
108
  credentialId: number | null;
108
- eventTypeId: number | null;
109
109
  createdAt: Date | null;
110
110
  updatedAt: Date | null;
111
- integration: string;
112
- externalId: string;
113
- delegationCredentialId: string | null;
114
- domainWideDelegationCredentialId: string | null;
115
111
  googleChannelId: string | null;
116
112
  googleChannelKind: string | null;
117
113
  googleChannelResourceId: string | null;
118
114
  googleChannelResourceUri: string | null;
119
115
  googleChannelExpiration: string | null;
116
+ delegationCredentialId: string | null;
117
+ domainWideDelegationCredentialId: string | null;
118
+ error: string | null;
120
119
  lastErrorAt: Date | null;
121
120
  watchAttempts: number;
122
121
  unwatchAttempts: number;
123
122
  maxAttempts: number;
123
+ eventTypeId: number | null;
124
124
  }[];
125
125
  userLevelSelectedCalendars: {
126
- error: string | null;
127
126
  id: string;
128
127
  userId: number;
128
+ integration: string;
129
+ externalId: string;
129
130
  credentialId: number | null;
130
- eventTypeId: number | null;
131
131
  createdAt: Date | null;
132
132
  updatedAt: Date | null;
133
- integration: string;
134
- externalId: string;
135
- delegationCredentialId: string | null;
136
- domainWideDelegationCredentialId: string | null;
137
133
  googleChannelId: string | null;
138
134
  googleChannelKind: string | null;
139
135
  googleChannelResourceId: string | null;
140
136
  googleChannelResourceUri: string | null;
141
137
  googleChannelExpiration: string | null;
138
+ delegationCredentialId: string | null;
139
+ domainWideDelegationCredentialId: string | null;
140
+ error: string | null;
142
141
  lastErrorAt: Date | null;
143
142
  watchAttempts: number;
144
143
  unwatchAttempts: number;
145
144
  maxAttempts: number;
145
+ eventTypeId: number | null;
146
146
  }[];
147
147
  };
148
148
  schedule: {
@@ -179,13 +179,13 @@ export declare const ensureAvailableUsers: (eventType: Omit<{
179
179
  email: string;
180
180
  availability: {
181
181
  id: number;
182
- days: number[];
183
- date: Date | null;
184
182
  userId: number | null;
185
183
  eventTypeId: number | null;
186
- scheduleId: number | null;
184
+ days: number[];
187
185
  startTime: Date;
188
186
  endTime: Date;
187
+ date: Date | null;
188
+ scheduleId: number | null;
189
189
  }[];
190
190
  theme: string | null;
191
191
  locked: boolean;
@@ -206,38 +206,38 @@ export declare const ensureAvailableUsers: (eventType: Omit<{
206
206
  timeZone: string;
207
207
  destinationCalendar: {
208
208
  id: number;
209
+ integration: string;
210
+ externalId: string;
211
+ primaryEmail: string | null;
209
212
  userId: number | null;
210
- credentialId: number | null;
211
213
  eventTypeId: number | null;
214
+ credentialId: number | null;
212
215
  createdAt: Date | null;
213
216
  updatedAt: Date | null;
214
- integration: string;
215
- externalId: string;
216
- primaryEmail: string | null;
217
217
  delegationCredentialId: string | null;
218
218
  domainWideDelegationCredentialId: string | null;
219
219
  } | null;
220
220
  selectedCalendars: {
221
- error: string | null;
222
221
  id: string;
223
222
  userId: number;
223
+ integration: string;
224
+ externalId: string;
224
225
  credentialId: number | null;
225
- eventTypeId: number | null;
226
226
  createdAt: Date | null;
227
227
  updatedAt: Date | null;
228
- integration: string;
229
- externalId: string;
230
- delegationCredentialId: string | null;
231
- domainWideDelegationCredentialId: string | null;
232
228
  googleChannelId: string | null;
233
229
  googleChannelKind: string | null;
234
230
  googleChannelResourceId: string | null;
235
231
  googleChannelResourceUri: string | null;
236
232
  googleChannelExpiration: string | null;
233
+ delegationCredentialId: string | null;
234
+ domainWideDelegationCredentialId: string | null;
235
+ error: string | null;
237
236
  lastErrorAt: Date | null;
238
237
  watchAttempts: number;
239
238
  unwatchAttempts: number;
240
239
  maxAttempts: number;
240
+ eventTypeId: number | null;
241
241
  }[];
242
242
  startTime: number;
243
243
  endTime: number;
@@ -259,48 +259,48 @@ export declare const ensureAvailableUsers: (eventType: Omit<{
259
259
  }[];
260
260
  }, "selectedCalendars"> & {
261
261
  allSelectedCalendars: {
262
- error: string | null;
263
262
  id: string;
264
263
  userId: number;
264
+ integration: string;
265
+ externalId: string;
265
266
  credentialId: number | null;
266
- eventTypeId: number | null;
267
267
  createdAt: Date | null;
268
268
  updatedAt: Date | null;
269
- integration: string;
270
- externalId: string;
271
- delegationCredentialId: string | null;
272
- domainWideDelegationCredentialId: string | null;
273
269
  googleChannelId: string | null;
274
270
  googleChannelKind: string | null;
275
271
  googleChannelResourceId: string | null;
276
272
  googleChannelResourceUri: string | null;
277
273
  googleChannelExpiration: string | null;
274
+ delegationCredentialId: string | null;
275
+ domainWideDelegationCredentialId: string | null;
276
+ error: string | null;
278
277
  lastErrorAt: Date | null;
279
278
  watchAttempts: number;
280
279
  unwatchAttempts: number;
281
280
  maxAttempts: number;
281
+ eventTypeId: number | null;
282
282
  }[];
283
283
  userLevelSelectedCalendars: {
284
- error: string | null;
285
284
  id: string;
286
285
  userId: number;
286
+ integration: string;
287
+ externalId: string;
287
288
  credentialId: number | null;
288
- eventTypeId: number | null;
289
289
  createdAt: Date | null;
290
290
  updatedAt: Date | null;
291
- integration: string;
292
- externalId: string;
293
- delegationCredentialId: string | null;
294
- domainWideDelegationCredentialId: string | null;
295
291
  googleChannelId: string | null;
296
292
  googleChannelKind: string | null;
297
293
  googleChannelResourceId: string | null;
298
294
  googleChannelResourceUri: string | null;
299
295
  googleChannelExpiration: string | null;
296
+ delegationCredentialId: string | null;
297
+ domainWideDelegationCredentialId: string | null;
298
+ error: string | null;
300
299
  lastErrorAt: Date | null;
301
300
  watchAttempts: number;
302
301
  unwatchAttempts: number;
303
302
  maxAttempts: number;
303
+ eventTypeId: number | null;
304
304
  }[];
305
305
  })[];
306
306
  metadata: {
@@ -550,13 +550,13 @@ export declare const ensureAvailableUsers: (eventType: Omit<{
550
550
  id: number;
551
551
  availability: {
552
552
  id: number;
553
- days: number[];
554
- date: Date | null;
555
553
  userId: number | null;
556
554
  eventTypeId: number | null;
557
- scheduleId: number | null;
555
+ days: number[];
558
556
  startTime: Date;
559
557
  endTime: Date;
558
+ date: Date | null;
559
+ scheduleId: number | null;
560
560
  }[];
561
561
  timeZone: string | null;
562
562
  } | null;
@@ -655,14 +655,14 @@ export declare const ensureAvailableUsers: (eventType: Omit<{
655
655
  restrictionScheduleId: number | null;
656
656
  destinationCalendar: {
657
657
  id: number;
658
+ integration: string;
659
+ externalId: string;
660
+ primaryEmail: string | null;
658
661
  userId: number | null;
659
- credentialId: number | null;
660
662
  eventTypeId: number | null;
663
+ credentialId: number | null;
661
664
  createdAt: Date | null;
662
665
  updatedAt: Date | null;
663
- integration: string;
664
- externalId: string;
665
- primaryEmail: string | null;
666
666
  delegationCredentialId: string | null;
667
667
  domainWideDelegationCredentialId: string | null;
668
668
  } | null;
@@ -704,13 +704,13 @@ export declare const getEventType: (args_0: {
704
704
  email: string;
705
705
  availability: {
706
706
  id: number;
707
- days: number[];
708
- date: Date | null;
709
707
  userId: number | null;
710
708
  eventTypeId: number | null;
711
- scheduleId: number | null;
709
+ days: number[];
712
710
  startTime: Date;
713
711
  endTime: Date;
712
+ date: Date | null;
713
+ scheduleId: number | null;
714
714
  }[];
715
715
  theme: string | null;
716
716
  locked: boolean;
@@ -731,38 +731,38 @@ export declare const getEventType: (args_0: {
731
731
  timeZone: string;
732
732
  destinationCalendar: {
733
733
  id: number;
734
+ integration: string;
735
+ externalId: string;
736
+ primaryEmail: string | null;
734
737
  userId: number | null;
735
- credentialId: number | null;
736
738
  eventTypeId: number | null;
739
+ credentialId: number | null;
737
740
  createdAt: Date | null;
738
741
  updatedAt: Date | null;
739
- integration: string;
740
- externalId: string;
741
- primaryEmail: string | null;
742
742
  delegationCredentialId: string | null;
743
743
  domainWideDelegationCredentialId: string | null;
744
744
  } | null;
745
745
  selectedCalendars: {
746
- error: string | null;
747
746
  id: string;
748
747
  userId: number;
748
+ integration: string;
749
+ externalId: string;
749
750
  credentialId: number | null;
750
- eventTypeId: number | null;
751
751
  createdAt: Date | null;
752
752
  updatedAt: Date | null;
753
- integration: string;
754
- externalId: string;
755
- delegationCredentialId: string | null;
756
- domainWideDelegationCredentialId: string | null;
757
753
  googleChannelId: string | null;
758
754
  googleChannelKind: string | null;
759
755
  googleChannelResourceId: string | null;
760
756
  googleChannelResourceUri: string | null;
761
757
  googleChannelExpiration: string | null;
758
+ delegationCredentialId: string | null;
759
+ domainWideDelegationCredentialId: string | null;
760
+ error: string | null;
762
761
  lastErrorAt: Date | null;
763
762
  watchAttempts: number;
764
763
  unwatchAttempts: number;
765
764
  maxAttempts: number;
765
+ eventTypeId: number | null;
766
766
  }[];
767
767
  startTime: number;
768
768
  endTime: number;
@@ -784,48 +784,48 @@ export declare const getEventType: (args_0: {
784
784
  }[];
785
785
  }, "selectedCalendars"> & {
786
786
  allSelectedCalendars: {
787
- error: string | null;
788
787
  id: string;
789
788
  userId: number;
789
+ integration: string;
790
+ externalId: string;
790
791
  credentialId: number | null;
791
- eventTypeId: number | null;
792
792
  createdAt: Date | null;
793
793
  updatedAt: Date | null;
794
- integration: string;
795
- externalId: string;
796
- delegationCredentialId: string | null;
797
- domainWideDelegationCredentialId: string | null;
798
794
  googleChannelId: string | null;
799
795
  googleChannelKind: string | null;
800
796
  googleChannelResourceId: string | null;
801
797
  googleChannelResourceUri: string | null;
802
798
  googleChannelExpiration: string | null;
799
+ delegationCredentialId: string | null;
800
+ domainWideDelegationCredentialId: string | null;
801
+ error: string | null;
803
802
  lastErrorAt: Date | null;
804
803
  watchAttempts: number;
805
804
  unwatchAttempts: number;
806
805
  maxAttempts: number;
806
+ eventTypeId: number | null;
807
807
  }[];
808
808
  userLevelSelectedCalendars: {
809
- error: string | null;
810
809
  id: string;
811
810
  userId: number;
811
+ integration: string;
812
+ externalId: string;
812
813
  credentialId: number | null;
813
- eventTypeId: number | null;
814
814
  createdAt: Date | null;
815
815
  updatedAt: Date | null;
816
- integration: string;
817
- externalId: string;
818
- delegationCredentialId: string | null;
819
- domainWideDelegationCredentialId: string | null;
820
816
  googleChannelId: string | null;
821
817
  googleChannelKind: string | null;
822
818
  googleChannelResourceId: string | null;
823
819
  googleChannelResourceUri: string | null;
824
820
  googleChannelExpiration: string | null;
821
+ delegationCredentialId: string | null;
822
+ domainWideDelegationCredentialId: string | null;
823
+ error: string | null;
825
824
  lastErrorAt: Date | null;
826
825
  watchAttempts: number;
827
826
  unwatchAttempts: number;
828
827
  maxAttempts: number;
828
+ eventTypeId: number | null;
829
829
  }[];
830
830
  };
831
831
  schedule: {
@@ -862,13 +862,13 @@ export declare const getEventType: (args_0: {
862
862
  email: string;
863
863
  availability: {
864
864
  id: number;
865
- days: number[];
866
- date: Date | null;
867
865
  userId: number | null;
868
866
  eventTypeId: number | null;
869
- scheduleId: number | null;
867
+ days: number[];
870
868
  startTime: Date;
871
869
  endTime: Date;
870
+ date: Date | null;
871
+ scheduleId: number | null;
872
872
  }[];
873
873
  theme: string | null;
874
874
  locked: boolean;
@@ -889,38 +889,38 @@ export declare const getEventType: (args_0: {
889
889
  timeZone: string;
890
890
  destinationCalendar: {
891
891
  id: number;
892
+ integration: string;
893
+ externalId: string;
894
+ primaryEmail: string | null;
892
895
  userId: number | null;
893
- credentialId: number | null;
894
896
  eventTypeId: number | null;
897
+ credentialId: number | null;
895
898
  createdAt: Date | null;
896
899
  updatedAt: Date | null;
897
- integration: string;
898
- externalId: string;
899
- primaryEmail: string | null;
900
900
  delegationCredentialId: string | null;
901
901
  domainWideDelegationCredentialId: string | null;
902
902
  } | null;
903
903
  selectedCalendars: {
904
- error: string | null;
905
904
  id: string;
906
905
  userId: number;
906
+ integration: string;
907
+ externalId: string;
907
908
  credentialId: number | null;
908
- eventTypeId: number | null;
909
909
  createdAt: Date | null;
910
910
  updatedAt: Date | null;
911
- integration: string;
912
- externalId: string;
913
- delegationCredentialId: string | null;
914
- domainWideDelegationCredentialId: string | null;
915
911
  googleChannelId: string | null;
916
912
  googleChannelKind: string | null;
917
913
  googleChannelResourceId: string | null;
918
914
  googleChannelResourceUri: string | null;
919
915
  googleChannelExpiration: string | null;
916
+ delegationCredentialId: string | null;
917
+ domainWideDelegationCredentialId: string | null;
918
+ error: string | null;
920
919
  lastErrorAt: Date | null;
921
920
  watchAttempts: number;
922
921
  unwatchAttempts: number;
923
922
  maxAttempts: number;
923
+ eventTypeId: number | null;
924
924
  }[];
925
925
  startTime: number;
926
926
  endTime: number;
@@ -942,48 +942,48 @@ export declare const getEventType: (args_0: {
942
942
  }[];
943
943
  }, "selectedCalendars"> & {
944
944
  allSelectedCalendars: {
945
- error: string | null;
946
945
  id: string;
947
946
  userId: number;
947
+ integration: string;
948
+ externalId: string;
948
949
  credentialId: number | null;
949
- eventTypeId: number | null;
950
950
  createdAt: Date | null;
951
951
  updatedAt: Date | null;
952
- integration: string;
953
- externalId: string;
954
- delegationCredentialId: string | null;
955
- domainWideDelegationCredentialId: string | null;
956
952
  googleChannelId: string | null;
957
953
  googleChannelKind: string | null;
958
954
  googleChannelResourceId: string | null;
959
955
  googleChannelResourceUri: string | null;
960
956
  googleChannelExpiration: string | null;
957
+ delegationCredentialId: string | null;
958
+ domainWideDelegationCredentialId: string | null;
959
+ error: string | null;
961
960
  lastErrorAt: Date | null;
962
961
  watchAttempts: number;
963
962
  unwatchAttempts: number;
964
963
  maxAttempts: number;
964
+ eventTypeId: number | null;
965
965
  }[];
966
966
  userLevelSelectedCalendars: {
967
- error: string | null;
968
967
  id: string;
969
968
  userId: number;
969
+ integration: string;
970
+ externalId: string;
970
971
  credentialId: number | null;
971
- eventTypeId: number | null;
972
972
  createdAt: Date | null;
973
973
  updatedAt: Date | null;
974
- integration: string;
975
- externalId: string;
976
- delegationCredentialId: string | null;
977
- domainWideDelegationCredentialId: string | null;
978
974
  googleChannelId: string | null;
979
975
  googleChannelKind: string | null;
980
976
  googleChannelResourceId: string | null;
981
977
  googleChannelResourceUri: string | null;
982
978
  googleChannelExpiration: string | null;
979
+ delegationCredentialId: string | null;
980
+ domainWideDelegationCredentialId: string | null;
981
+ error: string | null;
983
982
  lastErrorAt: Date | null;
984
983
  watchAttempts: number;
985
984
  unwatchAttempts: number;
986
985
  maxAttempts: number;
986
+ eventTypeId: number | null;
987
987
  }[];
988
988
  })[];
989
989
  metadata: {
@@ -1176,13 +1176,13 @@ export declare const getEventType: (args_0: {
1176
1176
  id: number;
1177
1177
  availability: {
1178
1178
  id: number;
1179
- days: number[];
1180
- date: Date | null;
1181
1179
  userId: number | null;
1182
1180
  eventTypeId: number | null;
1183
- scheduleId: number | null;
1181
+ days: number[];
1184
1182
  startTime: Date;
1185
1183
  endTime: Date;
1184
+ date: Date | null;
1185
+ scheduleId: number | null;
1186
1186
  }[];
1187
1187
  timeZone: string | null;
1188
1188
  } | null;
@@ -1281,14 +1281,14 @@ export declare const getEventType: (args_0: {
1281
1281
  restrictionScheduleId: number | null;
1282
1282
  destinationCalendar: {
1283
1283
  id: number;
1284
+ integration: string;
1285
+ externalId: string;
1286
+ primaryEmail: string | null;
1284
1287
  userId: number | null;
1285
- credentialId: number | null;
1286
1288
  eventTypeId: number | null;
1289
+ credentialId: number | null;
1287
1290
  createdAt: Date | null;
1288
1291
  updatedAt: Date | null;
1289
- integration: string;
1290
- externalId: string;
1291
- primaryEmail: string | null;
1292
1292
  delegationCredentialId: string | null;
1293
1293
  domainWideDelegationCredentialId: string | null;
1294
1294
  } | null;