systemprompt_cloud/api_client/mod.rs
1//! systemprompt.io Cloud API client.
2//!
3//! - [`CloudApiClient`] is constructed in `client.rs`.
4//! - Low-level HTTP verbs live in `methods.rs`.
5//! - Top-level endpoints live in `endpoints.rs`; tenant-scoped endpoints in
6//! `tenant_api.rs`.
7//! - SSE stream subscriptions live in `streams.rs`.
8//!
9//! Copyright (c) systemprompt.io — Business Source License 1.1.
10//! See <https://systemprompt.io> for licensing details.
11
12mod client;
13mod endpoints;
14mod methods;
15mod streams;
16mod tenant_api;
17mod types;
18
19pub use client::CloudApiClient;
20pub use types::{
21 CheckoutEvent, CheckoutResponse, DeployResponse, ListSecretsResponse, Plan, ProvisioningEvent,
22 ProvisioningEventType, RegistryToken, RotateCredentialsResponse, StatusResponse,
23 SubscriptionStatus, Tenant, TenantInfo, TenantSecrets, TenantStatus, UserInfo, UserMeResponse,
24};