Skip to content

Scheduling infrastructure for absolutely everyone.

fix: add locations to event type in response types

Agusti Fernandez Pardo7b90ccb3bffb
diff --git a/lib/types.ts b/lib/types.ts
index cc3f95d7e86..526950d121e 100644
--- a/lib/types.ts
+++ b/lib/types.ts
@@ -127,7 +127,7 @@ export type EventTypeCustomInputsResponse = BaseResponse & {
// EventType
export type EventTypeResponse = BaseResponse & {
- event_type?: Partial<EventType>;
+ event_type?: Partial<EventType & { locations?: object[] }>;
};
export type EventTypesResponse = BaseResponse & {
event_types?: Partial<EventType>[];