|
|
@ -78,8 +78,9 @@ input CargoBikeCreateInput {
|
|
|
|
"Sticker State"
|
|
|
|
"Sticker State"
|
|
|
|
stickerBikeNameState: StickerBikeNameState
|
|
|
|
stickerBikeNameState: StickerBikeNameState
|
|
|
|
note: String
|
|
|
|
note: String
|
|
|
|
provider: String
|
|
|
|
providerId: ID
|
|
|
|
insuranceData: InsuranceDataCreateInput!
|
|
|
|
insuranceData: InsuranceDataCreateInput!
|
|
|
|
|
|
|
|
lendingStationId: ID
|
|
|
|
taxes: TaxesCreateInput!
|
|
|
|
taxes: TaxesCreateInput!
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -108,12 +109,12 @@ input CargoBikeUpdateInput {
|
|
|
|
dimensionsAndLoad: DimensionsAndLoadUpdateInput
|
|
|
|
dimensionsAndLoad: DimensionsAndLoadUpdateInput
|
|
|
|
"Refers to equipment that is not unique. See kommentierte info tabelle -> Fragen -> Frage 2"
|
|
|
|
"Refers to equipment that is not unique. See kommentierte info tabelle -> Fragen -> Frage 2"
|
|
|
|
miscellaneousEquipment: [String]
|
|
|
|
miscellaneousEquipment: [String]
|
|
|
|
lendingStationId: ID
|
|
|
|
|
|
|
|
"Sticker State"
|
|
|
|
"Sticker State"
|
|
|
|
stickerBikeNameState: StickerBikeNameState
|
|
|
|
stickerBikeNameState: StickerBikeNameState
|
|
|
|
note: String
|
|
|
|
note: String
|
|
|
|
provider: String
|
|
|
|
provider: String
|
|
|
|
insuranceData: InsuranceDataUpdateInput
|
|
|
|
insuranceData: InsuranceDataUpdateInput
|
|
|
|
|
|
|
|
lendingStationId: ID
|
|
|
|
taxes: TaxesUpdateInput
|
|
|
|
taxes: TaxesUpdateInput
|
|
|
|
"will keep Bike locked if set to true, default = false"
|
|
|
|
"will keep Bike locked if set to true, default = false"
|
|
|
|
keepLock: Boolean
|
|
|
|
keepLock: Boolean
|
|
|
@ -504,19 +505,26 @@ enum StickerBikeNameState {
|
|
|
|
UNKNOWN
|
|
|
|
UNKNOWN
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
"(dt. Anbieter)"
|
|
|
|
"(dt. Anbieter) bezieht sich auf die Benziehung einer Person oder Organisation zum Lastenrad"
|
|
|
|
type Provider {
|
|
|
|
type Provider {
|
|
|
|
id: ID!
|
|
|
|
id: ID!
|
|
|
|
name: String!
|
|
|
|
|
|
|
|
formularName: String
|
|
|
|
formularName: String
|
|
|
|
|
|
|
|
contactPersons: [ContactInformation]!
|
|
|
|
|
|
|
|
|
|
|
|
providerContactPerson: [ContactInformation]
|
|
|
|
|
|
|
|
isPrivatePerson: Boolean!
|
|
|
|
isPrivatePerson: Boolean!
|
|
|
|
organisation: Organisation
|
|
|
|
organisation: Organisation
|
|
|
|
cargoBikes: [CargoBike]!
|
|
|
|
cargoBikes: [CargoBike]!
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"(dt. Anbieter)"
|
|
|
|
|
|
|
|
input ProviderCreateInput {
|
|
|
|
|
|
|
|
formularName: String!
|
|
|
|
|
|
|
|
"i think it makes more sense to create Provider and then add new ContactPersons"
|
|
|
|
|
|
|
|
contactPersonIds: [ID]!
|
|
|
|
|
|
|
|
isPrivatePerson: Boolean!
|
|
|
|
|
|
|
|
organisationId: ID
|
|
|
|
|
|
|
|
cargoBikeIds: [ID]!
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type ContactInformation {
|
|
|
|
type ContactInformation {
|
|
|
|
id: ID!
|
|
|
|
id: ID!
|
|
|
|
name: String!
|
|
|
|
name: String!
|
|
|
@ -558,6 +566,7 @@ input ContactInformationUpdateInput {
|
|
|
|
note: String
|
|
|
|
note: String
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"describes Relation of Contact to Provider"
|
|
|
|
type ContactPerson {
|
|
|
|
type ContactPerson {
|
|
|
|
id: ID!
|
|
|
|
id: ID!
|
|
|
|
intern: Boolean!
|
|
|
|
intern: Boolean!
|
|
|
@ -703,7 +712,7 @@ type Query {
|
|
|
|
equipment(offset: Int!, limit: Int!): [Equipment]!
|
|
|
|
equipment(offset: Int!, limit: Int!): [Equipment]!
|
|
|
|
"equipment by id, will return null if id not found"
|
|
|
|
"equipment by id, will return null if id not found"
|
|
|
|
equipmentById(id: ID!): Equipment
|
|
|
|
equipmentById(id: ID!): Equipment
|
|
|
|
providers: [Provider]!
|
|
|
|
providers(offset: Int!, limit: Int!): [Provider]!
|
|
|
|
"particcipant by id"
|
|
|
|
"particcipant by id"
|
|
|
|
participantById(id:ID!): Participant
|
|
|
|
participantById(id:ID!): Participant
|
|
|
|
"p"
|
|
|
|
"p"
|
|
|
@ -747,6 +756,8 @@ type Mutation {
|
|
|
|
"createContacPerson ,return null if contactInformationId does not exist"
|
|
|
|
"createContacPerson ,return null if contactInformationId does not exist"
|
|
|
|
createContactPerson(contactPerson: ContactPersonCreateInput): ContactPerson
|
|
|
|
createContactPerson(contactPerson: ContactPersonCreateInput): ContactPerson
|
|
|
|
updateContactPerson(contactPerson: ContactPersonUpdateInput): ContactPerson
|
|
|
|
updateContactPerson(contactPerson: ContactPersonUpdateInput): ContactPerson
|
|
|
|
|
|
|
|
"create Provider, if cargoBikeIds or contactPersonIds are not valid, provider will still be created"
|
|
|
|
|
|
|
|
createProvider(provider: ProviderCreateInput!): Provider!
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|