fix add locations metadata and recurring events to eventtype response

pull/9078/head
Agusti Fernandez Pardo 2022-05-18 19:51:40 +02:00
parent 7b90ccb3bf
commit e7a7c89071
1 changed files with 7 additions and 3 deletions

View File

@ -124,13 +124,17 @@ export type EventTypeCustomInputResponse = BaseResponse & {
export type EventTypeCustomInputsResponse = BaseResponse & {
event_type_custom_inputs?: Partial<EventTypeCustomInput>[];
};
export type EventTypeWithMetadataLocations = EventType & {
locations?: object;
metadata?: object;
recurringEvent?: object;
};
// EventType
export type EventTypeResponse = BaseResponse & {
event_type?: Partial<EventType & { locations?: object[] }>;
event_type?: Partial<EventTypeWithMetadataLocations>;
};
export type EventTypesResponse = BaseResponse & {
event_types?: Partial<EventType>[];
event_types?: Partial<EventTypeWithMetadataLocations>[];
};
// Payment