* feat: add API endpoint to fetch Google Calendar meeting details and metrics * refactor: rename eventId to eventUid and update calendar event details endpoint * feat: implement Google Calendar service account delegation for event details * refactor: simplify Google Calendar event response * refactor: simplify calendar event details endpoint * feat: add calendar event details endpoint with schema and controller implementation * chore: reset platform libraries package version to 0.0.0 * refactor: migrate calendar event details to unified calendars module * Update gcal.service.ts * refactor: update calendar event schema with title and locations fields replacing summary and conferenceData * feat: update calendar event source to use enum type for better validation * update api description * refactor: make Google Calendar service methods private * refactor: remove location field from unified calendar event output * fix: update Google Calendar event location type property to match unified schema * feat: add CalendarEventStatus enum and map Google Calendar statuses to standardized values * docs: add property descriptions to calendar event schema and remove organizer field * fix: change calendar event locations type from null to empty array in unified calendar API * feat: make calendar source field required * refactor: replace organizer field with hosts array in Google calendar event mapping * feat: enhance calendar event location API documentation with detailed property descriptions * feat: add calendar event details endpoint documentation * fix: typo * docs: update calendar event details API description to remove reschedule history reference * refactor: rename uri to url in calendar event location interfaces and mappings * refactor: improve calendar event response status handling and code organization * Update get-unified-calendar-event.ts * update docs * chore: update @calcom/platform-libraries to version 0.0.215
49 lines
2.2 KiB
TypeScript
49 lines
2.2 KiB
TypeScript
import { PlatformEndpointsModule } from "@/ee/platform-endpoints-module";
|
|
import { AtomsModule } from "@/modules/atoms/atoms.module";
|
|
import { BillingModule } from "@/modules/billing/billing.module";
|
|
import { CalUnifiedCalendarsModule } from "@/modules/cal-unified-calendars/cal-unified-calendars.module";
|
|
import { ConferencingModule } from "@/modules/conferencing/conferencing.module";
|
|
import { DestinationCalendarsModule } from "@/modules/destination-calendars/destination-calendars.module";
|
|
import { OAuthClientModule } from "@/modules/oauth-clients/oauth-client.module";
|
|
import { OrganizationsBookingsModule } from "@/modules/organizations/bookings/organizations.bookings.module";
|
|
import { OrganizationsRoutingFormsModule } from "@/modules/organizations/routing-forms/organizations-routing-forms.module";
|
|
import { OrganizationsTeamsBookingsModule } from "@/modules/organizations/teams/bookings/organizations-teams-bookings.module";
|
|
import { OrganizationsUsersBookingsModule } from "@/modules/organizations/users/bookings/organizations-users-bookings.module";
|
|
import { RouterModule } from "@/modules/router/router.module";
|
|
import { StripeModule } from "@/modules/stripe/stripe.module";
|
|
import { TimezoneModule } from "@/modules/timezones/timezones.module";
|
|
import { VerifiedResourcesModule } from "@/modules/verified-resources/verified-resources.module";
|
|
import type { MiddlewareConsumer, NestModule } from "@nestjs/common";
|
|
import { Module } from "@nestjs/common";
|
|
|
|
import { UsersModule } from "./users/users.module";
|
|
import { WebhooksModule } from "./webhooks/webhooks.module";
|
|
|
|
@Module({
|
|
imports: [
|
|
OAuthClientModule,
|
|
BillingModule,
|
|
PlatformEndpointsModule,
|
|
TimezoneModule,
|
|
UsersModule,
|
|
WebhooksModule,
|
|
DestinationCalendarsModule,
|
|
AtomsModule,
|
|
StripeModule,
|
|
ConferencingModule,
|
|
CalUnifiedCalendarsModule,
|
|
OrganizationsTeamsBookingsModule,
|
|
OrganizationsUsersBookingsModule,
|
|
OrganizationsBookingsModule,
|
|
OrganizationsRoutingFormsModule,
|
|
VerifiedResourcesModule,
|
|
RouterModule,
|
|
],
|
|
})
|
|
export class EndpointsModule implements NestModule {
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
configure(_consumer: MiddlewareConsumer) {
|
|
// TODO: apply ratelimits
|
|
}
|
|
}
|