cloud_api_types: Add types for `POST /client/llm_tokens` endpoint (#35420)

Marshall Bowers and Richard created

This PR adds some types for the new `POST /client/llm_tokens` endpoint.

Release Notes:

- N/A

Co-authored-by: Richard <richard@zed.dev>

Change summary

crates/cloud_api_types/src/cloud_api_types.rs | 10 ++++++++++
1 file changed, 10 insertions(+)

Detailed changes

crates/cloud_api_types/src/cloud_api_types.rs 🔗

@@ -4,6 +4,8 @@ use serde::{Deserialize, Serialize};
 
 pub use crate::timestamp::Timestamp;
 
+pub const ZED_SYSTEM_ID_HEADER_NAME: &str = "x-zed-system-id";
+
 #[derive(Debug, PartialEq, Serialize, Deserialize)]
 pub struct GetAuthenticatedUserResponse {
     pub user: AuthenticatedUser,
@@ -38,3 +40,11 @@ pub struct SubscriptionPeriod {
     pub started_at: Timestamp,
     pub ended_at: Timestamp,
 }
+
+#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)]
+pub struct LlmToken(pub String);
+
+#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)]
+pub struct CreateLlmTokenResponse {
+    pub token: LlmToken,
+}