tinyhumans 0.1.0

Rust SDK for the TinyHumans backend
Documentation
// Generated by scripts/sync-openapi.mjs. Do not edit.
/// Every public, non-admin, non-webhook route exposed by the deployed backend contract.
#[rustfmt::skip]
pub const PUBLIC_ROUTES: &[(&str, &str)] = &[
    ("GET", "/"),
    ("POST", "/agent-integrations/apify/run"),
    ("GET", "/agent-integrations/apify/runs/{runId}"),
    ("GET", "/agent-integrations/apify/runs/{runId}/results"),
    ("POST", "/agent-integrations/composio/authorize"),
    ("GET", "/agent-integrations/composio/connections"),
    ("DELETE", "/agent-integrations/composio/connections/{connectionId}"),
    ("POST", "/agent-integrations/composio/execute"),
    ("GET", "/agent-integrations/composio/github/repos"),
    ("GET", "/agent-integrations/composio/toolkits"),
    ("GET", "/agent-integrations/composio/tools"),
    ("GET", "/agent-integrations/composio/triggers"),
    ("POST", "/agent-integrations/composio/triggers"),
    ("DELETE", "/agent-integrations/composio/triggers/{triggerId}"),
    ("GET", "/agent-integrations/composio/triggers/available"),
    ("POST", "/agent-integrations/crypto/bridge"),
    ("GET", "/agent-integrations/crypto/routes"),
    ("POST", "/agent-integrations/crypto/swap"),
    ("GET", "/agent-integrations/file-storage/files"),
    ("POST", "/agent-integrations/file-storage/files"),
    ("DELETE", "/agent-integrations/file-storage/files/{fileId}"),
    ("GET", "/agent-integrations/file-storage/files/{fileId}"),
    ("PATCH", "/agent-integrations/file-storage/files/{fileId}"),
    ("GET", "/agent-integrations/file-storage/files/{fileId}/download"),
    ("POST", "/agent-integrations/file-storage/files/{fileId}/link"),
    ("GET", "/agent-integrations/file-storage/public/{fileId}"),
    ("GET", "/agent-integrations/file-storage/usage"),
    ("POST", "/agent-integrations/financial-apis/commodity"),
    ("POST", "/agent-integrations/financial-apis/crypto-series"),
    ("POST", "/agent-integrations/financial-apis/exchange-rate"),
    ("POST", "/agent-integrations/financial-apis/options"),
    ("POST", "/agent-integrations/financial-apis/quote"),
    ("POST", "/agent-integrations/google-places/details"),
    ("POST", "/agent-integrations/google-places/search"),
    ("POST", "/agent-integrations/history-rewards/claim"),
    ("GET", "/agent-integrations/history-rewards/status"),
    ("POST", "/agent-integrations/history-rewards/uploads"),
    ("POST", "/agent-integrations/media-generation/images"),
    ("GET", "/agent-integrations/media-generation/models"),
    ("GET", "/agent-integrations/media-generation/requests/{requestId}"),
    ("POST", "/agent-integrations/media-generation/videos"),
    ("POST", "/agent-integrations/parallel/chat"),
    ("POST", "/agent-integrations/parallel/dataset"),
    ("GET", "/agent-integrations/parallel/dataset/{findallId}"),
    ("GET", "/agent-integrations/parallel/dataset/{findallId}/result"),
    ("POST", "/agent-integrations/parallel/enrich"),
    ("POST", "/agent-integrations/parallel/extract"),
    ("POST", "/agent-integrations/parallel/research"),
    ("GET", "/agent-integrations/parallel/research/{runId}"),
    ("GET", "/agent-integrations/parallel/research/{runId}/result"),
    ("POST", "/agent-integrations/parallel/search"),
    ("GET", "/agent-integrations/pricing"),
    ("POST", "/agent-integrations/recall-calendar/connect"),
    ("POST", "/agent-integrations/recall-calendar/disconnect"),
    ("GET", "/agent-integrations/recall-calendar/meetings"),
    ("GET", "/agent-integrations/recall-calendar/oauth-complete"),
    ("GET", "/agent-integrations/recall-calendar/status"),
    ("POST", "/agent-integrations/tenor/search"),
    ("POST", "/agent-integrations/tinyfish/agent/run"),
    ("POST", "/agent-integrations/tinyfish/fetch"),
    ("POST", "/agent-integrations/tinyfish/search"),
    ("POST", "/agent-integrations/twilio/call"),
    ("GET", "/announcements/latest"),
    ("GET", "/api-keys"),
    ("POST", "/api-keys"),
    ("DELETE", "/api-keys/{keyId}"),
    ("GET", "/auth/{provider}/callback"),
    ("GET", "/auth/{provider}/connect"),
    ("GET", "/auth/{provider}/login"),
    ("POST", "/auth/channels/{channel}/link-token"),
    ("POST", "/auth/email/send-link"),
    ("GET", "/auth/email/verify"),
    ("GET", "/auth/integrations"),
    ("DELETE", "/auth/integrations/{integrationId}"),
    ("POST", "/auth/integrations/{integrationId}/tokens"),
    ("POST", "/auth/login-token/consume"),
    ("GET", "/auth/me"),
    ("GET", "/budgets"),
    ("POST", "/budgets/seats"),
    ("DELETE", "/budgets/seats/{seatId}"),
    ("PATCH", "/budgets/seats/{seatId}"),
    ("POST", "/channels/{channel}/messages"),
    ("DELETE", "/channels/{channel}/messages/{messageId}"),
    ("POST", "/channels/{channel}/reactions"),
    ("GET", "/channels/{channel}/threads"),
    ("POST", "/channels/{channel}/threads"),
    ("PATCH", "/channels/{channel}/threads/{threadId}"),
    ("POST", "/channels/{channel}/typing"),
    ("GET", "/coupons/me"),
    ("POST", "/coupons/redeem"),
    ("GET", "/feedback"),
    ("POST", "/feedback"),
    ("GET", "/feedback/{id}"),
    ("POST", "/feedback/{id}/comments"),
    ("POST", "/feedback/{id}/vote"),
    ("POST", "/feedback/ingest"),
    ("GET", "/invite/my-codes"),
    ("POST", "/invite/redeem"),
    ("GET", "/invite/status"),
    ("GET", "/mascots"),
    ("GET", "/mascots/{id}"),
    ("GET", "/mascots/{id}/riv"),
    ("GET", "/mascots/demo"),
    ("POST", "/mascots/join-meeting"),
    ("GET", "/mascots/meetings"),
    ("GET", "/medulla/v1/roster"),
    ("GET", "/medulla/v1/routing/strategy"),
    ("PUT", "/medulla/v1/routing/strategy"),
    ("GET", "/medulla/v1/sessions"),
    ("POST", "/medulla/v1/sessions"),
    ("DELETE", "/medulla/v1/sessions/{id}"),
    ("GET", "/medulla/v1/sessions/{id}"),
    ("POST", "/medulla/v1/sessions/{id}/abort"),
    ("GET", "/medulla/v1/sessions/{id}/events"),
    ("GET", "/medulla/v1/sessions/{id}/messages"),
    ("POST", "/medulla/v1/sessions/{id}/messages"),
    ("GET", "/medulla/v1/sessions/{id}/stream"),
    ("GET", "/medulla/v1/tasks"),
    ("POST", "/medulla/v1/tasks"),
    ("DELETE", "/medulla/v1/tasks/{id}"),
    ("PATCH", "/medulla/v1/tasks/{id}"),
    ("GET", "/medulla/v1/tasks/sources"),
    ("POST", "/medulla/v1/tasks/sources"),
    ("DELETE", "/medulla/v1/tasks/sources/{id}"),
    ("POST", "/medulla/v1/tasks/sources/{id}/sync"),
    ("POST", "/openai/v1/audio/speech"),
    ("POST", "/openai/v1/audio/transcriptions"),
    ("POST", "/openai/v1/chat/completions"),
    ("POST", "/openai/v1/completions"),
    ("POST", "/openai/v1/embeddings"),
    ("GET", "/openai/v1/models"),
    ("GET", "/opencompany/instances"),
    ("POST", "/opencompany/instances"),
    ("DELETE", "/opencompany/instances/{slug}"),
    ("DELETE", "/opencompany/instances/{slug}/custom-domain"),
    ("PUT", "/opencompany/instances/{slug}/custom-domain"),
    ("POST", "/opencompany/instances/{slug}/custom-domain/verify"),
    ("POST", "/opencompany/instances/{slug}/resume"),
    ("POST", "/opencompany/instances/{slug}/suspend"),
    ("POST", "/orchestration/v1/events"),
    ("POST", "/orchestration/v1/run"),
    ("POST", "/orchestration/v1/run/continue"),
    ("GET", "/orchestration/v1/sessions"),
    ("GET", "/orchestration/v1/sessions/{id}/messages"),
    ("GET", "/orchestration/v1/sessions/{id}/state"),
    ("GET", "/orchestration/v1/steering"),
    ("GET", "/orchestration/v1/world-diff"),
    ("POST", "/orchestration/v1/world-diff"),
    ("POST", "/payments/coinbase/charge"),
    ("GET", "/payments/coinbase/charge/{gatewayTransactionId}"),
    ("GET", "/payments/credits/auto-recharge"),
    ("PATCH", "/payments/credits/auto-recharge"),
    ("GET", "/payments/credits/auto-recharge/cards"),
    ("DELETE", "/payments/credits/auto-recharge/cards/{paymentMethodId}"),
    ("PATCH", "/payments/credits/auto-recharge/cards/{paymentMethodId}"),
    ("POST", "/payments/credits/auto-recharge/cards/setup-intent"),
    ("GET", "/payments/credits/balance"),
    ("POST", "/payments/credits/top-up"),
    ("GET", "/payments/credits/top-up/cancel"),
    ("GET", "/payments/credits/top-up/success"),
    ("GET", "/payments/credits/transactions"),
    ("GET", "/payments/stripe/checkout/return"),
    ("GET", "/payments/stripe/currentPlan"),
    ("GET", "/payments/stripe/plans"),
    ("POST", "/payments/stripe/portal"),
    ("GET", "/payments/stripe/portal/return"),
    ("POST", "/payments/stripe/purchasePlan"),
    ("GET", "/r/{code}"),
    ("POST", "/referral/claim"),
    ("GET", "/referral/stats"),
    ("POST", "/rewards/claim"),
    ("DELETE", "/rewards/discord"),
    ("GET", "/rewards/me"),
    ("GET", "/teams"),
    ("GET", "/teams/{teamId}"),
    ("GET", "/teams/{teamId}/billing/plan"),
    ("POST", "/teams/{teamId}/billing/portal"),
    ("POST", "/teams/{teamId}/billing/purchase"),
    ("GET", "/teams/{teamId}/invites"),
    ("POST", "/teams/{teamId}/invites"),
    ("DELETE", "/teams/{teamId}/invites/{inviteId}"),
    ("POST", "/teams/{teamId}/invites/email"),
    ("POST", "/teams/{teamId}/leave"),
    ("GET", "/teams/{teamId}/members"),
    ("POST", "/teams/{teamId}/switch"),
    ("POST", "/teams/join"),
    ("GET", "/teams/me/usage"),
];

