fix add locations metadata and recurring events to eventtype response

This commit is contained in:
Agusti Fernandez Pardo committed 2022-05-18 19:51:40 +02:00
1 parent 7b90ccb3bf
commit e7a7c89071
1 file changed
+7 -3
+7 -3
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