From e7a7c89071089878c6a43b693fa6272d593d5612 Mon Sep 17 00:00:00 2001 From: Agusti Fernandez Pardo Date: Wed, 18 May 2022 19:51:40 +0200 Subject: [PATCH] fix add locations metadata and recurring events to eventtype response --- lib/types.ts | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/types.ts b/lib/types.ts index 526950d121..58d4b17a9c 100644 --- a/lib/types.ts +++ b/lib/types.ts @@ -124,13 +124,17 @@ export type EventTypeCustomInputResponse = BaseResponse & { export type EventTypeCustomInputsResponse = BaseResponse & { event_type_custom_inputs?: Partial[]; }; - +export type EventTypeWithMetadataLocations = EventType & { + locations?: object; + metadata?: object; + recurringEvent?: object; +}; // EventType export type EventTypeResponse = BaseResponse & { - event_type?: Partial; + event_type?: Partial; }; export type EventTypesResponse = BaseResponse & { - event_types?: Partial[]; + event_types?: Partial[]; }; // Payment