|
|
@ -1699,6 +1699,17 @@ export enum CacheControlScope {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type GetCargoBikesQueryVariables = Exact<{ [key: string]: never; }>;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type GetCargoBikesQuery = (
|
|
|
|
|
|
|
|
{ __typename?: 'Query' }
|
|
|
|
|
|
|
|
& { cargoBikes: Array<Maybe<(
|
|
|
|
|
|
|
|
{ __typename?: 'CargoBike' }
|
|
|
|
|
|
|
|
& CargoBikeFieldsForTableFragment
|
|
|
|
|
|
|
|
)>> }
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
export type GetCargoBikeByIdQueryVariables = Exact<{
|
|
|
|
export type GetCargoBikeByIdQueryVariables = Exact<{
|
|
|
|
id: Scalars['ID'];
|
|
|
|
id: Scalars['ID'];
|
|
|
|
}>;
|
|
|
|
}>;
|
|
|
@ -1708,7 +1719,20 @@ export type GetCargoBikeByIdQuery = (
|
|
|
|
{ __typename?: 'Query' }
|
|
|
|
{ __typename?: 'Query' }
|
|
|
|
& { cargoBikeById?: Maybe<(
|
|
|
|
& { cargoBikeById?: Maybe<(
|
|
|
|
{ __typename?: 'CargoBike' }
|
|
|
|
{ __typename?: 'CargoBike' }
|
|
|
|
& CargoBikeFieldsFragment
|
|
|
|
& CargoBikeFieldsForPageFragment
|
|
|
|
|
|
|
|
)> }
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type ReloadCargoBikeByIdQueryVariables = Exact<{
|
|
|
|
|
|
|
|
id: Scalars['ID'];
|
|
|
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type ReloadCargoBikeByIdQuery = (
|
|
|
|
|
|
|
|
{ __typename?: 'Query' }
|
|
|
|
|
|
|
|
& { cargoBikeById?: Maybe<(
|
|
|
|
|
|
|
|
{ __typename?: 'CargoBike' }
|
|
|
|
|
|
|
|
& CargoBikeFieldsForTableFragment
|
|
|
|
)> }
|
|
|
|
)> }
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
@ -1721,7 +1745,7 @@ export type CreateCargoBikeMutation = (
|
|
|
|
{ __typename?: 'Mutation' }
|
|
|
|
{ __typename?: 'Mutation' }
|
|
|
|
& { createCargoBike: (
|
|
|
|
& { createCargoBike: (
|
|
|
|
{ __typename?: 'CargoBike' }
|
|
|
|
{ __typename?: 'CargoBike' }
|
|
|
|
& CargoBikeFieldsFragment
|
|
|
|
& CargoBikeFieldsForTableFragment
|
|
|
|
) }
|
|
|
|
) }
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
@ -1734,7 +1758,7 @@ export type UpdateCargoBikeMutation = (
|
|
|
|
{ __typename?: 'Mutation' }
|
|
|
|
{ __typename?: 'Mutation' }
|
|
|
|
& { updateCargoBike: (
|
|
|
|
& { updateCargoBike: (
|
|
|
|
{ __typename?: 'CargoBike' }
|
|
|
|
{ __typename?: 'CargoBike' }
|
|
|
|
& CargoBikeFieldsFragment
|
|
|
|
& CargoBikeFieldsForTableFragment
|
|
|
|
) }
|
|
|
|
) }
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
@ -1747,7 +1771,7 @@ export type LockCargoBikeMutation = (
|
|
|
|
{ __typename?: 'Mutation' }
|
|
|
|
{ __typename?: 'Mutation' }
|
|
|
|
& { lockCargoBike: (
|
|
|
|
& { lockCargoBike: (
|
|
|
|
{ __typename?: 'CargoBike' }
|
|
|
|
{ __typename?: 'CargoBike' }
|
|
|
|
& CargoBikeFieldsFragment
|
|
|
|
& CargoBikeFieldsForTableFragment
|
|
|
|
) }
|
|
|
|
) }
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
@ -1760,7 +1784,7 @@ export type UnlockCargoBikeMutation = (
|
|
|
|
{ __typename?: 'Mutation' }
|
|
|
|
{ __typename?: 'Mutation' }
|
|
|
|
& { unlockCargoBike: (
|
|
|
|
& { unlockCargoBike: (
|
|
|
|
{ __typename?: 'CargoBike' }
|
|
|
|
{ __typename?: 'CargoBike' }
|
|
|
|
& CargoBikeFieldsFragment
|
|
|
|
& CargoBikeFieldsForTableFragment
|
|
|
|
) }
|
|
|
|
) }
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
@ -1774,32 +1798,14 @@ export type DeleteCargoBikeMutation = (
|
|
|
|
& Pick<Mutation, 'deleteCargoBike'>
|
|
|
|
& Pick<Mutation, 'deleteCargoBike'>
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
export type GetCargoBikesQueryVariables = Exact<{ [key: string]: never; }>;
|
|
|
|
export type AddressFieldsFragment = (
|
|
|
|
|
|
|
|
{ __typename?: 'Address' }
|
|
|
|
|
|
|
|
& Pick<Address, 'street' | 'number' | 'zip'>
|
|
|
|
export type GetCargoBikesQuery = (
|
|
|
|
|
|
|
|
{ __typename?: 'Query' }
|
|
|
|
|
|
|
|
& { cargoBikes: Array<Maybe<(
|
|
|
|
|
|
|
|
{ __typename?: 'CargoBike' }
|
|
|
|
|
|
|
|
& CargoBikeFieldsFragment
|
|
|
|
|
|
|
|
)>> }
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type BikeEventFieldsFragment = (
|
|
|
|
|
|
|
|
{ __typename?: 'BikeEvent' }
|
|
|
|
|
|
|
|
& Pick<BikeEvent, 'id' | 'date'>
|
|
|
|
|
|
|
|
& { bikeEventType: (
|
|
|
|
|
|
|
|
{ __typename?: 'BikeEventType' }
|
|
|
|
|
|
|
|
& Pick<BikeEventType, 'id' | 'name' | 'isLocked' | 'isLockedByMe'>
|
|
|
|
|
|
|
|
), responsible?: Maybe<(
|
|
|
|
|
|
|
|
{ __typename?: 'Participant' }
|
|
|
|
|
|
|
|
& Pick<Participant, 'id'>
|
|
|
|
|
|
|
|
)> }
|
|
|
|
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
export type CargoBikeFieldsMutableFragment = (
|
|
|
|
export type CargoBikeFieldsForTableFragment = (
|
|
|
|
{ __typename?: 'CargoBike' }
|
|
|
|
{ __typename?: 'CargoBike' }
|
|
|
|
& Pick<CargoBike, 'id' | 'group' | 'name' | 'modelName' | 'numberOfChildren' | 'numberOfWheels' | 'forCargo' | 'forChildren' | 'stickerBikeNameState' | 'note'>
|
|
|
|
& Pick<CargoBike, 'id' | 'group' | 'name' | 'modelName' | 'numberOfChildren' | 'numberOfWheels' | 'forCargo' | 'forChildren' | 'stickerBikeNameState' | 'note' | 'isLocked' | 'isLockedByMe' | 'lockedBy' | 'lockedUntil'>
|
|
|
|
& { insuranceData: (
|
|
|
|
& { insuranceData: (
|
|
|
|
{ __typename?: 'InsuranceData' }
|
|
|
|
{ __typename?: 'InsuranceData' }
|
|
|
|
& Pick<InsuranceData, 'billing' | 'hasFixedRate' | 'name' | 'benefactor' | 'noPnP' | 'maintenanceResponsible' | 'maintenanceBenefactor' | 'maintenanceAgreement' | 'fixedRate' | 'projectAllowance' | 'notes'>
|
|
|
|
& Pick<InsuranceData, 'billing' | 'hasFixedRate' | 'name' | 'benefactor' | 'noPnP' | 'maintenanceResponsible' | 'maintenanceBenefactor' | 'maintenanceAgreement' | 'fixedRate' | 'projectAllowance' | 'notes'>
|
|
|
@ -1815,31 +1821,128 @@ export type CargoBikeFieldsMutableFragment = (
|
|
|
|
)>, taxes?: Maybe<(
|
|
|
|
)>, taxes?: Maybe<(
|
|
|
|
{ __typename?: 'Taxes' }
|
|
|
|
{ __typename?: 'Taxes' }
|
|
|
|
& Pick<Taxes, 'costCenter' | 'organisationArea'>
|
|
|
|
& Pick<Taxes, 'costCenter' | 'organisationArea'>
|
|
|
|
)> }
|
|
|
|
)>, provider?: Maybe<(
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type CargoBikeFieldsFragment = (
|
|
|
|
|
|
|
|
{ __typename?: 'CargoBike' }
|
|
|
|
|
|
|
|
& Pick<CargoBike, 'isLocked' | 'isLockedByMe' | 'lockedBy' | 'lockedUntil'>
|
|
|
|
|
|
|
|
& { provider?: Maybe<(
|
|
|
|
|
|
|
|
{ __typename?: 'Provider' }
|
|
|
|
{ __typename?: 'Provider' }
|
|
|
|
& ProviderFieldsGeneralFragment
|
|
|
|
& ProviderFieldsGeneralFragment
|
|
|
|
)>, lendingStation?: Maybe<(
|
|
|
|
)>, lendingStation?: Maybe<(
|
|
|
|
{ __typename?: 'LendingStation' }
|
|
|
|
{ __typename?: 'LendingStation' }
|
|
|
|
& LendingStationFieldsGeneralFragment
|
|
|
|
& LendingStationFieldsForBikePageFragment
|
|
|
|
)> }
|
|
|
|
)> }
|
|
|
|
& CargoBikeFieldsMutableFragment
|
|
|
|
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
export type LendingStationFieldsGeneralFragment = (
|
|
|
|
export type CargoBikeFieldsForPageFragment = (
|
|
|
|
|
|
|
|
{ __typename?: 'CargoBike' }
|
|
|
|
|
|
|
|
& { bikeEvents?: Maybe<Array<Maybe<(
|
|
|
|
|
|
|
|
{ __typename?: 'BikeEvent' }
|
|
|
|
|
|
|
|
& BikeEventFieldsForBikePageFragment
|
|
|
|
|
|
|
|
)>>>, equipment?: Maybe<Array<Maybe<(
|
|
|
|
|
|
|
|
{ __typename?: 'Equipment' }
|
|
|
|
|
|
|
|
& EquipmentFieldsForBikePageFragment
|
|
|
|
|
|
|
|
)>>>, equipmentType?: Maybe<Array<Maybe<(
|
|
|
|
|
|
|
|
{ __typename?: 'EquipmentType' }
|
|
|
|
|
|
|
|
& EquipmentTypeFieldsForBikePageFragment
|
|
|
|
|
|
|
|
)>>>, engagement?: Maybe<Array<Maybe<(
|
|
|
|
|
|
|
|
{ __typename?: 'Engagement' }
|
|
|
|
|
|
|
|
& EngagementFieldsForBikePageFragment
|
|
|
|
|
|
|
|
)>>>, currentEngagements?: Maybe<Array<Maybe<(
|
|
|
|
|
|
|
|
{ __typename?: 'Engagement' }
|
|
|
|
|
|
|
|
& EngagementFieldsForBikePageFragment
|
|
|
|
|
|
|
|
)>>>, timeFrames?: Maybe<Array<Maybe<(
|
|
|
|
|
|
|
|
{ __typename?: 'TimeFrame' }
|
|
|
|
|
|
|
|
& TimeFrameFieldsForBikePageFragment
|
|
|
|
|
|
|
|
)>>> }
|
|
|
|
|
|
|
|
& CargoBikeFieldsForTableFragment
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type BikeEventFieldsForBikePageFragment = (
|
|
|
|
|
|
|
|
{ __typename?: 'BikeEvent' }
|
|
|
|
|
|
|
|
& Pick<BikeEvent, 'id' | 'date'>
|
|
|
|
|
|
|
|
& { bikeEventType: (
|
|
|
|
|
|
|
|
{ __typename?: 'BikeEventType' }
|
|
|
|
|
|
|
|
& BikeEventTypeFieldsFragment
|
|
|
|
|
|
|
|
), responsible?: Maybe<(
|
|
|
|
|
|
|
|
{ __typename?: 'Participant' }
|
|
|
|
|
|
|
|
& Pick<Participant, 'id'>
|
|
|
|
|
|
|
|
& ParticipantFieldsForBikePageFragment
|
|
|
|
|
|
|
|
)> }
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type BikeEventTypeFieldsFragment = (
|
|
|
|
|
|
|
|
{ __typename?: 'BikeEventType' }
|
|
|
|
|
|
|
|
& Pick<BikeEventType, 'id' | 'name' | 'isLocked' | 'isLockedByMe' | 'lockedUntil'>
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type ContactInformationFieldsFragment = (
|
|
|
|
|
|
|
|
{ __typename?: 'ContactInformation' }
|
|
|
|
|
|
|
|
& Pick<ContactInformation, 'id' | 'phone' | 'phone2' | 'email' | 'email2' | 'note' | 'isLocked' | 'isLockedByMe' | 'lockedBy' | 'lockedUntil'>
|
|
|
|
|
|
|
|
& { person: (
|
|
|
|
|
|
|
|
{ __typename?: 'Person' }
|
|
|
|
|
|
|
|
& PersonFieldsFragment
|
|
|
|
|
|
|
|
) }
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type EngagementFieldsForBikePageFragment = (
|
|
|
|
|
|
|
|
{ __typename?: 'Engagement' }
|
|
|
|
|
|
|
|
& Pick<Engagement, 'id' | 'from' | 'to' | 'isLocked' | 'isLockedByMe' | 'lockedBy' | 'lockedUntil'>
|
|
|
|
|
|
|
|
& { engagementType: (
|
|
|
|
|
|
|
|
{ __typename?: 'EngagementType' }
|
|
|
|
|
|
|
|
& EngagementTypeFieldsFragment
|
|
|
|
|
|
|
|
), participant: (
|
|
|
|
|
|
|
|
{ __typename?: 'Participant' }
|
|
|
|
|
|
|
|
& ParticipantFieldsForBikePageFragment
|
|
|
|
|
|
|
|
) }
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type EngagementTypeFieldsFragment = (
|
|
|
|
|
|
|
|
{ __typename?: 'EngagementType' }
|
|
|
|
|
|
|
|
& Pick<EngagementType, 'id' | 'name' | 'description' | 'isLocked' | 'isLockedByMe' | 'lockedBy' | 'lockedUntil'>
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type EquipmentFieldsForBikePageFragment = (
|
|
|
|
|
|
|
|
{ __typename?: 'Equipment' }
|
|
|
|
|
|
|
|
& Pick<Equipment, 'id' | 'serialNo' | 'title' | 'description' | 'isLocked' | 'isLockedByMe' | 'lockedBy' | 'lockedUntil'>
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type EquipmentTypeFieldsForBikePageFragment = (
|
|
|
|
|
|
|
|
{ __typename?: 'EquipmentType' }
|
|
|
|
|
|
|
|
& Pick<EquipmentType, 'id' | 'name' | 'description' | 'isLocked' | 'isLockedByMe' | 'lockedBy' | 'lockedUntil'>
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type LendingStationFieldsForBikePageFragment = (
|
|
|
|
{ __typename?: 'LendingStation' }
|
|
|
|
{ __typename?: 'LendingStation' }
|
|
|
|
& Pick<LendingStation, 'id' | 'name'>
|
|
|
|
& Pick<LendingStation, 'id' | 'name'>
|
|
|
|
& { address: (
|
|
|
|
& { address: (
|
|
|
|
{ __typename?: 'Address' }
|
|
|
|
{ __typename?: 'Address' }
|
|
|
|
& Pick<Address, 'number' | 'street' | 'zip'>
|
|
|
|
& AddressFieldsFragment
|
|
|
|
|
|
|
|
), organisation?: Maybe<(
|
|
|
|
|
|
|
|
{ __typename?: 'Organisation' }
|
|
|
|
|
|
|
|
& OrganisationFieldsForTimeFrameFragment
|
|
|
|
|
|
|
|
)> }
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type OrganisationFieldsForTimeFrameFragment = (
|
|
|
|
|
|
|
|
{ __typename?: 'Organisation' }
|
|
|
|
|
|
|
|
& Pick<Organisation, 'id' | 'name'>
|
|
|
|
|
|
|
|
& { address?: Maybe<(
|
|
|
|
|
|
|
|
{ __typename?: 'Address' }
|
|
|
|
|
|
|
|
& AddressFieldsFragment
|
|
|
|
|
|
|
|
)> }
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type ParticipantFieldsForBikePageFragment = (
|
|
|
|
|
|
|
|
{ __typename?: 'Participant' }
|
|
|
|
|
|
|
|
& Pick<Participant, 'id' | 'start' | 'end' | 'usernamefLotte' | 'usernameSlack' | 'isLocked' | 'isLockedByMe' | 'lockedBy' | 'lockedUntil'>
|
|
|
|
|
|
|
|
& { contactInformation: (
|
|
|
|
|
|
|
|
{ __typename?: 'ContactInformation' }
|
|
|
|
|
|
|
|
& ContactInformationFieldsFragment
|
|
|
|
) }
|
|
|
|
) }
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type PersonFieldsFragment = (
|
|
|
|
|
|
|
|
{ __typename?: 'Person' }
|
|
|
|
|
|
|
|
& Pick<Person, 'id' | 'name' | 'firstName' | 'isLocked' | 'isLockedByMe' | 'lockedBy' | 'lockedUntil'>
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
export type ProviderFieldsGeneralFragment = (
|
|
|
|
export type ProviderFieldsGeneralFragment = (
|
|
|
|
{ __typename?: 'Provider' }
|
|
|
|
{ __typename?: 'Provider' }
|
|
|
|
& Pick<Provider, 'id' | 'formName'>
|
|
|
|
& Pick<Provider, 'id' | 'formName'>
|
|
|
@ -1857,23 +1960,63 @@ export type ProviderFieldsGeneralFragment = (
|
|
|
|
)> }
|
|
|
|
)> }
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
export const BikeEventFieldsFragmentDoc = gql`
|
|
|
|
export type TimeFrameFieldsForBikePageFragment = (
|
|
|
|
fragment BikeEventFields on BikeEvent {
|
|
|
|
{ __typename?: 'TimeFrame' }
|
|
|
|
|
|
|
|
& Pick<TimeFrame, 'id' | 'from' | 'to' | 'note' | 'isLocked' | 'isLockedByMe' | 'lockedBy' | 'lockedUntil'>
|
|
|
|
|
|
|
|
& { lendingStation: (
|
|
|
|
|
|
|
|
{ __typename?: 'LendingStation' }
|
|
|
|
|
|
|
|
& LendingStationFieldsForBikePageFragment
|
|
|
|
|
|
|
|
) }
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const ProviderFieldsGeneralFragmentDoc = gql`
|
|
|
|
|
|
|
|
fragment ProviderFieldsGeneral on Provider {
|
|
|
|
id
|
|
|
|
id
|
|
|
|
date
|
|
|
|
formName
|
|
|
|
bikeEventType {
|
|
|
|
privatePerson {
|
|
|
|
|
|
|
|
id
|
|
|
|
|
|
|
|
person {
|
|
|
|
id
|
|
|
|
id
|
|
|
|
name
|
|
|
|
name
|
|
|
|
isLocked
|
|
|
|
firstName
|
|
|
|
isLockedByMe
|
|
|
|
contactInformation {
|
|
|
|
|
|
|
|
email
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
responsible {
|
|
|
|
|
|
|
|
id
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
`;
|
|
|
|
`;
|
|
|
|
export const CargoBikeFieldsMutableFragmentDoc = gql`
|
|
|
|
export const AddressFieldsFragmentDoc = gql`
|
|
|
|
fragment CargoBikeFieldsMutable on CargoBike {
|
|
|
|
fragment AddressFields on Address {
|
|
|
|
|
|
|
|
street
|
|
|
|
|
|
|
|
number
|
|
|
|
|
|
|
|
zip
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
export const OrganisationFieldsForTimeFrameFragmentDoc = gql`
|
|
|
|
|
|
|
|
fragment OrganisationFieldsForTimeFrame on Organisation {
|
|
|
|
|
|
|
|
id
|
|
|
|
|
|
|
|
name
|
|
|
|
|
|
|
|
address {
|
|
|
|
|
|
|
|
...AddressFields
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
${AddressFieldsFragmentDoc}`;
|
|
|
|
|
|
|
|
export const LendingStationFieldsForBikePageFragmentDoc = gql`
|
|
|
|
|
|
|
|
fragment LendingStationFieldsForBikePage on LendingStation {
|
|
|
|
|
|
|
|
id
|
|
|
|
|
|
|
|
name
|
|
|
|
|
|
|
|
address {
|
|
|
|
|
|
|
|
...AddressFields
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
organisation {
|
|
|
|
|
|
|
|
...OrganisationFieldsForTimeFrame
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
${AddressFieldsFragmentDoc}
|
|
|
|
|
|
|
|
${OrganisationFieldsForTimeFrameFragmentDoc}`;
|
|
|
|
|
|
|
|
export const CargoBikeFieldsForTableFragmentDoc = gql`
|
|
|
|
|
|
|
|
fragment CargoBikeFieldsForTable on CargoBike {
|
|
|
|
id
|
|
|
|
id
|
|
|
|
group
|
|
|
|
group
|
|
|
|
name
|
|
|
|
name
|
|
|
@ -1955,60 +2098,209 @@ export const CargoBikeFieldsMutableFragmentDoc = gql`
|
|
|
|
costCenter
|
|
|
|
costCenter
|
|
|
|
organisationArea
|
|
|
|
organisationArea
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
provider {
|
|
|
|
|
|
|
|
...ProviderFieldsGeneral
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
lendingStation {
|
|
|
|
|
|
|
|
...LendingStationFieldsForBikePage
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
isLocked
|
|
|
|
|
|
|
|
isLockedByMe
|
|
|
|
|
|
|
|
lockedBy
|
|
|
|
|
|
|
|
lockedUntil
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
${ProviderFieldsGeneralFragmentDoc}
|
|
|
|
|
|
|
|
${LendingStationFieldsForBikePageFragmentDoc}`;
|
|
|
|
|
|
|
|
export const BikeEventTypeFieldsFragmentDoc = gql`
|
|
|
|
|
|
|
|
fragment BikeEventTypeFields on BikeEventType {
|
|
|
|
|
|
|
|
id
|
|
|
|
|
|
|
|
name
|
|
|
|
|
|
|
|
isLocked
|
|
|
|
|
|
|
|
isLockedByMe
|
|
|
|
|
|
|
|
lockedUntil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
`;
|
|
|
|
`;
|
|
|
|
export const ProviderFieldsGeneralFragmentDoc = gql`
|
|
|
|
export const PersonFieldsFragmentDoc = gql`
|
|
|
|
fragment ProviderFieldsGeneral on Provider {
|
|
|
|
fragment PersonFields on Person {
|
|
|
|
id
|
|
|
|
id
|
|
|
|
formName
|
|
|
|
name
|
|
|
|
privatePerson {
|
|
|
|
firstName
|
|
|
|
|
|
|
|
isLocked
|
|
|
|
|
|
|
|
isLockedByMe
|
|
|
|
|
|
|
|
lockedBy
|
|
|
|
|
|
|
|
lockedUntil
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
export const ContactInformationFieldsFragmentDoc = gql`
|
|
|
|
|
|
|
|
fragment ContactInformationFields on ContactInformation {
|
|
|
|
id
|
|
|
|
id
|
|
|
|
person {
|
|
|
|
person {
|
|
|
|
|
|
|
|
...PersonFields
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
phone
|
|
|
|
|
|
|
|
phone2
|
|
|
|
|
|
|
|
email
|
|
|
|
|
|
|
|
email2
|
|
|
|
|
|
|
|
note
|
|
|
|
|
|
|
|
isLocked
|
|
|
|
|
|
|
|
isLockedByMe
|
|
|
|
|
|
|
|
lockedBy
|
|
|
|
|
|
|
|
lockedUntil
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
${PersonFieldsFragmentDoc}`;
|
|
|
|
|
|
|
|
export const ParticipantFieldsForBikePageFragmentDoc = gql`
|
|
|
|
|
|
|
|
fragment ParticipantFieldsForBikePage on Participant {
|
|
|
|
id
|
|
|
|
id
|
|
|
|
name
|
|
|
|
start
|
|
|
|
firstName
|
|
|
|
end
|
|
|
|
|
|
|
|
usernamefLotte
|
|
|
|
|
|
|
|
usernameSlack
|
|
|
|
contactInformation {
|
|
|
|
contactInformation {
|
|
|
|
email
|
|
|
|
...ContactInformationFields
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
isLocked
|
|
|
|
|
|
|
|
isLockedByMe
|
|
|
|
|
|
|
|
lockedBy
|
|
|
|
|
|
|
|
lockedUntil
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
${ContactInformationFieldsFragmentDoc}`;
|
|
|
|
|
|
|
|
export const BikeEventFieldsForBikePageFragmentDoc = gql`
|
|
|
|
|
|
|
|
fragment BikeEventFieldsForBikePage on BikeEvent {
|
|
|
|
|
|
|
|
id
|
|
|
|
|
|
|
|
bikeEventType {
|
|
|
|
|
|
|
|
...BikeEventTypeFields
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
responsible {
|
|
|
|
|
|
|
|
...ParticipantFieldsForBikePage
|
|
|
|
|
|
|
|
id
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
date
|
|
|
|
|
|
|
|
responsible {
|
|
|
|
|
|
|
|
id
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
${BikeEventTypeFieldsFragmentDoc}
|
|
|
|
|
|
|
|
${ParticipantFieldsForBikePageFragmentDoc}`;
|
|
|
|
|
|
|
|
export const EquipmentFieldsForBikePageFragmentDoc = gql`
|
|
|
|
|
|
|
|
fragment EquipmentFieldsForBikePage on Equipment {
|
|
|
|
|
|
|
|
id
|
|
|
|
|
|
|
|
serialNo
|
|
|
|
|
|
|
|
title
|
|
|
|
|
|
|
|
description
|
|
|
|
|
|
|
|
isLocked
|
|
|
|
|
|
|
|
isLockedByMe
|
|
|
|
|
|
|
|
lockedBy
|
|
|
|
|
|
|
|
lockedUntil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
`;
|
|
|
|
`;
|
|
|
|
export const LendingStationFieldsGeneralFragmentDoc = gql`
|
|
|
|
export const EquipmentTypeFieldsForBikePageFragmentDoc = gql`
|
|
|
|
fragment LendingStationFieldsGeneral on LendingStation {
|
|
|
|
fragment EquipmentTypeFieldsForBikePage on EquipmentType {
|
|
|
|
id
|
|
|
|
id
|
|
|
|
name
|
|
|
|
name
|
|
|
|
address {
|
|
|
|
description
|
|
|
|
number
|
|
|
|
isLocked
|
|
|
|
street
|
|
|
|
isLockedByMe
|
|
|
|
zip
|
|
|
|
lockedBy
|
|
|
|
}
|
|
|
|
lockedUntil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
`;
|
|
|
|
`;
|
|
|
|
export const CargoBikeFieldsFragmentDoc = gql`
|
|
|
|
export const EngagementTypeFieldsFragmentDoc = gql`
|
|
|
|
fragment CargoBikeFields on CargoBike {
|
|
|
|
fragment EngagementTypeFields on EngagementType {
|
|
|
|
...CargoBikeFieldsMutable
|
|
|
|
id
|
|
|
|
provider {
|
|
|
|
name
|
|
|
|
...ProviderFieldsGeneral
|
|
|
|
description
|
|
|
|
|
|
|
|
isLocked
|
|
|
|
|
|
|
|
isLockedByMe
|
|
|
|
|
|
|
|
lockedBy
|
|
|
|
|
|
|
|
lockedUntil
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
export const EngagementFieldsForBikePageFragmentDoc = gql`
|
|
|
|
|
|
|
|
fragment EngagementFieldsForBikePage on Engagement {
|
|
|
|
|
|
|
|
id
|
|
|
|
|
|
|
|
engagementType {
|
|
|
|
|
|
|
|
...EngagementTypeFields
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
from
|
|
|
|
|
|
|
|
to
|
|
|
|
|
|
|
|
participant {
|
|
|
|
|
|
|
|
...ParticipantFieldsForBikePage
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
isLocked
|
|
|
|
|
|
|
|
isLockedByMe
|
|
|
|
|
|
|
|
lockedBy
|
|
|
|
|
|
|
|
lockedUntil
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
${EngagementTypeFieldsFragmentDoc}
|
|
|
|
|
|
|
|
${ParticipantFieldsForBikePageFragmentDoc}`;
|
|
|
|
|
|
|
|
export const TimeFrameFieldsForBikePageFragmentDoc = gql`
|
|
|
|
|
|
|
|
fragment TimeFrameFieldsForBikePage on TimeFrame {
|
|
|
|
|
|
|
|
id
|
|
|
|
|
|
|
|
from
|
|
|
|
|
|
|
|
to
|
|
|
|
|
|
|
|
note
|
|
|
|
lendingStation {
|
|
|
|
lendingStation {
|
|
|
|
...LendingStationFieldsGeneral
|
|
|
|
...LendingStationFieldsForBikePage
|
|
|
|
}
|
|
|
|
}
|
|
|
|
isLocked
|
|
|
|
isLocked
|
|
|
|
isLockedByMe
|
|
|
|
isLockedByMe
|
|
|
|
lockedBy
|
|
|
|
lockedBy
|
|
|
|
lockedUntil
|
|
|
|
lockedUntil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
${CargoBikeFieldsMutableFragmentDoc}
|
|
|
|
${LendingStationFieldsForBikePageFragmentDoc}`;
|
|
|
|
${ProviderFieldsGeneralFragmentDoc}
|
|
|
|
export const CargoBikeFieldsForPageFragmentDoc = gql`
|
|
|
|
${LendingStationFieldsGeneralFragmentDoc}`;
|
|
|
|
fragment CargoBikeFieldsForPage on CargoBike {
|
|
|
|
|
|
|
|
...CargoBikeFieldsForTable
|
|
|
|
|
|
|
|
bikeEvents {
|
|
|
|
|
|
|
|
...BikeEventFieldsForBikePage
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
equipment(offset: 0, limit: 1000) {
|
|
|
|
|
|
|
|
...EquipmentFieldsForBikePage
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
equipmentType {
|
|
|
|
|
|
|
|
...EquipmentTypeFieldsForBikePage
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
engagement(offset: 0, limit: 1000) {
|
|
|
|
|
|
|
|
...EngagementFieldsForBikePage
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
currentEngagements {
|
|
|
|
|
|
|
|
...EngagementFieldsForBikePage
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
timeFrames {
|
|
|
|
|
|
|
|
...TimeFrameFieldsForBikePage
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
${CargoBikeFieldsForTableFragmentDoc}
|
|
|
|
|
|
|
|
${BikeEventFieldsForBikePageFragmentDoc}
|
|
|
|
|
|
|
|
${EquipmentFieldsForBikePageFragmentDoc}
|
|
|
|
|
|
|
|
${EquipmentTypeFieldsForBikePageFragmentDoc}
|
|
|
|
|
|
|
|
${EngagementFieldsForBikePageFragmentDoc}
|
|
|
|
|
|
|
|
${TimeFrameFieldsForBikePageFragmentDoc}`;
|
|
|
|
|
|
|
|
export const GetCargoBikesDocument = gql`
|
|
|
|
|
|
|
|
query GetCargoBikes {
|
|
|
|
|
|
|
|
cargoBikes(limit: 1000, offset: 0) {
|
|
|
|
|
|
|
|
...CargoBikeFieldsForTable
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
${CargoBikeFieldsForTableFragmentDoc}`;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Injectable({
|
|
|
|
|
|
|
|
providedIn: 'root'
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
export class GetCargoBikesGQL extends Apollo.Query<GetCargoBikesQuery, GetCargoBikesQueryVariables> {
|
|
|
|
|
|
|
|
document = GetCargoBikesDocument;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
constructor(apollo: Apollo.Apollo) {
|
|
|
|
|
|
|
|
super(apollo);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
export const GetCargoBikeByIdDocument = gql`
|
|
|
|
export const GetCargoBikeByIdDocument = gql`
|
|
|
|
query GetCargoBikeById($id: ID!) {
|
|
|
|
query GetCargoBikeById($id: ID!) {
|
|
|
|
cargoBikeById(id: $id) {
|
|
|
|
cargoBikeById(id: $id) {
|
|
|
|
...CargoBikeFields
|
|
|
|
...CargoBikeFieldsForPage
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
${CargoBikeFieldsFragmentDoc}`;
|
|
|
|
${CargoBikeFieldsForPageFragmentDoc}`;
|
|
|
|
|
|
|
|
|
|
|
|
@Injectable({
|
|
|
|
@Injectable({
|
|
|
|
providedIn: 'root'
|
|
|
|
providedIn: 'root'
|
|
|
@ -2016,6 +2308,24 @@ export const GetCargoBikeByIdDocument = gql`
|
|
|
|
export class GetCargoBikeByIdGQL extends Apollo.Query<GetCargoBikeByIdQuery, GetCargoBikeByIdQueryVariables> {
|
|
|
|
export class GetCargoBikeByIdGQL extends Apollo.Query<GetCargoBikeByIdQuery, GetCargoBikeByIdQueryVariables> {
|
|
|
|
document = GetCargoBikeByIdDocument;
|
|
|
|
document = GetCargoBikeByIdDocument;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
constructor(apollo: Apollo.Apollo) {
|
|
|
|
|
|
|
|
super(apollo);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
export const ReloadCargoBikeByIdDocument = gql`
|
|
|
|
|
|
|
|
query ReloadCargoBikeById($id: ID!) {
|
|
|
|
|
|
|
|
cargoBikeById(id: $id) {
|
|
|
|
|
|
|
|
...CargoBikeFieldsForTable
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
${CargoBikeFieldsForTableFragmentDoc}`;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Injectable({
|
|
|
|
|
|
|
|
providedIn: 'root'
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
export class ReloadCargoBikeByIdGQL extends Apollo.Query<ReloadCargoBikeByIdQuery, ReloadCargoBikeByIdQueryVariables> {
|
|
|
|
|
|
|
|
document = ReloadCargoBikeByIdDocument;
|
|
|
|
|
|
|
|
|
|
|
|
constructor(apollo: Apollo.Apollo) {
|
|
|
|
constructor(apollo: Apollo.Apollo) {
|
|
|
|
super(apollo);
|
|
|
|
super(apollo);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -2023,10 +2333,10 @@ export const GetCargoBikeByIdDocument = gql`
|
|
|
|
export const CreateCargoBikeDocument = gql`
|
|
|
|
export const CreateCargoBikeDocument = gql`
|
|
|
|
mutation CreateCargoBike($bike: CargoBikeCreateInput!) {
|
|
|
|
mutation CreateCargoBike($bike: CargoBikeCreateInput!) {
|
|
|
|
createCargoBike(cargoBike: $bike) {
|
|
|
|
createCargoBike(cargoBike: $bike) {
|
|
|
|
...CargoBikeFields
|
|
|
|
...CargoBikeFieldsForTable
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
${CargoBikeFieldsFragmentDoc}`;
|
|
|
|
${CargoBikeFieldsForTableFragmentDoc}`;
|
|
|
|
|
|
|
|
|
|
|
|
@Injectable({
|
|
|
|
@Injectable({
|
|
|
|
providedIn: 'root'
|
|
|
|
providedIn: 'root'
|
|
|
@ -2041,10 +2351,10 @@ export const CreateCargoBikeDocument = gql`
|
|
|
|
export const UpdateCargoBikeDocument = gql`
|
|
|
|
export const UpdateCargoBikeDocument = gql`
|
|
|
|
mutation UpdateCargoBike($bike: CargoBikeUpdateInput!) {
|
|
|
|
mutation UpdateCargoBike($bike: CargoBikeUpdateInput!) {
|
|
|
|
updateCargoBike(cargoBike: $bike) {
|
|
|
|
updateCargoBike(cargoBike: $bike) {
|
|
|
|
...CargoBikeFields
|
|
|
|
...CargoBikeFieldsForTable
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
${CargoBikeFieldsFragmentDoc}`;
|
|
|
|
${CargoBikeFieldsForTableFragmentDoc}`;
|
|
|
|
|
|
|
|
|
|
|
|
@Injectable({
|
|
|
|
@Injectable({
|
|
|
|
providedIn: 'root'
|
|
|
|
providedIn: 'root'
|
|
|
@ -2059,10 +2369,10 @@ export const UpdateCargoBikeDocument = gql`
|
|
|
|
export const LockCargoBikeDocument = gql`
|
|
|
|
export const LockCargoBikeDocument = gql`
|
|
|
|
mutation LockCargoBike($id: ID!) {
|
|
|
|
mutation LockCargoBike($id: ID!) {
|
|
|
|
lockCargoBike(id: $id) {
|
|
|
|
lockCargoBike(id: $id) {
|
|
|
|
...CargoBikeFields
|
|
|
|
...CargoBikeFieldsForTable
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
${CargoBikeFieldsFragmentDoc}`;
|
|
|
|
${CargoBikeFieldsForTableFragmentDoc}`;
|
|
|
|
|
|
|
|
|
|
|
|
@Injectable({
|
|
|
|
@Injectable({
|
|
|
|
providedIn: 'root'
|
|
|
|
providedIn: 'root'
|
|
|
@ -2077,10 +2387,10 @@ export const LockCargoBikeDocument = gql`
|
|
|
|
export const UnlockCargoBikeDocument = gql`
|
|
|
|
export const UnlockCargoBikeDocument = gql`
|
|
|
|
mutation UnlockCargoBike($id: ID!) {
|
|
|
|
mutation UnlockCargoBike($id: ID!) {
|
|
|
|
unlockCargoBike(id: $id) {
|
|
|
|
unlockCargoBike(id: $id) {
|
|
|
|
...CargoBikeFields
|
|
|
|
...CargoBikeFieldsForTable
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
${CargoBikeFieldsFragmentDoc}`;
|
|
|
|
${CargoBikeFieldsForTableFragmentDoc}`;
|
|
|
|
|
|
|
|
|
|
|
|
@Injectable({
|
|
|
|
@Injectable({
|
|
|
|
providedIn: 'root'
|
|
|
|
providedIn: 'root'
|
|
|
@ -2104,24 +2414,6 @@ export const DeleteCargoBikeDocument = gql`
|
|
|
|
export class DeleteCargoBikeGQL extends Apollo.Mutation<DeleteCargoBikeMutation, DeleteCargoBikeMutationVariables> {
|
|
|
|
export class DeleteCargoBikeGQL extends Apollo.Mutation<DeleteCargoBikeMutation, DeleteCargoBikeMutationVariables> {
|
|
|
|
document = DeleteCargoBikeDocument;
|
|
|
|
document = DeleteCargoBikeDocument;
|
|
|
|
|
|
|
|
|
|
|
|
constructor(apollo: Apollo.Apollo) {
|
|
|
|
|
|
|
|
super(apollo);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
export const GetCargoBikesDocument = gql`
|
|
|
|
|
|
|
|
query GetCargoBikes {
|
|
|
|
|
|
|
|
cargoBikes(limit: 1000, offset: 0) {
|
|
|
|
|
|
|
|
...CargoBikeFields
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
${CargoBikeFieldsFragmentDoc}`;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Injectable({
|
|
|
|
|
|
|
|
providedIn: 'root'
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
export class GetCargoBikesGQL extends Apollo.Query<GetCargoBikesQuery, GetCargoBikesQueryVariables> {
|
|
|
|
|
|
|
|
document = GetCargoBikesDocument;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
constructor(apollo: Apollo.Apollo) {
|
|
|
|
constructor(apollo: Apollo.Apollo) {
|
|
|
|
super(apollo);
|
|
|
|
super(apollo);
|
|
|
|
}
|
|
|
|
}
|
|
|
|