type Query {
    provinces(options: ProvinceListOptions): ProvinceList!
    province(id: ID!): Province
}

type Mutation {
    "Create a new Province"
    createProvince(input: CreateProvinceInput!): Province!

    "Update an existing Province"
    updateProvince(input: UpdateProvinceInput!): Province!

    "Delete a Province"
    deleteProvince(id: ID!): DeletionResponse!
}

input ProvinceTranslationInput {
    id: ID
    languageCode: LanguageCode!
    name: String
}

input CreateProvinceInput {
    code: String!
    translations: [ProvinceTranslationInput!]!
    enabled: Boolean!
}

input UpdateProvinceInput {
    id: ID!
    code: String
    translations: [ProvinceTranslationInput!]
    enabled: Boolean
}

# generated by generateListOptions function
input ProvinceListOptions
