diff --git a/src/app/core/services/validity-time.interface.ts b/src/app/core/services/validity-time.interface.ts deleted file mode 100644 index 37203ee..0000000 --- a/src/app/core/services/validity-time.interface.ts +++ /dev/null @@ -1,17 +0,0 @@ -export interface TimeWindowValidityTime { - id: number; - type: 'time_window'; - is_valid: boolean; - start_time?: string; - end_time?: string; -} - -export interface FixedWindowValidityTime { - id: number; - type: 'fixed_window'; - is_valid: boolean; - fixed_starts_at?: string; - fixed_expires_at?: string; -} - -export type ValidityTime = TimeWindowValidityTime | FixedWindowValidityTime; diff --git a/src/app/features/store/pages/account-page/pages/tickets-page/ticket.service.ts b/src/app/features/store/pages/account-page/pages/tickets-page/ticket.service.ts index b47c8cb..3c97e50 100644 --- a/src/app/features/store/pages/account-page/pages/tickets-page/ticket.service.ts +++ b/src/app/features/store/pages/account-page/pages/tickets-page/ticket.service.ts @@ -3,16 +3,6 @@ import { firstValueFrom } from 'rxjs'; import { BaseApiService } from '../../../../../../core/services/base-api.service'; import { TenantService } from '../../../../../../core/services/tenant.service'; -import { ValidityTime } from '../../../../../../core/services/validity-time.interface'; - -export interface TicketValidityGroupResponse { - id: number; - validity_times: ValidityTime[]; - starts_at: string | null; - expires_at: string | null; - is_valid: boolean; - is_expired: boolean; -} export interface TicketResponse { id: number; @@ -22,8 +12,6 @@ export interface TicketResponse { description: string | null; source_catalog_item_id: number | null; source_variant_id: number | null; - validity_times?: ValidityTime[]; - validity_groups?: TicketValidityGroupResponse[]; starts_at: string | null; expires_at: string | null; used_at: string | null;