1
This commit is contained in:
@@ -55,6 +55,15 @@ pub struct PutSavedGameSnapshotRequest {
|
||||
pub saved_at: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq)]
|
||||
#[serde(rename_all = "camelCase", deny_unknown_fields)]
|
||||
pub struct PutRuntimeSaveCheckpointRequest {
|
||||
pub session_id: String,
|
||||
pub bottom_tab: String,
|
||||
#[serde(default)]
|
||||
pub saved_at: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct BasicOkResponse {
|
||||
@@ -345,6 +354,16 @@ pub struct CustomWorldProfileUpsertRequest {
|
||||
pub source_agent_session_id: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct GenerateCustomWorldProfileRequest {
|
||||
pub setting_text: String,
|
||||
#[serde(default)]
|
||||
pub creator_intent: Option<serde_json::Value>,
|
||||
#[serde(default)]
|
||||
pub generation_mode: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct CustomWorldLibraryEntryResponse {
|
||||
@@ -573,6 +592,24 @@ pub struct CustomWorldPublishGateResponse {
|
||||
pub can_enter_world: bool,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct CustomWorldCreationResultViewResponse {
|
||||
pub session: CustomWorldAgentSessionSnapshotResponse,
|
||||
pub profile: Option<serde_json::Value>,
|
||||
pub profile_source: String,
|
||||
pub target_stage: String,
|
||||
pub generation_view_source: Option<String>,
|
||||
pub result_view_source: Option<String>,
|
||||
pub can_autosave_library: bool,
|
||||
pub can_sync_result_profile: bool,
|
||||
pub publish_ready: bool,
|
||||
pub can_enter_world: bool,
|
||||
pub blocker_count: u32,
|
||||
pub recovery_action: String,
|
||||
pub recovery_reason: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct CustomWorldAgentSessionSnapshotResponse {
|
||||
|
||||
Reference in New Issue
Block a user