/// Route templates intentionally unavailable through both typed and raw SDK APIs.
#[rustfmt::skip]
pub(crate) const UNEXPOSED_ROUTES: &[(&str, &str)] = &[
    ("POST", "/admin/announcements"),
    ("DELETE", "/admin/announcements/{announcementId}"),
    ("PATCH", "/admin/announcements/{announcementId}"),
    ("POST", "/admin/coupons"),
    ("DELETE", "/admin/coupons/{couponId}"),
    ("PATCH", "/admin/coupons/{couponId}"),
    ("POST", "/admin/coupons/bulk"),
    ("PATCH", "/admin/feedback/triage/{feedbackId}"),
    ("POST", "/admin/feedback/triage/{feedbackId}/approve"),
    ("POST", "/admin/feedback/triage/{feedbackId}/merge"),
    ("POST", "/admin/feedback/triage/{feedbackId}/reject"),
    ("POST", "/admin/feedback/triage/{feedbackId}/reprocess"),
    ("POST", "/admin/users/{userId}/credits"),
    ("PATCH", "/admin/users/{userId}/medulla-access"),
    ("DELETE", "/admin/users/{userId}/subscription"),
    ("POST", "/admin/users/{userId}/subscription"),
    ("POST", "/admin/users/credits/bulk"),
    ("POST", "/agent-integrations/composio/toolkits/refresh"),
    ("POST", "/agent-integrations/twilio/webhooks/incoming-call/{userId}"),
    ("POST", "/agent-integrations/twilio/webhooks/status/{userId}"),
    ("GET", "/coupons/admin"),
    ("POST", "/coupons/admin"),
    ("DELETE", "/coupons/admin/{couponId}"),
    ("PATCH", "/feedback/{id}/status"),
    ("GET", "/feedback/admin/triage"),
    ("GET", "/feedback/admin/triage/{id}"),
    ("POST", "/feedback/admin/triage/{id}/approve"),
    ("PATCH", "/feedback/admin/triage/{id}/draft"),
    ("POST", "/feedback/admin/triage/{id}/merge"),
    ("POST", "/feedback/admin/triage/{id}/reject"),
    ("POST", "/feedback/admin/triage/{id}/reprocess"),
    ("GET", "/invite/campaign"),
    ("POST", "/invite/campaign"),
    ("DELETE", "/invite/campaign/{codeId}"),
    ("PUT", "/teams/{teamId}"),
    ("DELETE", "/teams/{teamId}/members/{userId}"),
    ("PUT", "/teams/{teamId}/members/{userId}/role"),
    ("POST", "/webhooks/composio"),
    ("GET", "/webhooks/core"),
    ("POST", "/webhooks/core"),
    ("DELETE", "/webhooks/core/{id}"),
    ("GET", "/webhooks/core/{id}"),
    ("PATCH", "/webhooks/core/{id}"),
    ("GET", "/webhooks/core/bandwidth"),
    ("POST", "/webhooks/discord"),
    ("POST", "/webhooks/github"),
    ("POST", "/webhooks/ingress/{uuid}"),
    ("POST", "/webhooks/ingress/{uuid}/{path}"),
    ("POST", "/webhooks/payments/coinbase"),
    ("POST", "/webhooks/payments/stripe"),
    ("POST", "/webhooks/sentry"),
    ("POST", "/webhooks/telegram"),
    ("POST", "/webhooks/telegram/managed/{botId}"),
];