Add bike status

pull/8/head
Max Ehrlicher-Schmidt 4 years ago
parent 4aae9c8ff5
commit b6f0b18816

@ -4,13 +4,17 @@ query GetContactInformation {
} }
} }
mutation CreateContactInformation($contactInformation: ContactInformationCreateInput!) { mutation CreateContactInformation(
$contactInformation: ContactInformationCreateInput!
) {
createContactInformation(contactInformation: $contactInformation) { createContactInformation(contactInformation: $contactInformation) {
...ContactInformationFields ...ContactInformationFields
} }
} }
mutation UpdateContactInformation($contactInformation: ContactInformationUpdateInput!) { mutation UpdateContactInformation(
$contactInformation: ContactInformationUpdateInput!
) {
updateContactInformation(contactInformation: $contactInformation) { updateContactInformation(contactInformation: $contactInformation) {
...ContactInformationFields ...ContactInformationFields
} }
@ -23,9 +27,9 @@ mutation LockContactInformation($id: ID!) {
} }
mutation UnlockContactInformation($id: ID!) { mutation UnlockContactInformation($id: ID!) {
unlockContactInformation(id: $id) #{ unlockContactInformation(id: $id) {
#add this: ...ContactInformationFields ...ContactInformationFields
# } }
} }
mutation DeleteContactInformation($id: ID!) { mutation DeleteContactInformation($id: ID!) {

@ -3,6 +3,7 @@ fragment CargoBikeFieldsForTable on CargoBike {
group group
name name
modelName modelName
state
insuranceData { insuranceData {
billing billing
hasFixedRate hasFixedRate

@ -17,6 +17,7 @@ export class BikeComponent implements OnInit {
{ dataPath: 'name', translation: 'Name' }, { dataPath: 'name', translation: 'Name' },
{ dataPath: 'Group', translation: 'Gruppe' }, { dataPath: 'Group', translation: 'Gruppe' },
{ dataPath: 'modelName', translation: 'Modell' }, { dataPath: 'modelName', translation: 'Modell' },
{ dataPath: 'state', translation: 'Status' },
], ],
}, },
{ {

@ -18,6 +18,7 @@ export class BikesComponent implements OnInit {
}, },
{ dataPath: 'group', translation: 'Gruppe' }, { dataPath: 'group', translation: 'Gruppe' },
{ dataPath: 'modelName', translation: 'Modell' }, { dataPath: 'modelName', translation: 'Modell' },
{ dataPath: 'state', translation: 'Status' },
{ {
dataPath: 'insuranceData.billing', dataPath: 'insuranceData.billing',
translation: 'Versicherung Abrechnung', translation: 'Versicherung Abrechnung',

@ -12,6 +12,16 @@
{ {
"kind": "SCALAR", "kind": "SCALAR",
"name": "Date", "name": "Date",
"description": "date object YYYY-MM-dd",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "SCALAR",
"name": "DateTime",
"description": "timestamp object YYYY-MM-ddThh:mm:ss.sssZ", "description": "timestamp object YYYY-MM-ddThh:mm:ss.sssZ",
"fields": null, "fields": null,
"inputFields": null, "inputFields": null,
@ -493,7 +503,7 @@
"args": [], "args": [],
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "Date", "name": "DateTime",
"ofType": null "ofType": null
}, },
"isDeprecated": false, "isDeprecated": false,
@ -2581,7 +2591,7 @@
"args": [], "args": [],
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "Date", "name": "DateTime",
"ofType": null "ofType": null
}, },
"isDeprecated": false, "isDeprecated": false,
@ -3026,7 +3036,7 @@
"args": [], "args": [],
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "Date", "name": "DateTime",
"ofType": null "ofType": null
}, },
"isDeprecated": false, "isDeprecated": false,
@ -3311,7 +3321,7 @@
"args": [], "args": [],
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "Date", "name": "DateTime",
"ofType": null "ofType": null
}, },
"isDeprecated": false, "isDeprecated": false,
@ -3486,7 +3496,7 @@
"args": [], "args": [],
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "Date", "name": "DateTime",
"ofType": null "ofType": null
}, },
"isDeprecated": false, "isDeprecated": false,
@ -3723,7 +3733,7 @@
"args": [], "args": [],
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "Date", "name": "DateTime",
"ofType": null "ofType": null
}, },
"isDeprecated": false, "isDeprecated": false,
@ -4120,7 +4130,7 @@
"args": [], "args": [],
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "Date", "name": "DateTime",
"ofType": null "ofType": null
}, },
"isDeprecated": false, "isDeprecated": false,
@ -4369,7 +4379,7 @@
"args": [], "args": [],
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "Date", "name": "DateTime",
"ofType": null "ofType": null
}, },
"isDeprecated": false, "isDeprecated": false,
@ -4662,7 +4672,7 @@
"args": [], "args": [],
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "Date", "name": "DateTime",
"ofType": null "ofType": null
}, },
"isDeprecated": false, "isDeprecated": false,
@ -4987,7 +4997,7 @@
"args": [], "args": [],
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "Date", "name": "DateTime",
"ofType": null "ofType": null
}, },
"isDeprecated": false, "isDeprecated": false,
@ -5171,7 +5181,7 @@
"args": [], "args": [],
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "Date", "name": "DateTime",
"ofType": null "ofType": null
}, },
"isDeprecated": false, "isDeprecated": false,
@ -5448,7 +5458,7 @@
"args": [], "args": [],
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "Date", "name": "DateTime",
"ofType": null "ofType": null
}, },
"isDeprecated": false, "isDeprecated": false,
@ -5701,7 +5711,7 @@
"args": [], "args": [],
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "Date", "name": "DateTime",
"ofType": null "ofType": null
}, },
"isDeprecated": false, "isDeprecated": false,
@ -6062,7 +6072,7 @@
"args": [], "args": [],
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "Date", "name": "DateTime",
"ofType": null "ofType": null
}, },
"isDeprecated": false, "isDeprecated": false,
@ -6463,7 +6473,7 @@
"args": [], "args": [],
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "Date", "name": "DateTime",
"ofType": null "ofType": null
}, },
"isDeprecated": false, "isDeprecated": false,
@ -6667,33 +6677,85 @@
"deprecationReason": null "deprecationReason": null
}, },
{ {
"name": "notes", "name": "mo",
"description": "notes for each day of the week, starting on Monday", "description": null,
"args": [], "args": [],
"type": { "type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "String", "name": "String",
"ofType": null "ofType": null
}
}, },
"isDeprecated": false, "isDeprecated": false,
"deprecationReason": null "deprecationReason": null
}, },
{ {
"name": "loanTimes", "name": "tu",
"description": "Loan times from and until for each day of the week.\nStarting with Monday from, Monday to, Tuesday from, ..., Sunday to", "description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "we",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "th",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "fr",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "sa",
"description": null,
"args": [],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "su",
"description": null,
"args": [], "args": [],
"type": { "type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "String", "name": "String",
"ofType": null "ofType": null
}
}, },
"isDeprecated": false, "isDeprecated": false,
"deprecationReason": null "deprecationReason": null
@ -6721,38 +6783,72 @@
"defaultValue": null "defaultValue": null
}, },
{ {
"name": "notes", "name": "mo",
"description": "notes for each day of the week, starting on Monday", "description": null,
"type": { "type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "String", "name": "String",
"ofType": null "ofType": null
}
}
}, },
"defaultValue": null "defaultValue": null
}, },
{ {
"name": "loanTimes", "name": "tu",
"description": "Loan times from and until for each day of the week.\nStarting with Monday from, Monday to, Tuesday from, ..., Sunday to", "description": null,
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null
},
{
"name": "we",
"description": null,
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null
},
{
"name": "th",
"description": null,
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null
},
{
"name": "fr",
"description": null,
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null
},
{
"name": "sa",
"description": null,
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null
},
{
"name": "su",
"description": null,
"type": { "type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "String", "name": "String",
"ofType": null "ofType": null
}
}
}, },
"defaultValue": null "defaultValue": null
} }
@ -6966,7 +7062,7 @@
"args": [], "args": [],
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "Date", "name": "DateTime",
"ofType": null "ofType": null
}, },
"isDeprecated": false, "isDeprecated": false,
@ -9786,8 +9882,8 @@
} }
], ],
"type": { "type": {
"kind": "SCALAR", "kind": "OBJECT",
"name": "Boolean", "name": "Participant",
"ofType": null "ofType": null
}, },
"isDeprecated": false, "isDeprecated": false,
@ -9940,8 +10036,8 @@
"kind": "NON_NULL", "kind": "NON_NULL",
"name": null, "name": null,
"ofType": { "ofType": {
"kind": "SCALAR", "kind": "OBJECT",
"name": "Boolean", "name": "WorkshopType",
"ofType": null "ofType": null
} }
}, },
@ -10095,8 +10191,8 @@
"kind": "NON_NULL", "kind": "NON_NULL",
"name": null, "name": null,
"ofType": { "ofType": {
"kind": "SCALAR", "kind": "OBJECT",
"name": "Boolean", "name": "Workshop",
"ofType": null "ofType": null
} }
}, },
@ -10250,8 +10346,8 @@
"kind": "NON_NULL", "kind": "NON_NULL",
"name": null, "name": null,
"ofType": { "ofType": {
"kind": "SCALAR", "kind": "OBJECT",
"name": "Boolean", "name": "ContactInformation",
"ofType": null "ofType": null
} }
}, },
@ -10556,8 +10652,8 @@
"kind": "NON_NULL", "kind": "NON_NULL",
"name": null, "name": null,
"ofType": { "ofType": {
"kind": "SCALAR", "kind": "OBJECT",
"name": "Boolean", "name": "Engagement",
"ofType": null "ofType": null
} }
}, },
@ -10711,8 +10807,8 @@
"kind": "NON_NULL", "kind": "NON_NULL",
"name": null, "name": null,
"ofType": { "ofType": {
"kind": "SCALAR", "kind": "OBJECT",
"name": "Boolean", "name": "EngagementType",
"ofType": null "ofType": null
} }
}, },
@ -10866,8 +10962,8 @@
"kind": "NON_NULL", "kind": "NON_NULL",
"name": null, "name": null,
"ofType": { "ofType": {
"kind": "SCALAR", "kind": "OBJECT",
"name": "Boolean", "name": "Provider",
"ofType": null "ofType": null
} }
}, },
@ -11021,8 +11117,8 @@
"kind": "NON_NULL", "kind": "NON_NULL",
"name": null, "name": null,
"ofType": { "ofType": {
"kind": "SCALAR", "kind": "OBJECT",
"name": "Boolean", "name": "Organisation",
"ofType": null "ofType": null
} }
}, },

