|
|
@ -1,32 +1,36 @@
|
|
|
|
use crate::api_core::access_management::{
|
|
|
|
use crate::api_core::common::{FileIdentifier, FileMetadataInfo, FileRecord, OptionalStringNumber};
|
|
|
|
|
|
|
|
use crate::api_core::endpoints::access_management::{
|
|
|
|
ApiVersion, ApiVersionResponse, GetServices, GetServicesResponse, SessionKey,
|
|
|
|
ApiVersion, ApiVersionResponse, GetServices, GetServicesResponse, SessionKey,
|
|
|
|
SessionKeyResponse, VerifyAccessKey, VerifyAccessKeyResponse,
|
|
|
|
SessionKeyResponse, VerifyAccessKey, VerifyAccessKeyResponse,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
use crate::api_core::adding_files::{
|
|
|
|
use crate::api_core::endpoints::adding_files::{
|
|
|
|
AddFile, AddFileRequest, AddFileResponse, ArchiveFiles, ArchiveFilesRequest, DeleteFiles,
|
|
|
|
AddFile, AddFileRequest, AddFileResponse, ArchiveFiles, ArchiveFilesRequest, DeleteFiles,
|
|
|
|
DeleteFilesRequest, UnarchiveFiles, UnarchiveFilesRequest, UndeleteFiles, UndeleteFilesRequest,
|
|
|
|
DeleteFilesRequest, UnarchiveFiles, UnarchiveFilesRequest, UndeleteFiles, UndeleteFilesRequest,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
use crate::api_core::adding_notes::{DeleteNotes, DeleteNotesRequest, SetNotes, SetNotesRequest};
|
|
|
|
use crate::api_core::endpoints::adding_notes::{
|
|
|
|
use crate::api_core::adding_tags::{AddTags, AddTagsRequest, CleanTags, CleanTagsResponse};
|
|
|
|
DeleteNotes, DeleteNotesRequest, SetNotes, SetNotesRequest,
|
|
|
|
use crate::api_core::adding_urls::{
|
|
|
|
};
|
|
|
|
|
|
|
|
use crate::api_core::endpoints::adding_tags::{
|
|
|
|
|
|
|
|
AddTags, AddTagsRequest, CleanTags, CleanTagsResponse,
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
use crate::api_core::endpoints::adding_urls::{
|
|
|
|
AddUrl, AddUrlRequest, AddUrlResponse, AssociateUrl, AssociateUrlRequest, GetUrlFiles,
|
|
|
|
AddUrl, AddUrlRequest, AddUrlResponse, AssociateUrl, AssociateUrlRequest, GetUrlFiles,
|
|
|
|
GetUrlFilesResponse, GetUrlInfo, GetUrlInfoResponse,
|
|
|
|
GetUrlFilesResponse, GetUrlInfo, GetUrlInfoResponse,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
use crate::api_core::client_builder::ClientBuilder;
|
|
|
|
use crate::api_core::endpoints::client_builder::ClientBuilder;
|
|
|
|
use crate::api_core::common::{FileIdentifier, FileMetadataInfo, FileRecord, OptionalStringNumber};
|
|
|
|
use crate::api_core::endpoints::managing_cookies_and_http_headers::{
|
|
|
|
use crate::api_core::managing_cookies_and_http_headers::{
|
|
|
|
|
|
|
|
GetCookies, GetCookiesResponse, SetCookies, SetCookiesRequest, SetUserAgent,
|
|
|
|
GetCookies, GetCookiesResponse, SetCookies, SetCookiesRequest, SetUserAgent,
|
|
|
|
SetUserAgentRequest,
|
|
|
|
SetUserAgentRequest,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
use crate::api_core::managing_pages::{
|
|
|
|
use crate::api_core::endpoints::managing_pages::{
|
|
|
|
AddFiles, AddFilesRequest, FocusPage, FocusPageRequest, GetPageInfo, GetPageInfoResponse,
|
|
|
|
AddFiles, AddFilesRequest, FocusPage, FocusPageRequest, GetPageInfo, GetPageInfoResponse,
|
|
|
|
GetPages, GetPagesResponse,
|
|
|
|
GetPages, GetPagesResponse,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
use crate::api_core::searching_and_fetching_files::{
|
|
|
|
use crate::api_core::endpoints::searching_and_fetching_files::{
|
|
|
|
FileMetadata, FileMetadataResponse, FileSearchOptions, GetFile, SearchFileHashes,
|
|
|
|
FileMetadata, FileMetadataResponse, FileSearchOptions, GetFile, SearchFileHashes,
|
|
|
|
SearchFileHashesResponse, SearchFiles, SearchFilesResponse, SearchQueryEntry,
|
|
|
|
SearchFileHashesResponse, SearchFiles, SearchFilesResponse, SearchQueryEntry,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
use crate::api_core::Endpoint;
|
|
|
|
use crate::api_core::endpoints::Endpoint;
|
|
|
|
use crate::error::{Error, Result};
|
|
|
|
use crate::error::{Error, Result};
|
|
|
|
use bytes::Buf;
|
|
|
|
use bytes::Buf;
|
|
|
|
use reqwest::Response;
|
|
|
|
use reqwest::Response;
|
|
|
|