pub trait OrganizationReportsApi: Send + Sync {
Show 14 methods
// Required methods
fn azure_validate_file<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn create_organization_report<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
add_organization_report_request_model: Option<AddOrganizationReportRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
fn delete_organization_report<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
fn download_report_file<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 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>> + 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>> + 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>> + 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>> + 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<Vec<OrganizationReportSummaryDataResponse>, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
fn renew_file_upload_url<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
report_file_id: Option<&'a str>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationReportFileResponseModel, Error>> + 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: Uuid,
update_organization_report_v2_request_model: Option<UpdateOrganizationReportV2RequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 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_model: Option<UpdateOrganizationReportApplicationDataRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 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_model: Option<UpdateOrganizationReportSummaryRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
fn upload_report_file<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
report_file_id: Option<&'a str>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
}Required Methods§
Sourcefn azure_validate_file<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn azure_validate_file<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
POST /reports/organizations/file/validate/azure
Sourcefn create_organization_report<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
add_organization_report_request_model: Option<AddOrganizationReportRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn create_organization_report<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
add_organization_report_request_model: Option<AddOrganizationReportRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /reports/organizations/{organizationId}
Sourcefn delete_organization_report<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn delete_organization_report<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
DELETE /reports/organizations/{organizationId}/{reportId}
Sourcefn download_report_file<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn download_report_file<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /reports/organizations/{organizationId}/{reportId}/file/download
Sourcefn get_latest_organization_report<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 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>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /reports/organizations/{organizationId}/latest
Sourcefn get_organization_report<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 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>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /reports/organizations/{organizationId}/{reportId}
Sourcefn get_organization_report_application_data<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 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>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /reports/organizations/{organizationId}/data/application/{reportId}
Sourcefn get_organization_report_summary<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 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>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /reports/organizations/{organizationId}/data/summary/{reportId}
Sourcefn 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<Vec<OrganizationReportSummaryDataResponse>, Error>> + 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<Vec<OrganizationReportSummaryDataResponse>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /reports/organizations/{organizationId}/data/summary
Sourcefn renew_file_upload_url<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
report_file_id: Option<&'a str>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationReportFileResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn renew_file_upload_url<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
report_file_id: Option<&'a str>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationReportFileResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /reports/organizations/{organizationId}/{reportId}/file/renew
Sourcefn update_organization_report<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
update_organization_report_v2_request_model: Option<UpdateOrganizationReportV2RequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 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: Uuid,
update_organization_report_v2_request_model: Option<UpdateOrganizationReportV2RequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PATCH /reports/organizations/{organizationId}/{reportId}
Sourcefn update_organization_report_application_data<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
update_organization_report_application_data_request_model: Option<UpdateOrganizationReportApplicationDataRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 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_model: Option<UpdateOrganizationReportApplicationDataRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PATCH /reports/organizations/{organizationId}/data/application/{reportId}
Sourcefn update_organization_report_summary<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
update_organization_report_summary_request_model: Option<UpdateOrganizationReportSummaryRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 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_model: Option<UpdateOrganizationReportSummaryRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PATCH /reports/organizations/{organizationId}/data/summary/{reportId}
Sourcefn upload_report_file<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
report_file_id: Option<&'a str>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn upload_report_file<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
report_id: Uuid,
report_file_id: Option<&'a str>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /reports/organizations/{organizationId}/{reportId}/file