Skip to content

Commit

Permalink
chore: update gql types to v0.76.1 core
Browse files Browse the repository at this point in the history
  • Loading branch information
joonatank committed Nov 15, 2024
1 parent 9dd73d1 commit 3b7e1c4
Show file tree
Hide file tree
Showing 4 changed files with 513 additions and 0 deletions.
126 changes: 126 additions & 0 deletions apps/admin-ui/gql/gql-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -622,6 +622,17 @@ export enum ApplicationSectionOrderingChoices {
StatusDesc = "statusDesc",
}

export type ApplicationSectionReservationCancellationMutationInput = {
cancelDetails?: InputMaybe<Scalars["String"]["input"]>;
cancelReason: Scalars["Int"]["input"];
pk: Scalars["Int"]["input"];
};

export type ApplicationSectionReservationCancellationMutationPayload = {
cancelled?: Maybe<Scalars["Int"]["output"]>;
future?: Maybe<Scalars["Int"]["output"]>;
};

/** An enumeration. */
export enum ApplicationSectionStatusChoice {
Handled = "HANDLED",
Expand Down Expand Up @@ -913,6 +924,17 @@ export enum CustomerTypeChoice {
Nonprofit = "NONPROFIT",
}

/** This Node should be kept to the bare minimum and never expose any relations to avoid performance issues. */
export type EquipmentAllNode = Node & {
/** The ID of the object */
id: Scalars["ID"]["output"];
name: Scalars["String"]["output"];
nameEn?: Maybe<Scalars["String"]["output"]>;
nameFi?: Maybe<Scalars["String"]["output"]>;
nameSv?: Maybe<Scalars["String"]["output"]>;
pk?: Maybe<Scalars["Int"]["output"]>;
};

export type EquipmentCategoryCreateMutationInput = {
name: Scalars["String"]["input"];
nameEn?: InputMaybe<Scalars["String"]["input"]>;
Expand Down Expand Up @@ -1044,6 +1066,12 @@ export enum EquipmentOrderingChoices {
CategoryRankDesc = "categoryRankDesc",
NameAsc = "nameAsc",
NameDesc = "nameDesc",
NameEnAsc = "nameEnAsc",
NameEnDesc = "nameEnDesc",
NameFiAsc = "nameFiAsc",
NameFiDesc = "nameFiDesc",
NameSvAsc = "nameSvAsc",
NameSvDesc = "nameSvDesc",
}

export type EquipmentUpdateMutationInput = {
Expand Down Expand Up @@ -1247,6 +1275,7 @@ export enum LoginMethod {
export type Mutation = {
adjustReservationTime?: Maybe<ReservationAdjustTimeMutationPayload>;
approveReservation?: Maybe<ReservationApproveMutationPayload>;
cancelAllApplicationSectionReservations?: Maybe<ApplicationSectionReservationCancellationMutationPayload>;
cancelApplication?: Maybe<ApplicationCancelMutationPayload>;
cancelReservation?: Maybe<ReservationCancellationMutationPayload>;
confirmReservation?: Maybe<ReservationConfirmMutationPayload>;
Expand Down Expand Up @@ -1274,6 +1303,7 @@ export type Mutation = {
deleteResource?: Maybe<ResourceDeleteMutationPayload>;
deleteSpace?: Maybe<SpaceDeleteMutationPayload>;
denyReservation?: Maybe<ReservationDenyMutationPayload>;
denyReservationSeries?: Maybe<ReservationSeriesDenyMutationPayload>;
refreshOrder?: Maybe<RefreshOrderMutationPayload>;
refundReservation?: Maybe<ReservationRefundMutationPayload>;
rejectAllApplicationOptions?: Maybe<RejectAllApplicationOptionsMutationPayload>;
Expand All @@ -1284,6 +1314,7 @@ export type Mutation = {
restoreAllSectionOptions?: Maybe<RestoreAllSectionOptionsMutationPayload>;
sendApplication?: Maybe<ApplicationSendMutationPayload>;
setApplicationRoundHandled?: Maybe<SetApplicationRoundHandledMutationPayload>;
setApplicationRoundResultsSent?: Maybe<SetApplicationRoundResultsSentMutationPayload>;
staffAdjustReservationTime?: Maybe<ReservationStaffAdjustTimeMutationPayload>;
staffReservationModify?: Maybe<ReservationStaffModifyMutationPayload>;
updateApplication?: Maybe<ApplicationUpdateMutationPayload>;
Expand Down Expand Up @@ -1313,6 +1344,10 @@ export type MutationApproveReservationArgs = {
input: ReservationApproveMutationInput;
};

export type MutationCancelAllApplicationSectionReservationsArgs = {
input: ApplicationSectionReservationCancellationMutationInput;
};

export type MutationCancelApplicationArgs = {
input: ApplicationCancelMutationInput;
};
Expand Down Expand Up @@ -1421,6 +1456,10 @@ export type MutationDenyReservationArgs = {
input: ReservationDenyMutationInput;
};

export type MutationDenyReservationSeriesArgs = {
input: ReservationSeriesDenyMutationInput;
};

export type MutationRefreshOrderArgs = {
input: RefreshOrderMutationInput;
};
Expand Down Expand Up @@ -1461,6 +1500,10 @@ export type MutationSetApplicationRoundHandledArgs = {
input: SetApplicationRoundHandledMutationInput;
};

export type MutationSetApplicationRoundResultsSentArgs = {
input: SetApplicationRoundResultsSentMutationInput;
};

export type MutationStaffAdjustReservationTimeArgs = {
input: ReservationStaffAdjustTimeMutationInput;
};
Expand Down Expand Up @@ -1847,6 +1890,7 @@ export type Query = {
equipmentCategories?: Maybe<EquipmentCategoryNodeConnection>;
equipmentCategory?: Maybe<EquipmentCategoryNode>;
equipments?: Maybe<EquipmentNodeConnection>;
equipmentsAll?: Maybe<Array<EquipmentAllNode>>;
keywordCategories?: Maybe<KeywordCategoryNodeConnection>;
keywordGroups?: Maybe<KeywordGroupNodeConnection>;
keywords?: Maybe<KeywordNodeConnection>;
Expand All @@ -1868,6 +1912,7 @@ export type Query = {
reservationUnitCancellationRules?: Maybe<ReservationUnitCancellationRuleNodeConnection>;
reservationUnitTypes?: Maybe<ReservationUnitTypeNodeConnection>;
reservationUnits?: Maybe<ReservationUnitNodeConnection>;
reservationUnitsAll?: Maybe<Array<ReservationUnitAllNode>>;
reservations?: Maybe<ReservationNodeConnection>;
resource?: Maybe<ResourceNode>;
resources?: Maybe<ResourceNodeConnection>;
Expand All @@ -1879,6 +1924,7 @@ export type Query = {
unit?: Maybe<UnitNode>;
unitGroups?: Maybe<UnitGroupNodeConnection>;
units?: Maybe<UnitNodeConnection>;
unitsAll?: Maybe<Array<UnitAllNode>>;
user?: Maybe<UserNode>;
};

Expand Down Expand Up @@ -1962,6 +2008,7 @@ export type QueryApplicationRoundsArgs = {
last?: InputMaybe<Scalars["Int"]["input"]>;
name?: InputMaybe<Scalars["String"]["input"]>;
offset?: InputMaybe<Scalars["Int"]["input"]>;
ongoing?: InputMaybe<Scalars["Boolean"]["input"]>;
onlyWithPermissions?: InputMaybe<Scalars["Boolean"]["input"]>;
orderBy?: InputMaybe<Array<InputMaybe<ApplicationRoundOrderingChoices>>>;
pk?: InputMaybe<Array<InputMaybe<Scalars["Int"]["input"]>>>;
Expand Down Expand Up @@ -2083,6 +2130,10 @@ export type QueryEquipmentsArgs = {
rankLte?: InputMaybe<Scalars["Decimal"]["input"]>;
};

export type QueryEquipmentsAllArgs = {
orderBy?: InputMaybe<Array<InputMaybe<EquipmentOrderingChoices>>>;
};

export type QueryKeywordCategoriesArgs = {
after?: InputMaybe<Scalars["String"]["input"]>;
before?: InputMaybe<Scalars["String"]["input"]>;
Expand Down Expand Up @@ -2348,6 +2399,21 @@ export type QueryReservationUnitsArgs = {
unit?: InputMaybe<Array<InputMaybe<Scalars["Int"]["input"]>>>;
};

export type QueryReservationUnitsAllArgs = {
nameEn?: InputMaybe<Scalars["String"]["input"]>;
nameEn_Icontains?: InputMaybe<Scalars["String"]["input"]>;
nameEn_Istartswith?: InputMaybe<Scalars["String"]["input"]>;
nameFi?: InputMaybe<Scalars["String"]["input"]>;
nameFi_Icontains?: InputMaybe<Scalars["String"]["input"]>;
nameFi_Istartswith?: InputMaybe<Scalars["String"]["input"]>;
nameSv?: InputMaybe<Scalars["String"]["input"]>;
nameSv_Icontains?: InputMaybe<Scalars["String"]["input"]>;
nameSv_Istartswith?: InputMaybe<Scalars["String"]["input"]>;
onlyWithPermission?: InputMaybe<Scalars["Boolean"]["input"]>;
orderBy?: InputMaybe<Array<InputMaybe<ReservationUnitOrderingChoices>>>;
unit?: InputMaybe<Array<InputMaybe<Scalars["Int"]["input"]>>>;
};

export type QueryReservationsArgs = {
after?: InputMaybe<Scalars["String"]["input"]>;
applyingForFreeOfCharge?: InputMaybe<Scalars["Boolean"]["input"]>;
Expand Down Expand Up @@ -2495,6 +2561,21 @@ export type QueryUnitsArgs = {
serviceSector?: InputMaybe<Scalars["Decimal"]["input"]>;
};

export type QueryUnitsAllArgs = {
nameEn?: InputMaybe<Scalars["String"]["input"]>;
nameEn_Icontains?: InputMaybe<Scalars["String"]["input"]>;
nameEn_Istartswith?: InputMaybe<Scalars["String"]["input"]>;
nameFi?: InputMaybe<Scalars["String"]["input"]>;
nameFi_Icontains?: InputMaybe<Scalars["String"]["input"]>;
nameFi_Istartswith?: InputMaybe<Scalars["String"]["input"]>;
nameSv?: InputMaybe<Scalars["String"]["input"]>;
nameSv_Icontains?: InputMaybe<Scalars["String"]["input"]>;
nameSv_Istartswith?: InputMaybe<Scalars["String"]["input"]>;
onlyWithPermission?: InputMaybe<Scalars["Boolean"]["input"]>;
orderBy?: InputMaybe<Array<InputMaybe<UnitOrderingChoices>>>;
unit?: InputMaybe<Array<InputMaybe<Scalars["Int"]["input"]>>>;
};

export type QueryUserArgs = {
id: Scalars["ID"]["input"];
};
Expand Down Expand Up @@ -2679,6 +2760,8 @@ export enum RejectedOccurrenceOrderingChoices {
ReservationUnitNameDesc = "reservationUnitNameDesc",
ReservationUnitPkAsc = "reservationUnitPkAsc",
ReservationUnitPkDesc = "reservationUnitPkDesc",
UnitNameAsc = "unitNameAsc",
UnitNameDesc = "unitNameDesc",
UnitPkAsc = "unitPkAsc",
UnitPkDesc = "unitPkDesc",
}
Expand Down Expand Up @@ -3263,6 +3346,17 @@ export type ReservationSeriesCreateMutationPayload = {
weekdays?: Maybe<Array<Maybe<Scalars["Int"]["output"]>>>;
};

export type ReservationSeriesDenyMutationInput = {
denyReason: Scalars["Int"]["input"];
handlingDetails?: InputMaybe<Scalars["String"]["input"]>;
pk: Scalars["Int"]["input"];
};

export type ReservationSeriesDenyMutationPayload = {
denied?: Maybe<Scalars["Int"]["output"]>;
future?: Maybe<Scalars["Int"]["output"]>;
};

export type ReservationSeriesRescheduleMutationInput = {
beginDate?: InputMaybe<Scalars["Date"]["input"]>;
beginTime?: InputMaybe<Scalars["Time"]["input"]>;
Expand Down Expand Up @@ -3577,6 +3671,17 @@ export enum ReservationTypeStaffChoice {
Staff = "STAFF",
}

/** This Node should be kept to the bare minimum and never expose any relations to avoid performance issues. */
export type ReservationUnitAllNode = Node & {
/** The ID of the object */
id: Scalars["ID"]["output"];
name: Scalars["String"]["output"];
nameEn?: Maybe<Scalars["String"]["output"]>;
nameFi?: Maybe<Scalars["String"]["output"]>;
nameSv?: Maybe<Scalars["String"]["output"]>;
pk?: Maybe<Scalars["Int"]["output"]>;
};

export type ReservationUnitCancellationRuleNode = Node & {
canBeCancelledTimeBefore?: Maybe<Scalars["Duration"]["output"]>;
/** The ID of the object */
Expand Down Expand Up @@ -3904,6 +4009,7 @@ export type ReservationUnitNode = Node & {
export type ReservationUnitNodeApplicationRoundsArgs = {
active?: InputMaybe<Scalars["Boolean"]["input"]>;
name?: InputMaybe<Scalars["String"]["input"]>;
ongoing?: InputMaybe<Scalars["Boolean"]["input"]>;
onlyWithPermissions?: InputMaybe<Scalars["Boolean"]["input"]>;
orderBy?: InputMaybe<Array<InputMaybe<ApplicationRoundOrderingChoices>>>;
pk?: InputMaybe<Array<InputMaybe<Scalars["Int"]["input"]>>>;
Expand Down Expand Up @@ -4632,6 +4738,14 @@ export type SetApplicationRoundHandledMutationPayload = {
pk?: Maybe<Scalars["Int"]["output"]>;
};

export type SetApplicationRoundResultsSentMutationInput = {
pk: Scalars["Int"]["input"];
};

export type SetApplicationRoundResultsSentMutationPayload = {
pk?: Maybe<Scalars["Int"]["output"]>;
};

export type SpaceCreateMutationInput = {
building?: InputMaybe<Scalars["Int"]["input"]>;
code?: InputMaybe<Scalars["String"]["input"]>;
Expand Down Expand Up @@ -4901,6 +5015,18 @@ export type TimeSlotType = {
end: Scalars["Time"]["output"];
};

/** This Node should be kept to the bare minimum and never expose any relations to avoid performance issues. */
export type UnitAllNode = Node & {
/** The ID of the object */
id: Scalars["ID"]["output"];
name: Scalars["String"]["output"];
nameEn?: Maybe<Scalars["String"]["output"]>;
nameFi?: Maybe<Scalars["String"]["output"]>;
nameSv?: Maybe<Scalars["String"]["output"]>;
pk?: Maybe<Scalars["Int"]["output"]>;
tprekId?: Maybe<Scalars["String"]["output"]>;
};

export type UnitGroupNode = Node & {
/** The ID of the object */
id: Scalars["ID"]["output"];
Expand Down
Loading

0 comments on commit 3b7e1c4

Please sign in to comment.