@ -10,8 +10,10 @@ export type Scalars = {
Boolean: boolean; Boolean: boolean;
Int: number; Int: number;
Float: number; Float: number;
/** timestamp object YYYY-MM-ddThh:mm:ss.sssZ */ /** date object YYYY-MM-dd */
Date: any; Date: any;
/** timestamp object YYYY-MM-ddThh:mm:ss.sssZ */
DateTime: any;
/** only time hh-mm-ss */ /** only time hh-mm-ss */
Time: any; Time: any;
/** /**
@ -31,6 +33,7 @@ export type Scalars = {
/** The CargoBike type is central to the graph. You could call it the root. */ /** The CargoBike type is central to the graph. You could call it the root. */
export type CargoBike = { export type CargoBike = {
__typename?: 'CargoBike'; __typename?: 'CargoBike';
@ -76,7 +79,7 @@ export type CargoBike = {
isLockedByMe: Scalars['Boolean']; isLockedByMe: Scalars['Boolean'];
/** null if not locked by other user */ /** null if not locked by other user */
lockedBy?: Maybe<Scalars['ID']>; lockedBy?: Maybe<Scalars['ID']>;
lockedUntil?: Maybe<Scalars['Date']>; lockedUntil?: Maybe<Scalars['DateTime']>;
}; };
@ -424,7 +427,7 @@ export type Participant = {
isLockedByMe: Scalars['Boolean']; isLockedByMe: Scalars['Boolean'];
/** null if not locked by other user */ /** null if not locked by other user */
lockedBy?: Maybe<Scalars['ID']>; lockedBy?: Maybe<Scalars['ID']>;
lockedUntil?: Maybe<Scalars['Date']>; lockedUntil?: Maybe<Scalars['DateTime']>;
}; };
export type ParticipantCreateInput = { export type ParticipantCreateInput = {
@ -476,7 +479,7 @@ export type Workshop = {
isLockedByMe: Scalars['Boolean']; isLockedByMe: Scalars['Boolean'];
/** null if not locked by other user */ /** null if not locked by other user */
lockedBy?: Maybe<Scalars['ID']>; lockedBy?: Maybe<Scalars['ID']>;
lockedUntil?: Maybe<Scalars['Date']>; lockedUntil?: Maybe<Scalars['DateTime']>;
}; };
export type WorkshopCreateInput = { export type WorkshopCreateInput = {
@ -507,7 +510,7 @@ export type WorkshopType = {
isLockedByMe: Scalars['Boolean']; isLockedByMe: Scalars['Boolean'];
/** null if not locked by other user */ /** null if not locked by other user */
lockedBy?: Maybe<Scalars['ID']>; lockedBy?: Maybe<Scalars['ID']>;
lockedUntil?: Maybe<Scalars['Date']>; lockedUntil?: Maybe<Scalars['DateTime']>;
}; };
export type WorkshopTypeCreateInput = { export type WorkshopTypeCreateInput = {
@ -528,7 +531,7 @@ export type EngagementType = {
isLockedByMe: Scalars['Boolean']; isLockedByMe: Scalars['Boolean'];
/** null if not locked by other user */ /** null if not locked by other user */
lockedBy?: Maybe<Scalars['ID']>; lockedBy?: Maybe<Scalars['ID']>;
lockedUntil?: Maybe<Scalars['Date']>; lockedUntil?: Maybe<Scalars['DateTime']>;
}; };
export type EngagementTypeCreateInput = { export type EngagementTypeCreateInput = {
@ -554,7 +557,7 @@ export type Engagement = {
isLockedByMe: Scalars['Boolean']; isLockedByMe: Scalars['Boolean'];
/** null if not locked by other user */ /** null if not locked by other user */
lockedBy?: Maybe<Scalars['ID']>; lockedBy?: Maybe<Scalars['ID']>;
lockedUntil?: Maybe<Scalars['Date']>; lockedUntil?: Maybe<Scalars['DateTime']>;
}; };
export type EngagementCreateInput = { export type EngagementCreateInput = {
@ -609,7 +612,7 @@ export type Equipment = {
isLockedByMe: Scalars['Boolean']; isLockedByMe: Scalars['Boolean'];
/** null if not locked by other user */ /** null if not locked by other user */
lockedBy?: Maybe<Scalars['ID']>; lockedBy?: Maybe<Scalars['ID']>;
lockedUntil?: Maybe<Scalars['Date']>; lockedUntil?: Maybe<Scalars['DateTime']>;
}; };
export type EquipmentCreateInput = { export type EquipmentCreateInput = {
@ -642,7 +645,7 @@ export type EquipmentType = {
isLockedByMe: Scalars['Boolean']; isLockedByMe: Scalars['Boolean'];
/** null if not locked by other user */ /** null if not locked by other user */
lockedBy?: Maybe<Scalars['ID']>; lockedBy?: Maybe<Scalars['ID']>;
lockedUntil?: Maybe<Scalars['Date']>; lockedUntil?: Maybe<Scalars['DateTime']>;
}; };
export type EquipmentTypeCreateInput = { export type EquipmentTypeCreateInput = {
@ -674,7 +677,7 @@ export type BikeEvent = {
isLockedByMe: Scalars['Boolean']; isLockedByMe: Scalars['Boolean'];
/** null if not locked by other user */ /** null if not locked by other user */
lockedBy?: Maybe<Scalars['ID']>; lockedBy?: Maybe<Scalars['ID']>;
lockedUntil?: Maybe<Scalars['Date']>; lockedUntil?: Maybe<Scalars['DateTime']>;
}; };
export type BikeEventCreateInput = { export type BikeEventCreateInput = {
@ -711,7 +714,7 @@ export type BikeEventType = {
isLocked: Scalars['Boolean']; isLocked: Scalars['Boolean'];
/** null if not locked by other user */ /** null if not locked by other user */
lockedBy?: Maybe<Scalars['ID']>; lockedBy?: Maybe<Scalars['ID']>;
lockedUntil?: Maybe<Scalars['Date']>; lockedUntil?: Maybe<Scalars['DateTime']>;
}; };
export type BikeEventTypeUpdateInput = { export type BikeEventTypeUpdateInput = {
@ -732,7 +735,7 @@ export type Provider = {
isLockedByMe: Scalars['Boolean']; isLockedByMe: Scalars['Boolean'];
/** null if not locked by other user */ /** null if not locked by other user */
lockedBy?: Maybe<Scalars['ID']>; lockedBy?: Maybe<Scalars['ID']>;
lockedUntil?: Maybe<Scalars['Date']>; lockedUntil?: Maybe<Scalars['DateTime']>;
}; };
/** (dt. Anbieter) */ /** (dt. Anbieter) */
@ -767,7 +770,7 @@ export type Person = {
isLockedByMe: Scalars['Boolean']; isLockedByMe: Scalars['Boolean'];
/** null if not locked by other user */ /** null if not locked by other user */
lockedBy?: Maybe<Scalars['ID']>; lockedBy?: Maybe<Scalars['ID']>;
lockedUntil?: Maybe<Scalars['Date']>; lockedUntil?: Maybe<Scalars['DateTime']>;
}; };
export type PersonCreateInput = { export type PersonCreateInput = {
@ -795,7 +798,7 @@ export type ContactInformation = {
isLockedByMe: Scalars['Boolean']; isLockedByMe: Scalars['Boolean'];
/** null if not locked by other user */ /** null if not locked by other user */
lockedBy?: Maybe<Scalars['ID']>; lockedBy?: Maybe<Scalars['ID']>;
lockedUntil?: Maybe<Scalars['Date']>; lockedUntil?: Maybe<Scalars['DateTime']>;
}; };
export type ContactInformationCreateInput = { export type ContactInformationCreateInput = {
@ -836,7 +839,7 @@ export type Organisation = {
isLockedByMe: Scalars['Boolean']; isLockedByMe: Scalars['Boolean'];
/** null if not locked by other user */ /** null if not locked by other user */
lockedBy?: Maybe<Scalars['ID']>; lockedBy?: Maybe<Scalars['ID']>;
lockedUntil?: Maybe<Scalars['Date']>; lockedUntil?: Maybe<Scalars['DateTime']>;
}; };
export type OrganisationCreateInput = { export type OrganisationCreateInput = {
@ -881,7 +884,7 @@ export type LendingStation = {
isLockedByMe: Scalars['Boolean']; isLockedByMe: Scalars['Boolean'];
/** null if not locked by other user */ /** null if not locked by other user */
lockedBy?: Maybe<Scalars['ID']>; lockedBy?: Maybe<Scalars['ID']>;
lockedUntil?: Maybe<Scalars['Date']>; lockedUntil?: Maybe<Scalars['DateTime']>;
}; };
/** If you want to create LendingStation with cargoBikes, use createTimeFrame and set to: Date = null */ /** If you want to create LendingStation with cargoBikes, use createTimeFrame and set to: Date = null */
@ -910,25 +913,25 @@ export type LendingStationUpdateInput = {
export type LoanPeriod = { export type LoanPeriod = {
__typename?: 'LoanPeriod'; __typename?: 'LoanPeriod';
generalRemark?: Maybe<Scalars['String']>; generalRemark?: Maybe<Scalars['String']>;
/** notes for each day of the week, starting on Monday */ mo?: Maybe<Scalars['String']>;
notes?: Maybe<Array<Maybe<Scalars['String']>>>; tu?: Maybe<Scalars['String']>;
/** we?: Maybe<Scalars['String']>;
* Loan times from and until for each day of the week. th?: Maybe<Scalars['String']>;
* Starting with Monday from, Monday to, Tuesday from, ..., Sunday to fr?: Maybe<Scalars['String']>;
*/ sa?: Maybe<Scalars['String']>;
loanTimes?: Maybe<Array<Maybe<Scalars['String']>>>; su?: Maybe<Scalars['String']>;
}; };
/** (dt. Ausleihzeiten) */ /** (dt. Ausleihzeiten) */
export type LoanPeriodInput = { export type LoanPeriodInput = {
generalRemark?: Maybe<Scalars['String']>; generalRemark?: Maybe<Scalars['String']>;
/** notes for each day of the week, starting on Monday */ mo?: Maybe<Scalars['String']>;
notes?: Maybe<Array<Scalars['String']>>; tu?: Maybe<Scalars['String']>;
/** we?: Maybe<Scalars['String']>;
* Loan times from and until for each day of the week. th?: Maybe<Scalars['String']>;
* Starting with Monday from, Monday to, Tuesday from, ..., Sunday to fr?: Maybe<Scalars['String']>;
*/ sa?: Maybe<Scalars['String']>;
loanTimes?: Maybe<Array<Scalars['String']>>; su?: Maybe<Scalars['String']>;
}; };
export type DateRange = { export type DateRange = {
@ -960,7 +963,7 @@ export type TimeFrame = {
isLockedByMe: Scalars['Boolean']; isLockedByMe: Scalars['Boolean'];
/** null if not locked by other user */ /** null if not locked by other user */
lockedBy?: Maybe<Scalars['ID']>; lockedBy?: Maybe<Scalars['ID']>;
lockedUntil?: Maybe<Scalars['Date']>; lockedUntil?: Maybe<Scalars['DateTime']>;
}; };
export type TimeFrameCreateInput = { export type TimeFrameCreateInput = {
@ -1316,23 +1319,23 @@ export type Mutation = {
/** PARTICIPANTS */ /** PARTICIPANTS */
createParticipant: Participant; createParticipant: Participant;
lockParticipant: Participant; lockParticipant: Participant;
unlockParticipant?: Maybe<Scalars['Boolean']>; unlockParticipant?: Maybe<Participant>;
updateParticipant: Participant; updateParticipant: Participant;
deleteParticipant: Scalars['Boolean']; deleteParticipant: Scalars['Boolean'];
createWorkshopType: WorkshopType; createWorkshopType: WorkshopType;
lockWorkshopType: WorkshopType; lockWorkshopType: WorkshopType;
unlockWorkshopType: Scalars['Boolean']; unlockWorkshopType: WorkshopType;
updateWorkshopType: WorkshopType; updateWorkshopType: WorkshopType;
deleteWorkshopType: Scalars['Boolean']; deleteWorkshopType: Scalars['Boolean'];
createWorkshop: Workshop; createWorkshop: Workshop;
lockWorkshop: Workshop; lockWorkshop: Workshop;
unlockWorkshop: Scalars['Boolean']; unlockWorkshop: Workshop;
updateWorkshop: Workshop; updateWorkshop: Workshop;
deleteWorkshop: Scalars['Boolean']; deleteWorkshop: Scalars['Boolean'];
/** create new contactInfo */ /** create new contactInfo */
createContactInformation: ContactInformation; createContactInformation: ContactInformation;
lockContactInformation: ContactInformation; lockContactInformation: ContactInformation;
unlockContactInformation: Scalars['Boolean']; unlockContactInformation: ContactInformation;
updateContactInformation: ContactInformation; updateContactInformation: ContactInformation;
deleteContactInformation: Scalars['Boolean']; deleteContactInformation: Scalars['Boolean'];
createPerson: Person; createPerson: Person;
@ -1343,22 +1346,22 @@ export type Mutation = {
/** create Engagement */ /** create Engagement */
createEngagement: Engagement; createEngagement: Engagement;
lockEngagement: Engagement; lockEngagement: Engagement;
unlockEngagement: Scalars['Boolean']; unlockEngagement: Engagement;
updateEngagement: Engagement; updateEngagement: Engagement;
deleteEngagement: Scalars['Boolean']; deleteEngagement: Scalars['Boolean'];
createEngagementType: EngagementType; createEngagementType: EngagementType;
lockEngagementType: EngagementType; lockEngagementType: EngagementType;
unlockEngagementType: Scalars['Boolean']; unlockEngagementType: EngagementType;
updateEngagementType: EngagementType; updateEngagementType: EngagementType;
deleteEngagementType: Scalars['Boolean']; deleteEngagementType: Scalars['Boolean'];
createProvider: Provider; createProvider: Provider;
lockProvider: Provider; lockProvider: Provider;
unlockProvider: Scalars['Boolean']; unlockProvider: Provider;
updateProvider: Provider; updateProvider: Provider;
deleteProvider: Scalars['Boolean']; deleteProvider: Scalars['Boolean'];
createOrganisation: Organisation; createOrganisation: Organisation;
lockOrganisation: Organisation; lockOrganisation: Organisation;
unlockOrganisation: Scalars['Boolean']; unlockOrganisation: Organisation;
updateOrganisation: Organisation; updateOrganisation: Organisation;
deleteOrganisation: Scalars['Boolean']; deleteOrganisation: Scalars['Boolean'];
}; };
@ -1887,7 +1890,10 @@ export type UnlockContactInformationMutationVariables = Exact<{
}>; }>;
export type UnlockContactInformationMutation = { __typename?: 'Mutation', unlockContactInformation: boolean }; export type UnlockContactInformationMutation = { __typename?: 'Mutation', unlockContactInformation: (
{ __typename?: 'ContactInformation' }
& ContactInformationFieldsFragment
) };
export type DeleteContactInformationMutationVariables = Exact<{ export type DeleteContactInformationMutationVariables = Exact<{
id: Scalars['ID']; id: Scalars['ID'];
@ -2008,7 +2014,7 @@ export type DeleteEquipmentTypeMutation = { __typename?: 'Mutation', deleteEquip
export type AddressFieldsFragment = { __typename?: 'Address', street: string, number: string, zip: string }; export type AddressFieldsFragment = { __typename?: 'Address', street: string, number: string, zip: string };
export type CargoBikeFieldsForTableFragment = { __typename?: 'CargoBike', id: string, group?: Maybe<Group>, name: string, modelName?: Maybe<string>, numberOfChildren?: Maybe<number>, numberOfWheels?: Maybe<number>, forCargo?: Maybe<boolean>, forChildren?: Maybe<boolean>, stickerBikeNameState?: Maybe<StickerBikeNameState>, note?: Maybe<string>, isLocked: boolean, isLockedByMe: boolean, lockedBy?: Maybe<string>, lockedUntil?: Maybe<any>, insuranceData?: Maybe<{ __typename?: 'InsuranceData', billing?: Maybe<string>, hasFixedRate?: Maybe<boolean>, name?: Maybe<string>, benefactor?: Maybe<string>, noPnP?: Maybe<string>, maintenanceResponsible?: Maybe<string>, maintenanceBenefactor?: Maybe<string>, maintenanceAgreement?: Maybe<string>, fixedRate?: Maybe<number>, projectAllowance?: Maybe<any>, notes?: Maybe<string> }>, dimensionsAndLoad?: Maybe<{ __typename?: 'DimensionsAndLoad', bikeLength?: Maybe<number>, bikeWeight?: Maybe<number>, bikeHeight?: Maybe<number>, bikeWidth?: Maybe<number>, hasCoverBox?: Maybe<boolean>, lockable?: Maybe<boolean>, maxWeightBox?: Maybe<number>, maxWeightLuggageRack?: Maybe<number>, maxWeightTotal?: Maybe<number>, boxHeightRange?: Maybe<{ __typename?: 'NumRange', max?: Maybe<number>, min?: Maybe<number> }>, boxLengthRange?: Maybe<{ __typename?: 'NumRange', min?: Maybe<number>, max?: Maybe<number> }>, boxWidthRange?: Maybe<{ __typename?: 'NumRange', min?: Maybe<number>, max?: Maybe<number> }> }>, security?: Maybe<{ __typename?: 'Security', frameNumber?: Maybe<string>, adfcCoding?: Maybe<string>, keyNumberAXAChain?: Maybe<string>, keyNumberFrameLock?: Maybe<string>, policeCoding?: Maybe<string> }>, technicalEquipment?: Maybe<{ __typename?: 'TechnicalEquipment', bicycleShift?: Maybe<string>, isEBike?: Maybe<boolean>, hasLightSystem?: Maybe<boolean>, specialFeatures?: Maybe<string> }>, taxes?: Maybe<{ __typename?: 'Taxes', costCenter?: Maybe<string>, organisationArea?: Maybe<OrganisationArea> }>, provider?: Maybe<( export type CargoBikeFieldsForTableFragment = { __typename?: 'CargoBike', id: string, group?: Maybe<Group>, name: string, modelName?: Maybe<string>, state?: Maybe<BikeState>, numberOfChildren?: Maybe<number>, numberOfWheels?: Maybe<number>, forCargo?: Maybe<boolean>, forChildren?: Maybe<boolean>, stickerBikeNameState?: Maybe<StickerBikeNameState>, note?: Maybe<string>, isLocked: boolean, isLockedByMe: boolean, lockedBy?: Maybe<string>, lockedUntil?: Maybe<any>, insuranceData?: Maybe<{ __typename?: 'InsuranceData', billing?: Maybe<string>, hasFixedRate?: Maybe<boolean>, name?: Maybe<string>, benefactor?: Maybe<string>, noPnP?: Maybe<string>, maintenanceResponsible?: Maybe<string>, maintenanceBenefactor?: Maybe<string>, maintenanceAgreement?: Maybe<string>, fixedRate?: Maybe<number>, projectAllowance?: Maybe<any>, notes?: Maybe<string> }>, dimensionsAndLoad?: Maybe<{ __typename?: 'DimensionsAndLoad', bikeLength?: Maybe<number>, bikeWeight?: Maybe<number>, bikeHeight?: Maybe<number>, bikeWidth?: Maybe<number>, hasCoverBox?: Maybe<boolean>, lockable?: Maybe<boolean>, maxWeightBox?: Maybe<number>, maxWeightLuggageRack?: Maybe<number>, maxWeightTotal?: Maybe<number>, boxHeightRange?: Maybe<{ __typename?: 'NumRange', max?: Maybe<number>, min?: Maybe<number> }>, boxLengthRange?: Maybe<{ __typename?: 'NumRange', min?: Maybe<number>, max?: Maybe<number> }>, boxWidthRange?: Maybe<{ __typename?: 'NumRange', min?: Maybe<number>, max?: Maybe<number> }> }>, security?: Maybe<{ __typename?: 'Security', frameNumber?: Maybe<string>, adfcCoding?: Maybe<string>, keyNumberAXAChain?: Maybe<string>, keyNumberFrameLock?: Maybe<string>, policeCoding?: Maybe<string> }>, technicalEquipment?: Maybe<{ __typename?: 'TechnicalEquipment', bicycleShift?: Maybe<string>, isEBike?: Maybe<boolean>, hasLightSystem?: Maybe<boolean>, specialFeatures?: Maybe<string> }>, taxes?: Maybe<{ __typename?: 'Taxes', costCenter?: Maybe<string>, organisationArea?: Maybe<OrganisationArea> }>, provider?: Maybe<(
{ __typename?: 'Provider' } { __typename?: 'Provider' }
& ProviderFieldsGeneralFragment & ProviderFieldsGeneralFragment
)>, lendingStation?: Maybe<( )>, lendingStation?: Maybe<(
@ -2310,6 +2316,7 @@ export const CargoBikeFieldsForTableFragmentDoc = gql`
group group
name name
modelName modelName
state
insuranceData { insuranceData {
billing billing
hasFixedRate hasFixedRate
@ -2885,9 +2892,11 @@ export const LockContactInformationDocument = gql`
} }
export const UnlockContactInformationDocument = gql` export const UnlockContactInformationDocument = gql`
mutation UnlockContactInformation($id: ID!) { mutation UnlockContactInformation($id: ID!) {
unlockContactInformation(id: $id) unlockContactInformation(id: $id) {
...ContactInformationFields
} }
`; }
${ContactInformationFieldsFragmentDoc}`;
@Injectable({ @Injectable({
providedIn: 'root' providedIn: 'root'

Loading…
Cancel
Save