Trait OrganizationReportsApi

Source
pub trait OrganizationReportsApi: Send + Sync {
    // Required methods
    fn create_organization_report<'a, 'life0, 'async_trait>(
        &'life0 self,
        organization_id: Uuid,
        add_organization_report_request: Option<AddOrganizationReportRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error<CreateOrganizationReportError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
    fn get_latest_organization_report<'a, 'life0, 'async_trait>(
        &'life0 self,
        organization_id: Uuid,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error<GetLatestOrganizationReportError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
    fn get_organization_report<'a, 'life0, 'async_trait>(
        &'life0 self,
        organization_id: Uuid,
        report_id: Uuid,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error<GetOrganizationReportError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
    fn get_organization_report_application_data<'a, 'life0, 'async_trait>(
        &'life0 self,
        organization_id: Uuid,
        report_id: Uuid,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error<GetOrganizationReportApplicationDataError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
    fn get_organization_report_data<'a, 'life0, 'async_trait>(
        &'life0 self,
        organization_id: Uuid,
        report_id: Uuid,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error<GetOrganizationReportDataError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
    fn get_organization_report_summary<'a, 'life0, 'async_trait>(
        &'life0 self,
        organization_id: Uuid,
        report_id: Uuid,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error<GetOrganizationReportSummaryError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
    fn get_organization_report_summary_data_by_date_range<'a, 'life0, 'async_trait>(
        &'life0 self,
        organization_id: Uuid,
        start_date: Option<String>,
        end_date: Option<String>,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error<GetOrganizationReportSummaryDataByDateRangeError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
    fn update_organization_report<'a, 'life0, 'async_trait>(
        &'life0 self,
        organization_id: Uuid,
        report_id: &'a str,
        update_organization_report_request: Option<UpdateOrganizationReportRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error<UpdateOrganizationReportError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
    fn update_organization_report_application_data<'a, 'life0, 'async_trait>(
        &'life0 self,
        organization_id: Uuid,
        report_id: Uuid,
        update_organization_report_application_data_request: Option<UpdateOrganizationReportApplicationDataRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error<UpdateOrganizationReportApplicationDataError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
    fn update_organization_report_data<'a, 'life0, 'async_trait>(
        &'life0 self,
        organization_id: Uuid,
        report_id: Uuid,
        update_organization_report_data_request: Option<UpdateOrganizationReportDataRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error<UpdateOrganizationReportDataError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
    fn update_organization_report_summary<'a, 'life0, 'async_trait>(
        &'life0 self,
        organization_id: Uuid,
        report_id: Uuid,
        update_organization_report_summary_request: Option<UpdateOrganizationReportSummaryRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error<UpdateOrganizationReportSummaryError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'a: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn create_organization_report<'a, 'life0, 'async_trait>( &'life0 self, organization_id: Uuid, add_organization_report_request: Option<AddOrganizationReportRequest>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<CreateOrganizationReportError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /reports/organizations/{organizationId}

Source

fn get_latest_organization_report<'a, 'life0, 'async_trait>( &'life0 self, organization_id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<(), Error<GetLatestOrganizationReportError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

GET /reports/organizations/{organizationId}/latest

Source

fn get_organization_report<'a, 'life0, 'async_trait>( &'life0 self, organization_id: Uuid, report_id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<(), Error<GetOrganizationReportError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

GET /reports/organizations/{organizationId}/{reportId}

Source

fn get_organization_report_application_data<'a, 'life0, 'async_trait>( &'life0 self, organization_id: Uuid, report_id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<(), Error<GetOrganizationReportApplicationDataError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

GET /reports/organizations/{organizationId}/data/application/{reportId}

Source

fn get_organization_report_data<'a, 'life0, 'async_trait>( &'life0 self, organization_id: Uuid, report_id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<(), Error<GetOrganizationReportDataError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

GET /reports/organizations/{organizationId}/data/report/{reportId}

Source

fn get_organization_report_summary<'a, 'life0, 'async_trait>( &'life0 self, organization_id: Uuid, report_id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<(), Error<GetOrganizationReportSummaryError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

GET /reports/organizations/{organizationId}/data/summary/{reportId}

Source

fn get_organization_report_summary_data_by_date_range<'a, 'life0, 'async_trait>( &'life0 self, organization_id: Uuid, start_date: Option<String>, end_date: Option<String>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<GetOrganizationReportSummaryDataByDateRangeError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

GET /reports/organizations/{organizationId}/data/summary

Source

fn update_organization_report<'a, 'life0, 'async_trait>( &'life0 self, organization_id: Uuid, report_id: &'a str, update_organization_report_request: Option<UpdateOrganizationReportRequest>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<UpdateOrganizationReportError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PATCH /reports/organizations/{organizationId}/{reportId}

Source

fn update_organization_report_application_data<'a, 'life0, 'async_trait>( &'life0 self, organization_id: Uuid, report_id: Uuid, update_organization_report_application_data_request: Option<UpdateOrganizationReportApplicationDataRequest>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<UpdateOrganizationReportApplicationDataError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PATCH /reports/organizations/{organizationId}/data/application/{reportId}

Source

fn update_organization_report_data<'a, 'life0, 'async_trait>( &'life0 self, organization_id: Uuid, report_id: Uuid, update_organization_report_data_request: Option<UpdateOrganizationReportDataRequest>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<UpdateOrganizationReportDataError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PATCH /reports/organizations/{organizationId}/data/report/{reportId}

Source

fn update_organization_report_summary<'a, 'life0, 'async_trait>( &'life0 self, organization_id: Uuid, report_id: Uuid, update_organization_report_summary_request: Option<UpdateOrganizationReportSummaryRequest>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<UpdateOrganizationReportSummaryError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PATCH /reports/organizations/{organizationId}/data/summary/{reportId}

Implementors§