Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove reservee language from graphql #1623

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 0 additions & 22 deletions apps/admin-ui/gql/gql-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2765,7 +2765,6 @@ export type ReservationConfirmMutationPayload = {
reserveeFirstName?: Maybe<Scalars["String"]["output"]>;
reserveeId?: Maybe<Scalars["String"]["output"]>;
reserveeIsUnregisteredAssociation?: Maybe<Scalars["Boolean"]["output"]>;
reserveeLanguage?: Maybe<Scalars["String"]["output"]>;
reserveeLastName?: Maybe<Scalars["String"]["output"]>;
reserveeOrganisationName?: Maybe<Scalars["String"]["output"]>;
reserveePhone?: Maybe<Scalars["String"]["output"]>;
Expand Down Expand Up @@ -2804,7 +2803,6 @@ export type ReservationCreateMutationInput = {
reserveeFirstName?: InputMaybe<Scalars["String"]["input"]>;
reserveeId?: InputMaybe<Scalars["String"]["input"]>;
reserveeIsUnregisteredAssociation?: InputMaybe<Scalars["Boolean"]["input"]>;
reserveeLanguage?: InputMaybe<Scalars["String"]["input"]>;
reserveeLastName?: InputMaybe<Scalars["String"]["input"]>;
reserveeOrganisationName?: InputMaybe<Scalars["String"]["input"]>;
reserveePhone?: InputMaybe<Scalars["String"]["input"]>;
Expand Down Expand Up @@ -2844,7 +2842,6 @@ export type ReservationCreateMutationPayload = {
reserveeFirstName?: Maybe<Scalars["String"]["output"]>;
reserveeId?: Maybe<Scalars["String"]["output"]>;
reserveeIsUnregisteredAssociation?: Maybe<Scalars["Boolean"]["output"]>;
reserveeLanguage?: Maybe<Scalars["String"]["output"]>;
reserveeLastName?: Maybe<Scalars["String"]["output"]>;
reserveeOrganisationName?: Maybe<Scalars["String"]["output"]>;
reserveePhone?: Maybe<Scalars["String"]["output"]>;
Expand Down Expand Up @@ -3291,7 +3288,6 @@ export type ReservationSeriesReservationCreateSerializerInput = {
reserveeFirstName?: InputMaybe<Scalars["String"]["input"]>;
reserveeId?: InputMaybe<Scalars["String"]["input"]>;
reserveeIsUnregisteredAssociation?: InputMaybe<Scalars["Boolean"]["input"]>;
reserveeLanguage?: InputMaybe<ReserveeLanguage>;
reserveeLastName?: InputMaybe<Scalars["String"]["input"]>;
reserveeOrganisationName?: InputMaybe<Scalars["String"]["input"]>;
reserveePhone?: InputMaybe<Scalars["String"]["input"]>;
Expand Down Expand Up @@ -3371,7 +3367,6 @@ export type ReservationStaffCreateMutationInput = {
reserveeFirstName?: InputMaybe<Scalars["String"]["input"]>;
reserveeId?: InputMaybe<Scalars["String"]["input"]>;
reserveeIsUnregisteredAssociation?: InputMaybe<Scalars["Boolean"]["input"]>;
reserveeLanguage?: InputMaybe<Scalars["String"]["input"]>;
reserveeLastName?: InputMaybe<Scalars["String"]["input"]>;
reserveeOrganisationName?: InputMaybe<Scalars["String"]["input"]>;
reserveePhone?: InputMaybe<Scalars["String"]["input"]>;
Expand Down Expand Up @@ -3415,7 +3410,6 @@ export type ReservationStaffCreateMutationPayload = {
reserveeFirstName?: Maybe<Scalars["String"]["output"]>;
reserveeId?: Maybe<Scalars["String"]["output"]>;
reserveeIsUnregisteredAssociation?: Maybe<Scalars["Boolean"]["output"]>;
reserveeLanguage?: Maybe<Scalars["String"]["output"]>;
reserveeLastName?: Maybe<Scalars["String"]["output"]>;
reserveeOrganisationName?: Maybe<Scalars["String"]["output"]>;
reserveePhone?: Maybe<Scalars["String"]["output"]>;
Expand Down Expand Up @@ -3451,7 +3445,6 @@ export type ReservationStaffModifyMutationInput = {
reserveeFirstName?: InputMaybe<Scalars["String"]["input"]>;
reserveeId?: InputMaybe<Scalars["String"]["input"]>;
reserveeIsUnregisteredAssociation?: InputMaybe<Scalars["Boolean"]["input"]>;
reserveeLanguage?: InputMaybe<ReserveeLanguage>;
reserveeLastName?: InputMaybe<Scalars["String"]["input"]>;
reserveeOrganisationName?: InputMaybe<Scalars["String"]["input"]>;
reserveePhone?: InputMaybe<Scalars["String"]["input"]>;
Expand Down Expand Up @@ -3493,7 +3486,6 @@ export type ReservationStaffModifyMutationPayload = {
reserveeFirstName?: Maybe<Scalars["String"]["output"]>;
reserveeId?: Maybe<Scalars["String"]["output"]>;
reserveeIsUnregisteredAssociation?: Maybe<Scalars["Boolean"]["output"]>;
reserveeLanguage?: Maybe<ReserveeLanguage>;
reserveeLastName?: Maybe<Scalars["String"]["output"]>;
reserveeOrganisationName?: Maybe<Scalars["String"]["output"]>;
reserveePhone?: Maybe<Scalars["String"]["output"]>;
Expand Down Expand Up @@ -4372,7 +4364,6 @@ export type ReservationUpdateMutationInput = {
reserveeFirstName?: InputMaybe<Scalars["String"]["input"]>;
reserveeId?: InputMaybe<Scalars["String"]["input"]>;
reserveeIsUnregisteredAssociation?: InputMaybe<Scalars["Boolean"]["input"]>;
reserveeLanguage?: InputMaybe<Scalars["String"]["input"]>;
reserveeLastName?: InputMaybe<Scalars["String"]["input"]>;
reserveeOrganisationName?: InputMaybe<Scalars["String"]["input"]>;
reserveePhone?: InputMaybe<Scalars["String"]["input"]>;
Expand Down Expand Up @@ -4413,7 +4404,6 @@ export type ReservationUpdateMutationPayload = {
reserveeFirstName?: Maybe<Scalars["String"]["output"]>;
reserveeId?: Maybe<Scalars["String"]["output"]>;
reserveeIsUnregisteredAssociation?: Maybe<Scalars["Boolean"]["output"]>;
reserveeLanguage?: Maybe<Scalars["String"]["output"]>;
reserveeLastName?: Maybe<Scalars["String"]["output"]>;
reserveeOrganisationName?: Maybe<Scalars["String"]["output"]>;
reserveePhone?: Maybe<Scalars["String"]["output"]>;
Expand All @@ -4435,17 +4425,6 @@ export type ReservationWorkingMemoMutationPayload = {
workingMemo?: Maybe<Scalars["String"]["output"]>;
};

/** An enumeration. */
export enum ReserveeLanguage {
A = "A_",
/** Englanti */
En = "EN",
/** Suomi */
Fi = "FI",
/** Ruotsi */
Sv = "SV",
}

/** An enumeration. */
export enum ReserveeType {
/** Yritys */
Expand Down Expand Up @@ -5200,7 +5179,6 @@ export type UpdateReservationSeriesReservationUpdateSerializerInput = {
reserveeFirstName?: InputMaybe<Scalars["String"]["input"]>;
reserveeId?: InputMaybe<Scalars["String"]["input"]>;
reserveeIsUnregisteredAssociation?: InputMaybe<Scalars["Boolean"]["input"]>;
reserveeLanguage?: InputMaybe<ReserveeLanguage>;
reserveeLastName?: InputMaybe<Scalars["String"]["input"]>;
reserveeOrganisationName?: InputMaybe<Scalars["String"]["input"]>;
reserveePhone?: InputMaybe<Scalars["String"]["input"]>;
Expand Down
22 changes: 0 additions & 22 deletions apps/ui/gql/gql-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2765,7 +2765,6 @@ export type ReservationConfirmMutationPayload = {
reserveeFirstName?: Maybe<Scalars["String"]["output"]>;
reserveeId?: Maybe<Scalars["String"]["output"]>;
reserveeIsUnregisteredAssociation?: Maybe<Scalars["Boolean"]["output"]>;
reserveeLanguage?: Maybe<Scalars["String"]["output"]>;
reserveeLastName?: Maybe<Scalars["String"]["output"]>;
reserveeOrganisationName?: Maybe<Scalars["String"]["output"]>;
reserveePhone?: Maybe<Scalars["String"]["output"]>;
Expand Down Expand Up @@ -2804,7 +2803,6 @@ export type ReservationCreateMutationInput = {
reserveeFirstName?: InputMaybe<Scalars["String"]["input"]>;
reserveeId?: InputMaybe<Scalars["String"]["input"]>;
reserveeIsUnregisteredAssociation?: InputMaybe<Scalars["Boolean"]["input"]>;
reserveeLanguage?: InputMaybe<Scalars["String"]["input"]>;
reserveeLastName?: InputMaybe<Scalars["String"]["input"]>;
reserveeOrganisationName?: InputMaybe<Scalars["String"]["input"]>;
reserveePhone?: InputMaybe<Scalars["String"]["input"]>;
Expand Down Expand Up @@ -2844,7 +2842,6 @@ export type ReservationCreateMutationPayload = {
reserveeFirstName?: Maybe<Scalars["String"]["output"]>;
reserveeId?: Maybe<Scalars["String"]["output"]>;
reserveeIsUnregisteredAssociation?: Maybe<Scalars["Boolean"]["output"]>;
reserveeLanguage?: Maybe<Scalars["String"]["output"]>;
reserveeLastName?: Maybe<Scalars["String"]["output"]>;
reserveeOrganisationName?: Maybe<Scalars["String"]["output"]>;
reserveePhone?: Maybe<Scalars["String"]["output"]>;
Expand Down Expand Up @@ -3291,7 +3288,6 @@ export type ReservationSeriesReservationCreateSerializerInput = {
reserveeFirstName?: InputMaybe<Scalars["String"]["input"]>;
reserveeId?: InputMaybe<Scalars["String"]["input"]>;
reserveeIsUnregisteredAssociation?: InputMaybe<Scalars["Boolean"]["input"]>;
reserveeLanguage?: InputMaybe<ReserveeLanguage>;
reserveeLastName?: InputMaybe<Scalars["String"]["input"]>;
reserveeOrganisationName?: InputMaybe<Scalars["String"]["input"]>;
reserveePhone?: InputMaybe<Scalars["String"]["input"]>;
Expand Down Expand Up @@ -3371,7 +3367,6 @@ export type ReservationStaffCreateMutationInput = {
reserveeFirstName?: InputMaybe<Scalars["String"]["input"]>;
reserveeId?: InputMaybe<Scalars["String"]["input"]>;
reserveeIsUnregisteredAssociation?: InputMaybe<Scalars["Boolean"]["input"]>;
reserveeLanguage?: InputMaybe<Scalars["String"]["input"]>;
reserveeLastName?: InputMaybe<Scalars["String"]["input"]>;
reserveeOrganisationName?: InputMaybe<Scalars["String"]["input"]>;
reserveePhone?: InputMaybe<Scalars["String"]["input"]>;
Expand Down Expand Up @@ -3415,7 +3410,6 @@ export type ReservationStaffCreateMutationPayload = {
reserveeFirstName?: Maybe<Scalars["String"]["output"]>;
reserveeId?: Maybe<Scalars["String"]["output"]>;
reserveeIsUnregisteredAssociation?: Maybe<Scalars["Boolean"]["output"]>;
reserveeLanguage?: Maybe<Scalars["String"]["output"]>;
reserveeLastName?: Maybe<Scalars["String"]["output"]>;
reserveeOrganisationName?: Maybe<Scalars["String"]["output"]>;
reserveePhone?: Maybe<Scalars["String"]["output"]>;
Expand Down Expand Up @@ -3451,7 +3445,6 @@ export type ReservationStaffModifyMutationInput = {
reserveeFirstName?: InputMaybe<Scalars["String"]["input"]>;
reserveeId?: InputMaybe<Scalars["String"]["input"]>;
reserveeIsUnregisteredAssociation?: InputMaybe<Scalars["Boolean"]["input"]>;
reserveeLanguage?: InputMaybe<ReserveeLanguage>;
reserveeLastName?: InputMaybe<Scalars["String"]["input"]>;
reserveeOrganisationName?: InputMaybe<Scalars["String"]["input"]>;
reserveePhone?: InputMaybe<Scalars["String"]["input"]>;
Expand Down Expand Up @@ -3493,7 +3486,6 @@ export type ReservationStaffModifyMutationPayload = {
reserveeFirstName?: Maybe<Scalars["String"]["output"]>;
reserveeId?: Maybe<Scalars["String"]["output"]>;
reserveeIsUnregisteredAssociation?: Maybe<Scalars["Boolean"]["output"]>;
reserveeLanguage?: Maybe<ReserveeLanguage>;
reserveeLastName?: Maybe<Scalars["String"]["output"]>;
reserveeOrganisationName?: Maybe<Scalars["String"]["output"]>;
reserveePhone?: Maybe<Scalars["String"]["output"]>;
Expand Down Expand Up @@ -4372,7 +4364,6 @@ export type ReservationUpdateMutationInput = {
reserveeFirstName?: InputMaybe<Scalars["String"]["input"]>;
reserveeId?: InputMaybe<Scalars["String"]["input"]>;
reserveeIsUnregisteredAssociation?: InputMaybe<Scalars["Boolean"]["input"]>;
reserveeLanguage?: InputMaybe<Scalars["String"]["input"]>;
reserveeLastName?: InputMaybe<Scalars["String"]["input"]>;
reserveeOrganisationName?: InputMaybe<Scalars["String"]["input"]>;
reserveePhone?: InputMaybe<Scalars["String"]["input"]>;
Expand Down Expand Up @@ -4413,7 +4404,6 @@ export type ReservationUpdateMutationPayload = {
reserveeFirstName?: Maybe<Scalars["String"]["output"]>;
reserveeId?: Maybe<Scalars["String"]["output"]>;
reserveeIsUnregisteredAssociation?: Maybe<Scalars["Boolean"]["output"]>;
reserveeLanguage?: Maybe<Scalars["String"]["output"]>;
reserveeLastName?: Maybe<Scalars["String"]["output"]>;
reserveeOrganisationName?: Maybe<Scalars["String"]["output"]>;
reserveePhone?: Maybe<Scalars["String"]["output"]>;
Expand All @@ -4435,17 +4425,6 @@ export type ReservationWorkingMemoMutationPayload = {
workingMemo?: Maybe<Scalars["String"]["output"]>;
};

/** An enumeration. */
export enum ReserveeLanguage {
A = "A_",
/** Englanti */
En = "EN",
/** Suomi */
Fi = "FI",
/** Ruotsi */
Sv = "SV",
}

/** An enumeration. */
export enum ReserveeType {
/** Yritys */
Expand Down Expand Up @@ -5200,7 +5179,6 @@ export type UpdateReservationSeriesReservationUpdateSerializerInput = {
reserveeFirstName?: InputMaybe<Scalars["String"]["input"]>;
reserveeId?: InputMaybe<Scalars["String"]["input"]>;
reserveeIsUnregisteredAssociation?: InputMaybe<Scalars["Boolean"]["input"]>;
reserveeLanguage?: InputMaybe<ReserveeLanguage>;
reserveeLastName?: InputMaybe<Scalars["String"]["input"]>;
reserveeOrganisationName?: InputMaybe<Scalars["String"]["input"]>;
reserveePhone?: InputMaybe<Scalars["String"]["input"]>;
Expand Down
1 change: 0 additions & 1 deletion apps/ui/pages/reservation-unit/[...params].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,6 @@ function NewReservation(props: PropsNarrowed): JSX.Element | null {
input: {
pk: reservationPk ?? 0,
...input,
reserveeLanguage: i18n.language,
},
},
});
Expand Down
22 changes: 0 additions & 22 deletions packages/common/gql/gql-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2765,7 +2765,6 @@ export type ReservationConfirmMutationPayload = {
reserveeFirstName?: Maybe<Scalars["String"]["output"]>;
reserveeId?: Maybe<Scalars["String"]["output"]>;
reserveeIsUnregisteredAssociation?: Maybe<Scalars["Boolean"]["output"]>;
reserveeLanguage?: Maybe<Scalars["String"]["output"]>;
reserveeLastName?: Maybe<Scalars["String"]["output"]>;
reserveeOrganisationName?: Maybe<Scalars["String"]["output"]>;
reserveePhone?: Maybe<Scalars["String"]["output"]>;
Expand Down Expand Up @@ -2804,7 +2803,6 @@ export type ReservationCreateMutationInput = {
reserveeFirstName?: InputMaybe<Scalars["String"]["input"]>;
reserveeId?: InputMaybe<Scalars["String"]["input"]>;
reserveeIsUnregisteredAssociation?: InputMaybe<Scalars["Boolean"]["input"]>;
reserveeLanguage?: InputMaybe<Scalars["String"]["input"]>;
reserveeLastName?: InputMaybe<Scalars["String"]["input"]>;
reserveeOrganisationName?: InputMaybe<Scalars["String"]["input"]>;
reserveePhone?: InputMaybe<Scalars["String"]["input"]>;
Expand Down Expand Up @@ -2844,7 +2842,6 @@ export type ReservationCreateMutationPayload = {
reserveeFirstName?: Maybe<Scalars["String"]["output"]>;
reserveeId?: Maybe<Scalars["String"]["output"]>;
reserveeIsUnregisteredAssociation?: Maybe<Scalars["Boolean"]["output"]>;
reserveeLanguage?: Maybe<Scalars["String"]["output"]>;
reserveeLastName?: Maybe<Scalars["String"]["output"]>;
reserveeOrganisationName?: Maybe<Scalars["String"]["output"]>;
reserveePhone?: Maybe<Scalars["String"]["output"]>;
Expand Down Expand Up @@ -3291,7 +3288,6 @@ export type ReservationSeriesReservationCreateSerializerInput = {
reserveeFirstName?: InputMaybe<Scalars["String"]["input"]>;
reserveeId?: InputMaybe<Scalars["String"]["input"]>;
reserveeIsUnregisteredAssociation?: InputMaybe<Scalars["Boolean"]["input"]>;
reserveeLanguage?: InputMaybe<ReserveeLanguage>;
reserveeLastName?: InputMaybe<Scalars["String"]["input"]>;
reserveeOrganisationName?: InputMaybe<Scalars["String"]["input"]>;
reserveePhone?: InputMaybe<Scalars["String"]["input"]>;
Expand Down Expand Up @@ -3371,7 +3367,6 @@ export type ReservationStaffCreateMutationInput = {
reserveeFirstName?: InputMaybe<Scalars["String"]["input"]>;
reserveeId?: InputMaybe<Scalars["String"]["input"]>;
reserveeIsUnregisteredAssociation?: InputMaybe<Scalars["Boolean"]["input"]>;
reserveeLanguage?: InputMaybe<Scalars["String"]["input"]>;
reserveeLastName?: InputMaybe<Scalars["String"]["input"]>;
reserveeOrganisationName?: InputMaybe<Scalars["String"]["input"]>;
reserveePhone?: InputMaybe<Scalars["String"]["input"]>;
Expand Down Expand Up @@ -3415,7 +3410,6 @@ export type ReservationStaffCreateMutationPayload = {
reserveeFirstName?: Maybe<Scalars["String"]["output"]>;
reserveeId?: Maybe<Scalars["String"]["output"]>;
reserveeIsUnregisteredAssociation?: Maybe<Scalars["Boolean"]["output"]>;
reserveeLanguage?: Maybe<Scalars["String"]["output"]>;
reserveeLastName?: Maybe<Scalars["String"]["output"]>;
reserveeOrganisationName?: Maybe<Scalars["String"]["output"]>;
reserveePhone?: Maybe<Scalars["String"]["output"]>;
Expand Down Expand Up @@ -3451,7 +3445,6 @@ export type ReservationStaffModifyMutationInput = {
reserveeFirstName?: InputMaybe<Scalars["String"]["input"]>;
reserveeId?: InputMaybe<Scalars["String"]["input"]>;
reserveeIsUnregisteredAssociation?: InputMaybe<Scalars["Boolean"]["input"]>;
reserveeLanguage?: InputMaybe<ReserveeLanguage>;
reserveeLastName?: InputMaybe<Scalars["String"]["input"]>;
reserveeOrganisationName?: InputMaybe<Scalars["String"]["input"]>;
reserveePhone?: InputMaybe<Scalars["String"]["input"]>;
Expand Down Expand Up @@ -3493,7 +3486,6 @@ export type ReservationStaffModifyMutationPayload = {
reserveeFirstName?: Maybe<Scalars["String"]["output"]>;
reserveeId?: Maybe<Scalars["String"]["output"]>;
reserveeIsUnregisteredAssociation?: Maybe<Scalars["Boolean"]["output"]>;
reserveeLanguage?: Maybe<ReserveeLanguage>;
reserveeLastName?: Maybe<Scalars["String"]["output"]>;
reserveeOrganisationName?: Maybe<Scalars["String"]["output"]>;
reserveePhone?: Maybe<Scalars["String"]["output"]>;
Expand Down Expand Up @@ -4372,7 +4364,6 @@ export type ReservationUpdateMutationInput = {
reserveeFirstName?: InputMaybe<Scalars["String"]["input"]>;
reserveeId?: InputMaybe<Scalars["String"]["input"]>;
reserveeIsUnregisteredAssociation?: InputMaybe<Scalars["Boolean"]["input"]>;
reserveeLanguage?: InputMaybe<Scalars["String"]["input"]>;
reserveeLastName?: InputMaybe<Scalars["String"]["input"]>;
reserveeOrganisationName?: InputMaybe<Scalars["String"]["input"]>;
reserveePhone?: InputMaybe<Scalars["String"]["input"]>;
Expand Down Expand Up @@ -4413,7 +4404,6 @@ export type ReservationUpdateMutationPayload = {
reserveeFirstName?: Maybe<Scalars["String"]["output"]>;
reserveeId?: Maybe<Scalars["String"]["output"]>;
reserveeIsUnregisteredAssociation?: Maybe<Scalars["Boolean"]["output"]>;
reserveeLanguage?: Maybe<Scalars["String"]["output"]>;
reserveeLastName?: Maybe<Scalars["String"]["output"]>;
reserveeOrganisationName?: Maybe<Scalars["String"]["output"]>;
reserveePhone?: Maybe<Scalars["String"]["output"]>;
Expand All @@ -4435,17 +4425,6 @@ export type ReservationWorkingMemoMutationPayload = {
workingMemo?: Maybe<Scalars["String"]["output"]>;
};

/** An enumeration. */
export enum ReserveeLanguage {
A = "A_",
/** Englanti */
En = "EN",
/** Suomi */
Fi = "FI",
/** Ruotsi */
Sv = "SV",
}

/** An enumeration. */
export enum ReserveeType {
/** Yritys */
Expand Down Expand Up @@ -5200,7 +5179,6 @@ export type UpdateReservationSeriesReservationUpdateSerializerInput = {
reserveeFirstName?: InputMaybe<Scalars["String"]["input"]>;
reserveeId?: InputMaybe<Scalars["String"]["input"]>;
reserveeIsUnregisteredAssociation?: InputMaybe<Scalars["Boolean"]["input"]>;
reserveeLanguage?: InputMaybe<ReserveeLanguage>;
reserveeLastName?: InputMaybe<Scalars["String"]["input"]>;
reserveeOrganisationName?: InputMaybe<Scalars["String"]["input"]>;
reserveePhone?: InputMaybe<Scalars["String"]["input"]>;
Expand Down
Loading
Loading