#![allow(unused_imports)]
pub use openlark_client;
pub use openlark_client::{Client, ClientBuilder, Config, Error, Result};
pub use openlark_core;
pub use openlark_core as core;
pub use openlark_core::config::Config as CoreConfig;
pub use openlark_core::error::{CoreError, ErrorCode, ErrorSeverity, ErrorTrait, ErrorType};
pub use openlark_core::req_option::RequestOption;
pub use openlark_core::SDKResult;
#[cfg(feature = "websocket")]
pub mod ws_client {
pub use openlark_client::ws_client::*;
}
#[cfg(feature = "auth")]
pub use openlark_auth;
#[cfg(feature = "auth")]
pub use openlark_auth as auth;
#[cfg(feature = "communication")]
pub use openlark_communication;
#[cfg(feature = "communication")]
pub use openlark_communication as communication;
#[cfg(any(
feature = "docs",
feature = "docs-ccm",
feature = "docs-base",
feature = "docs-bitable",
feature = "docs-drive",
feature = "docs-explorer",
feature = "docs-sheets",
feature = "docs-sheets-v2",
feature = "docs-sheets-v3",
feature = "docs-full"
))]
pub use openlark_docs;
#[cfg(any(
feature = "docs",
feature = "docs-ccm",
feature = "docs-base",
feature = "docs-bitable",
feature = "docs-drive",
feature = "docs-explorer",
feature = "docs-sheets",
feature = "docs-sheets-v2",
feature = "docs-sheets-v3",
feature = "docs-full"
))]
pub use openlark_docs as docs;
#[cfg(feature = "hr")]
pub use openlark_hr as hr;
#[cfg(feature = "ai")]
pub use openlark_ai as ai;
#[cfg(feature = "helpdesk")]
pub use openlark_helpdesk as helpdesk;
#[cfg(feature = "mail")]
pub use openlark_mail as mail;
#[cfg(feature = "meeting")]
pub use openlark_meeting as meeting;
#[cfg(feature = "application")]
pub use openlark_application as application;
#[cfg(feature = "security")]
pub use openlark_security as security;
#[cfg(feature = "workflow")]
pub use openlark_workflow as workflow;
#[cfg(feature = "platform")]
pub use openlark_platform as platform;
#[cfg(feature = "analytics")]
pub use openlark_analytics as analytics;
#[cfg(feature = "user")]
pub use openlark_user as user;
#[cfg(feature = "webhook")]
pub use openlark_webhook;
#[cfg(feature = "webhook")]
pub use openlark_webhook as webhook;
#[cfg(feature = "cardkit")]
pub use openlark_cardkit as cardkit;
#[cfg(feature = "auth")]
pub use openlark_client::AuthClient;
#[cfg(any(
feature = "docs",
feature = "docs-ccm",
feature = "docs-base",
feature = "docs-bitable",
feature = "docs-drive",
feature = "docs-explorer",
feature = "docs-sheets",
feature = "docs-sheets-v2",
feature = "docs-sheets-v3",
feature = "docs-full"
))]
pub use openlark_client::DocsClient;
#[cfg(feature = "communication")]
pub use openlark_client::CommunicationClient;
#[cfg(feature = "hr")]
pub use openlark_client::HrClient;
#[cfg(feature = "meeting")]
pub use openlark_client::MeetingClient;
#[cfg(feature = "cardkit")]
pub use openlark_client::CardkitClient;
pub mod prelude {
#[cfg(feature = "auth")]
pub use crate::AuthClient;
#[cfg(feature = "communication")]
pub use crate::CommunicationClient;
#[cfg(any(
feature = "docs",
feature = "docs-ccm",
feature = "docs-base",
feature = "docs-bitable",
feature = "docs-drive",
feature = "docs-explorer",
feature = "docs-sheets",
feature = "docs-sheets-v2",
feature = "docs-sheets-v3",
feature = "docs-full"
))]
pub use crate::DocsClient;
#[cfg(feature = "hr")]
pub use crate::HrClient;
#[cfg(feature = "meeting")]
pub use crate::MeetingClient;
pub use crate::SDKResult;
pub use crate::{Client, ClientBuilder, Config, CoreConfig, Error, Result};
pub use crate::{CoreError, ErrorCode, ErrorSeverity, ErrorTrait, ErrorType, RequestOption};
pub use openlark_core::prelude::*;
}