type Query {
  taxRates(options: TaxRateListOptions): TaxRateList!
  taxRate(id: ID!): TaxRate
}

type Mutation {
  "Create a new TaxRate"
  createTaxRate(input: CreateTaxRateInput!): TaxRate!
  "Update an existing TaxRate"
  updateTaxRate(input: UpdateTaxRateInput!): TaxRate!
}

# generated by generateListOptions function
input TaxRateListOptions

input CreateTaxRateInput {
    name: String!
    enabled: Boolean!
    value: Int!
    categoryId: ID!
    zoneId: ID!
    customerGroupId: ID
}

input UpdateTaxRateInput {
    id: ID!
    name: String
    value: Int
    enabled: Boolean
    categoryId: ID
    zoneId: ID
    customerGroupId: ID
}
