wave-api 0.1.0

Typed Rust client for the Wave Accounting GraphQL API
Documentation
pub(crate) const LIST_CURRENCIES: &str = r#"
query {
  currencies {
    code symbol name plural exponent
  }
}
"#;

pub(crate) const LIST_COUNTRIES: &str = r#"
query {
  countries {
    code name nameWithArticle
    currency { code symbol name }
    provinces { code name }
  }
}
"#;

pub(crate) const LIST_ACCOUNT_TYPES: &str = r#"
query {
  accountTypes {
    name value normalBalanceType
  }
}
"#;

pub(crate) const LIST_ACCOUNT_SUBTYPES: &str = r#"
query {
  accountSubtypes {
    name value
    type { name value normalBalanceType }
    archivable systemCreated description
  }
}
"#;