1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// @generated by sylphx-gen 0.1.0 from contracts@c8a7361c53e572321b0ec9fb014fd1e8279b007b62562423038e0d0e5b9d767a. Do not edit.
//! The Sylphx Rust SDK: one API, one key, one namespace per service.
//!
//! ```no_run
//! # async fn run() -> Result<(), sylphx::Error> {
//! let sx = sylphx::Client::from_env()?; // SYLPHX_API_KEY
//! let me = sx.access().whoami(Default::default()).await?;
//! println!("{} in {}", me.principal, me.org);
//! # Ok(()) }
//! ```
//!
//! Generated from the Sylphx schema registry (`contracts/`) by `sylphx-gen`;
//! the wire is <https://api.sylphx.com/v1/openapi.json>.
pub mod access;
pub mod agents;
pub mod ai;
pub mod artifacts;
pub mod assets;
pub mod auth;
pub mod billing;
pub mod broker;
pub mod build;
pub mod common;
pub mod config;
pub mod connections;
pub mod data;
pub mod entitlement;
pub mod events;
pub mod flags;
pub mod hosting;
pub mod ids;
pub mod keys;
pub mod knowledge;
pub mod localization;
pub mod methods;
pub mod money;
pub mod network;
pub mod notify;
pub mod observability;
pub mod realtime;
pub mod release;
pub mod runners;
pub mod runtime;
pub mod sandboxes;
pub mod secrets;
pub mod workflows;
pub use runtime::{Client, Error, HttpRequest, HttpResponse, MethodSpec, Operation, Transport};
#[cfg(feature = "http")]
pub use runtime::{HttpTransport, HttpTransportBuilder};