|
| 1 | +/* tslint:disable */ |
| 2 | +/* eslint-disable */ |
| 3 | +// @generated |
| 4 | +// This file was automatically generated and should not be edited. |
| 5 | + |
| 6 | +import { Language } from "./globalTypes"; |
| 7 | + |
| 8 | +// ==================================================== |
| 9 | +// GraphQL fragment: OccurrenceFragment |
| 10 | +// ==================================================== |
| 11 | + |
| 12 | +export interface OccurrenceFragment_event { |
| 13 | + /** |
| 14 | + * The ID of the object. |
| 15 | + */ |
| 16 | + id: string; |
| 17 | + capacityPerOccurrence: number; |
| 18 | + /** |
| 19 | + * In minutes |
| 20 | + */ |
| 21 | + duration: number | null; |
| 22 | + publishedAt: any | null; |
| 23 | +} |
| 24 | + |
| 25 | +export interface OccurrenceFragment_venue_translations { |
| 26 | + languageCode: Language; |
| 27 | + name: string; |
| 28 | +} |
| 29 | + |
| 30 | +export interface OccurrenceFragment_venue { |
| 31 | + /** |
| 32 | + * The ID of the object. |
| 33 | + */ |
| 34 | + id: string; |
| 35 | + translations: OccurrenceFragment_venue_translations[]; |
| 36 | +} |
| 37 | + |
| 38 | +export interface OccurrenceFragment_enrolments_edges_node_child_guardians_edges_node { |
| 39 | + /** |
| 40 | + * The ID of the object. |
| 41 | + */ |
| 42 | + id: string; |
| 43 | + /** |
| 44 | + * If left blank, will be populated with the user's email. |
| 45 | + */ |
| 46 | + email: string; |
| 47 | + firstName: string; |
| 48 | + lastName: string; |
| 49 | + language: Language; |
| 50 | +} |
| 51 | + |
| 52 | +export interface OccurrenceFragment_enrolments_edges_node_child_guardians_edges { |
| 53 | + /** |
| 54 | + * The item at the end of the edge |
| 55 | + */ |
| 56 | + node: OccurrenceFragment_enrolments_edges_node_child_guardians_edges_node | null; |
| 57 | +} |
| 58 | + |
| 59 | +export interface OccurrenceFragment_enrolments_edges_node_child_guardians { |
| 60 | + /** |
| 61 | + * Contains the nodes in this connection. |
| 62 | + */ |
| 63 | + edges: (OccurrenceFragment_enrolments_edges_node_child_guardians_edges | null)[]; |
| 64 | +} |
| 65 | + |
| 66 | +export interface OccurrenceFragment_enrolments_edges_node_child { |
| 67 | + firstName: string; |
| 68 | + lastName: string; |
| 69 | + birthdate: any; |
| 70 | + guardians: OccurrenceFragment_enrolments_edges_node_child_guardians; |
| 71 | +} |
| 72 | + |
| 73 | +export interface OccurrenceFragment_enrolments_edges_node { |
| 74 | + /** |
| 75 | + * The ID of the object. |
| 76 | + */ |
| 77 | + id: string; |
| 78 | + attended: boolean | null; |
| 79 | + child: OccurrenceFragment_enrolments_edges_node_child; |
| 80 | +} |
| 81 | + |
| 82 | +export interface OccurrenceFragment_enrolments_edges { |
| 83 | + /** |
| 84 | + * The item at the end of the edge |
| 85 | + */ |
| 86 | + node: OccurrenceFragment_enrolments_edges_node | null; |
| 87 | +} |
| 88 | + |
| 89 | +export interface OccurrenceFragment_enrolments { |
| 90 | + /** |
| 91 | + * Contains the nodes in this connection. |
| 92 | + */ |
| 93 | + edges: (OccurrenceFragment_enrolments_edges | null)[]; |
| 94 | +} |
| 95 | + |
| 96 | +export interface OccurrenceFragment_freeSpotNotificationSubscriptions_edges_node { |
| 97 | + /** |
| 98 | + * The ID of the object. |
| 99 | + */ |
| 100 | + id: string; |
| 101 | +} |
| 102 | + |
| 103 | +export interface OccurrenceFragment_freeSpotNotificationSubscriptions_edges { |
| 104 | + /** |
| 105 | + * The item at the end of the edge |
| 106 | + */ |
| 107 | + node: OccurrenceFragment_freeSpotNotificationSubscriptions_edges_node | null; |
| 108 | +} |
| 109 | + |
| 110 | +export interface OccurrenceFragment_freeSpotNotificationSubscriptions { |
| 111 | + /** |
| 112 | + * Contains the nodes in this connection. |
| 113 | + */ |
| 114 | + edges: (OccurrenceFragment_freeSpotNotificationSubscriptions_edges | null)[]; |
| 115 | +} |
| 116 | + |
| 117 | +export interface OccurrenceFragment { |
| 118 | + /** |
| 119 | + * The ID of the object. |
| 120 | + */ |
| 121 | + id: string; |
| 122 | + time: any; |
| 123 | + event: OccurrenceFragment_event; |
| 124 | + enrolmentCount: number; |
| 125 | + capacity: number | null; |
| 126 | + /** |
| 127 | + * When set will be used as the capacity of this occurrence instead of the value coming from the event. |
| 128 | + */ |
| 129 | + capacityOverride: number | null; |
| 130 | + venue: OccurrenceFragment_venue; |
| 131 | + enrolments: OccurrenceFragment_enrolments; |
| 132 | + freeSpotNotificationSubscriptions: OccurrenceFragment_freeSpotNotificationSubscriptions; |
| 133 | +} |
0 commit comments