// GENERATED by src/anthropic/admin/tools/check_spec.py --emit. Do not edit by hand: // the table is verified against the SDK source and the reference pages. #pragma once // dreams calls of the Anthropic API (one class per resource group). Every // method is one row of calls.cpp; mutating and destructive ones are marked. #include #include #include "anthropic/admin/resource.h" namespace molo::anthropic::admin { // group dreams class Dreams : public Resource { public: explicit Dreams(std::shared_ptr gateway) : Resource(std::move(gateway), Auth::kPlatform) {} // POST /v1/dreams/{dream_id}/archive DESTRUCTIVE Json archive(const std::string& dream_id) const; // POST /v1/dreams/{dream_id}/cancel DESTRUCTIVE Json cancel(const std::string& dream_id) const; // POST /v1/dreams MUTATES Json create(const Json& body) const; // GET /v1/dreams Json list(const Query& query = Query()) const; Walk list_all(const Query& query = Query(), std::size_t max_pages = Caps::kMaxPages) const; // GET /v1/dreams/{dream_id} Json get(const std::string& dream_id) const; }; } // namespace molo::anthropic::admin