Skip to main content

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
9mod client;
10mod endpoints;
11mod methods;
12mod streams;
13mod tenant_api;
14mod types;
15
16pub use client::CloudApiClient;
17pub use types::{
18    CheckoutEvent, CheckoutResponse, DeployResponse, ListSecretsResponse, Plan, ProvisioningEvent,
19    ProvisioningEventType, RegistryToken, RotateCredentialsResponse, StatusResponse,
20    SubscriptionStatus, Tenant, TenantInfo, TenantSecrets, TenantStatus, UserInfo, UserMeResponse,
21};