harvest-api 5.0.0

Harvest client, generated from the OpenAPI spec.
Documentation
#![allow(unused_imports)]
use harvest_api::HarvestClient;
use harvest_api::model::*;
#[tokio::main]
async fn main() {
    let client = HarvestClient::from_env();
    let response = client
        .create_estimate()
        .client_id(1)
        .number("your number")
        .purchase_order("your purchase order")
        .tax(1.0)
        .tax2(1.0)
        .discount(1.0)
        .subject("your subject")
        .notes("your notes")
        .currency("your currency")
        .issue_date("your issue date")
        .line_items(vec![::serde_json::json!({})])
        .send()
        .await
        .unwrap();
    println!("{:#?}", response);
}