From 0e00230e923812a3c647343e9ad1998690334d51 Mon Sep 17 00:00:00 2001 From: "zoo-github-actions-auth[bot]" <155849648+zoo-github-actions-auth[bot]@users.noreply.github.com> Date: Thu, 10 Oct 2024 17:46:44 -0700 Subject: [PATCH] Update api spec (#578) * YOYO NEW API SPEC! * I have generated the library! --------- Co-authored-by: github-actions[bot] --- kittycad.rs.patch.json | 4 +- kittycad/src/types.rs | 86 +++++++++++++++++++++++--- kittycad/src/users.rs | 4 +- openapitor/tests/types/kittycad.rs.gen | 80 +++++++++++++++++++++--- spec.json | 52 +++++++++++++++- 5 files changed, 207 insertions(+), 19 deletions(-) diff --git a/kittycad.rs.patch.json b/kittycad.rs.patch.json index 3d4d5a41..e0a0ca5f 100644 --- a/kittycad.rs.patch.json +++ b/kittycad.rs.patch.json @@ -1011,7 +1011,7 @@ "op": "add", "path": "/paths/~1user~1shortlinks/post/x-rust", "value": { - "example": "/// Create a shortlink for a user.\n/// \n/// This endpoint requires authentication by any Zoo user. It creates a shortlink for the user.\nasync fn example_users_create_shortlink() -> anyhow::Result<()> {\n let client = kittycad::Client::new_from_env();\n let result: kittycad::types::CreateShortlinkResponse = client\n .users()\n .create_shortlink(&kittycad::types::CreateShortlinkRequest {\n restrict_to_org: false,\n url: \"https://example.com/foo/bar\".to_string(),\n })\n .await?;\n println!(\"{:?}\", result);\n Ok(())\n}\n", + "example": "/// Create a shortlink for a user.\n/// \n/// This endpoint requires authentication by any Zoo user. It creates a shortlink for the user.\nasync fn example_users_create_shortlink() -> anyhow::Result<()> {\n let client = kittycad::Client::new_from_env();\n let result: kittycad::types::CreateShortlinkResponse = client\n .users()\n .create_shortlink(&kittycad::types::CreateShortlinkRequest {\n password: Some(\"some-string\".to_string()),\n restrict_to_org: false,\n url: \"https://example.com/foo/bar\".to_string(),\n })\n .await?;\n println!(\"{:?}\", result);\n Ok(())\n}\n", "libDocsLink": "https://docs.rs/kittycad/latest/kittycad/users/struct.Users.html#method.create_shortlink" } }, @@ -1035,7 +1035,7 @@ "op": "add", "path": "/paths/~1user~1shortlinks~1{key}/put/x-rust", "value": { - "example": "/// Update a shortlink for a user.\n/// \n/// This endpoint requires authentication by any Zoo user. It updates a shortlink for the user.\n/// \n/// This endpoint really only allows you to change the `restrict_to_org` setting of a shortlink. Thus it is only useful for folks who are part of an org. If you are not part of an org, you will not be able to change the `restrict_to_org` status.\n/// \n/// **Parameters:**\n/// \n/// - `key: &'astr`: The key of the shortlink. (required)\nasync fn example_users_update_shortlink() -> anyhow::Result<()> {\n let client = kittycad::Client::new_from_env();\n client\n .users()\n .update_shortlink(\n \"some-string\",\n &kittycad::types::UpdateShortlinkRequest {\n restrict_to_org: false,\n },\n )\n .await?;\n Ok(())\n}\n", + "example": "/// Update a shortlink for a user.\n/// \n/// This endpoint requires authentication by any Zoo user. It updates a shortlink for the user.\n/// \n/// This endpoint really only allows you to change the `restrict_to_org` setting of a shortlink. Thus it is only useful for folks who are part of an org. If you are not part of an org, you will not be able to change the `restrict_to_org` status.\n/// \n/// **Parameters:**\n/// \n/// - `key: &'astr`: The key of the shortlink. (required)\nasync fn example_users_update_shortlink() -> anyhow::Result<()> {\n let client = kittycad::Client::new_from_env();\n client\n .users()\n .update_shortlink(\n \"some-string\",\n &kittycad::types::UpdateShortlinkRequest {\n password: Some(\"some-string\".to_string()),\n restrict_to_org: false,\n },\n )\n .await?;\n Ok(())\n}\n", "libDocsLink": "https://docs.rs/kittycad/latest/kittycad/users/struct.Users.html#method.update_shortlink" } }, diff --git a/kittycad/src/types.rs b/kittycad/src/types.rs index 4a7f3a44..8cf937ad 100644 --- a/kittycad/src/types.rs +++ b/kittycad/src/types.rs @@ -3509,9 +3509,16 @@ impl tabled::Tabled for Coupon { serde :: Serialize, serde :: Deserialize, PartialEq, Debug, Clone, schemars :: JsonSchema, )] pub struct CreateShortlinkRequest { + #[doc = "The password for the shortlink, if you want to restrict access to it. This can only \ + be set if your subscription allows for it. Otherwise, it will return an error. When \ + you access the link it will be required to enter this password through basic auth. \ + The username will be `{anything}` and the password will be the password you set here."] + #[serde(default, skip_serializing_if = "Option::is_none")] + pub password: Option, #[doc = "If the shortlink should be restricted to the user's organization to view. This only \ applies to org shortlinks. If you are creating a user shortlink and you are not a \ member of a team or enterprise and you try to set this to true, it will fail."] + #[serde(default)] pub restrict_to_org: bool, #[doc = "The URL to redirect back to."] pub url: String, @@ -3529,16 +3536,21 @@ impl std::fmt::Display for CreateShortlinkRequest { #[cfg(feature = "tabled")] impl tabled::Tabled for CreateShortlinkRequest { - const LENGTH: usize = 2; + const LENGTH: usize = 3; fn fields(&self) -> Vec> { vec![ + if let Some(password) = &self.password { + format!("{:?}", password).into() + } else { + String::new().into() + }, format!("{:?}", self.restrict_to_org).into(), self.url.clone().into(), ] } fn headers() -> Vec> { - vec!["restrict_to_org".into(), "url".into()] + vec!["password".into(), "restrict_to_org".into(), "url".into()] } } @@ -9309,6 +9321,35 @@ pub enum ModelingAppOrganizationSubscriptionTier { Enterprise, } +#[doc = "The options for sharable links through the modeling app."] +#[derive( + serde :: Serialize, + serde :: Deserialize, + PartialEq, + Hash, + Debug, + Clone, + schemars :: JsonSchema, + parse_display :: FromStr, + parse_display :: Display, +)] +#[cfg_attr(feature = "clap", derive(clap::ValueEnum))] +#[cfg_attr(feature = "tabled", derive(tabled::Tabled))] +pub enum ModelingAppShareLinks { + #[doc = "Public."] + #[serde(rename = "public")] + #[display("public")] + Public, + #[doc = "Password protected."] + #[serde(rename = "password_protected")] + #[display("password_protected")] + PasswordProtected, + #[doc = "Organization only. Links can be made only available to members of the organization."] + #[serde(rename = "organization_only")] + #[display("organization_only")] + OrganizationOnly, +} + #[doc = "A subscription tier we offer for the Modeling App."] #[derive( serde :: Serialize, serde :: Deserialize, PartialEq, Debug, Clone, schemars :: JsonSchema, @@ -9328,6 +9369,9 @@ pub struct ModelingAppSubscriptionTier { they pay. If this is for an organization, this is the price the organization pays \ per member in the org. This is in USD."] pub price: SubscriptionTierPrice, + #[doc = "The options for sharable links through the modeling app."] + #[serde(default, skip_serializing_if = "Option::is_none")] + pub share_links: Option>, #[doc = "The support tier the subscription provides."] pub support_tier: SupportTier, #[doc = "The behavior of the users data (can it be used for training, etc)."] @@ -9352,7 +9396,7 @@ impl std::fmt::Display for ModelingAppSubscriptionTier { #[cfg(feature = "tabled")] impl tabled::Tabled for ModelingAppSubscriptionTier { - const LENGTH: usize = 9; + const LENGTH: usize = 10; fn fields(&self) -> Vec> { vec![ self.description.clone().into(), @@ -9364,6 +9408,11 @@ impl tabled::Tabled for ModelingAppSubscriptionTier { format!("{:?}", self.name).into(), format!("{:?}", self.pay_as_you_go_credits).into(), format!("{:?}", self.price).into(), + if let Some(share_links) = &self.share_links { + format!("{:?}", share_links).into() + } else { + String::new().into() + }, format!("{:?}", self.support_tier).into(), format!("{:?}", self.training_data_behavior).into(), format!("{:?}", self.type_).into(), @@ -9382,6 +9431,7 @@ impl tabled::Tabled for ModelingAppSubscriptionTier { "name".into(), "pay_as_you_go_credits".into(), "price".into(), + "share_links".into(), "support_tier".into(), "training_data_behavior".into(), "type_".into(), @@ -17769,6 +17819,12 @@ impl tabled::Tabled for UpdatePaymentBalance { serde :: Serialize, serde :: Deserialize, PartialEq, Debug, Clone, schemars :: JsonSchema, )] pub struct UpdateShortlinkRequest { + #[doc = "The password for the shortlink, if you want to restrict access to it. This can only \ + be set if your subscription allows for it. Otherwise, it will return an error. When \ + you access the link it will be required to enter this password through basic auth. \ + The username will be `{anything}` and the password will be the password you set here."] + #[serde(default, skip_serializing_if = "Option::is_none")] + pub password: Option, #[doc = "If the shortlink should be restricted to the user's organization to view. This only \ applies to org shortlinks. If you are creating a user shortlink and you are not a \ member of a team or enterprise and you try to set this to true, it will fail."] @@ -17787,13 +17843,20 @@ impl std::fmt::Display for UpdateShortlinkRequest { #[cfg(feature = "tabled")] impl tabled::Tabled for UpdateShortlinkRequest { - const LENGTH: usize = 1; + const LENGTH: usize = 2; fn fields(&self) -> Vec> { - vec![format!("{:?}", self.restrict_to_org).into()] + vec![ + if let Some(password) = &self.password { + format!("{:?}", password).into() + } else { + String::new().into() + }, + format!("{:?}", self.restrict_to_org).into(), + ] } fn headers() -> Vec> { - vec!["restrict_to_org".into()] + vec!["password".into(), "restrict_to_org".into()] } } @@ -18536,6 +18599,9 @@ pub struct ZooProductSubscription { they pay. If this is for an organization, this is the price the organization pays \ per member in the org. This is in USD."] pub price: SubscriptionTierPrice, + #[doc = "The options for sharable links through the modeling app."] + #[serde(default, skip_serializing_if = "Option::is_none")] + pub share_links: Option>, #[doc = "The support tier the subscription provides."] pub support_tier: SupportTier, #[doc = "The behavior of the users data (can it be used for training, etc)."] @@ -18560,7 +18626,7 @@ impl std::fmt::Display for ZooProductSubscription { #[cfg(feature = "tabled")] impl tabled::Tabled for ZooProductSubscription { - const LENGTH: usize = 9; + const LENGTH: usize = 10; fn fields(&self) -> Vec> { vec![ self.description.clone().into(), @@ -18572,6 +18638,11 @@ impl tabled::Tabled for ZooProductSubscription { format!("{:?}", self.name).into(), format!("{:?}", self.pay_as_you_go_credits).into(), format!("{:?}", self.price).into(), + if let Some(share_links) = &self.share_links { + format!("{:?}", share_links).into() + } else { + String::new().into() + }, format!("{:?}", self.support_tier).into(), format!("{:?}", self.training_data_behavior).into(), format!("{:?}", self.type_).into(), @@ -18590,6 +18661,7 @@ impl tabled::Tabled for ZooProductSubscription { "name".into(), "pay_as_you_go_credits".into(), "price".into(), + "share_links".into(), "support_tier".into(), "training_data_behavior".into(), "type_".into(), diff --git a/kittycad/src/users.rs b/kittycad/src/users.rs index f6537332..93fd7716 100644 --- a/kittycad/src/users.rs +++ b/kittycad/src/users.rs @@ -423,7 +423,7 @@ impl Users { .boxed() } - #[doc = "Create a shortlink for a user.\n\nThis endpoint requires authentication by any Zoo user. It creates a shortlink for the user.\n\n```rust,no_run\nasync fn example_users_create_shortlink() -> anyhow::Result<()> {\n let client = kittycad::Client::new_from_env();\n let result: kittycad::types::CreateShortlinkResponse = client\n .users()\n .create_shortlink(&kittycad::types::CreateShortlinkRequest {\n restrict_to_org: false,\n url: \"https://example.com/foo/bar\".to_string(),\n })\n .await?;\n println!(\"{:?}\", result);\n Ok(())\n}\n```"] + #[doc = "Create a shortlink for a user.\n\nThis endpoint requires authentication by any Zoo user. It creates a shortlink for the user.\n\n```rust,no_run\nasync fn example_users_create_shortlink() -> anyhow::Result<()> {\n let client = kittycad::Client::new_from_env();\n let result: kittycad::types::CreateShortlinkResponse = client\n .users()\n .create_shortlink(&kittycad::types::CreateShortlinkRequest {\n password: Some(\"some-string\".to_string()),\n restrict_to_org: false,\n url: \"https://example.com/foo/bar\".to_string(),\n })\n .await?;\n println!(\"{:?}\", result);\n Ok(())\n}\n```"] #[tracing::instrument] pub async fn create_shortlink<'a>( &'a self, @@ -454,7 +454,7 @@ impl Users { } } - #[doc = "Update a shortlink for a user.\n\nThis endpoint requires authentication by any Zoo user. It updates a shortlink for the user.\n\nThis endpoint really only allows you to change the `restrict_to_org` setting of a shortlink. Thus it is only useful for folks who are part of an org. If you are not part of an org, you will not be able to change the `restrict_to_org` status.\n\n**Parameters:**\n\n- `key: &'astr`: The key of the shortlink. (required)\n\n```rust,no_run\nasync fn example_users_update_shortlink() -> anyhow::Result<()> {\n let client = kittycad::Client::new_from_env();\n client\n .users()\n .update_shortlink(\n \"some-string\",\n &kittycad::types::UpdateShortlinkRequest {\n restrict_to_org: false,\n },\n )\n .await?;\n Ok(())\n}\n```"] + #[doc = "Update a shortlink for a user.\n\nThis endpoint requires authentication by any Zoo user. It updates a shortlink for the user.\n\nThis endpoint really only allows you to change the `restrict_to_org` setting of a shortlink. Thus it is only useful for folks who are part of an org. If you are not part of an org, you will not be able to change the `restrict_to_org` status.\n\n**Parameters:**\n\n- `key: &'astr`: The key of the shortlink. (required)\n\n```rust,no_run\nasync fn example_users_update_shortlink() -> anyhow::Result<()> {\n let client = kittycad::Client::new_from_env();\n client\n .users()\n .update_shortlink(\n \"some-string\",\n &kittycad::types::UpdateShortlinkRequest {\n password: Some(\"some-string\".to_string()),\n restrict_to_org: false,\n },\n )\n .await?;\n Ok(())\n}\n```"] #[tracing::instrument] pub async fn update_shortlink<'a>( &'a self, diff --git a/openapitor/tests/types/kittycad.rs.gen b/openapitor/tests/types/kittycad.rs.gen index 1c63c722..9eb125ff 100644 --- a/openapitor/tests/types/kittycad.rs.gen +++ b/openapitor/tests/types/kittycad.rs.gen @@ -3463,7 +3463,11 @@ impl tabled::Tabled for Coupon { serde :: Serialize, serde :: Deserialize, PartialEq, Debug, Clone, schemars :: JsonSchema, )] pub struct CreateShortlinkRequest { + #[doc = "The password for the shortlink, if you want to restrict access to it. This can only be set if your subscription allows for it. Otherwise, it will return an error. When you access the link it will be required to enter this password through basic auth. The username will be `{anything}` and the password will be the password you set here."] + #[serde(default, skip_serializing_if = "Option::is_none")] + pub password: Option, #[doc = "If the shortlink should be restricted to the user's organization to view. This only applies to org shortlinks. If you are creating a user shortlink and you are not a member of a team or enterprise and you try to set this to true, it will fail."] + #[serde(default)] pub restrict_to_org: bool, #[doc = "The URL to redirect back to."] pub url: String, @@ -3481,16 +3485,21 @@ impl std::fmt::Display for CreateShortlinkRequest { #[cfg(feature = "tabled")] impl tabled::Tabled for CreateShortlinkRequest { - const LENGTH: usize = 2; + const LENGTH: usize = 3; fn fields(&self) -> Vec> { vec![ + if let Some(password) = &self.password { + format!("{:?}", password).into() + } else { + String::new().into() + }, format!("{:?}", self.restrict_to_org).into(), self.url.clone().into(), ] } fn headers() -> Vec> { - vec!["restrict_to_org".into(), "url".into()] + vec!["password".into(), "restrict_to_org".into(), "url".into()] } } @@ -9172,6 +9181,35 @@ pub enum ModelingAppOrganizationSubscriptionTier { Enterprise, } +#[doc = "The options for sharable links through the modeling app."] +#[derive( + serde :: Serialize, + serde :: Deserialize, + PartialEq, + Hash, + Debug, + Clone, + schemars :: JsonSchema, + parse_display :: FromStr, + parse_display :: Display, +)] +#[cfg_attr(feature = "clap", derive(clap::ValueEnum))] +#[cfg_attr(feature = "tabled", derive(tabled::Tabled))] +pub enum ModelingAppShareLinks { + #[doc = "Public."] + #[serde(rename = "public")] + #[display("public")] + Public, + #[doc = "Password protected."] + #[serde(rename = "password_protected")] + #[display("password_protected")] + PasswordProtected, + #[doc = "Organization only. Links can be made only available to members of the organization."] + #[serde(rename = "organization_only")] + #[display("organization_only")] + OrganizationOnly, +} + #[doc = "A subscription tier we offer for the Modeling App."] #[derive( serde :: Serialize, serde :: Deserialize, PartialEq, Debug, Clone, schemars :: JsonSchema, @@ -9188,6 +9226,9 @@ pub struct ModelingAppSubscriptionTier { pub pay_as_you_go_credits: f64, #[doc = "The price of the tier per month. If this is for an individual, this is the price they pay. If this is for an organization, this is the price the organization pays per member in the org. This is in USD."] pub price: SubscriptionTierPrice, + #[doc = "The options for sharable links through the modeling app."] + #[serde(default, skip_serializing_if = "Option::is_none")] + pub share_links: Option>, #[doc = "The support tier the subscription provides."] pub support_tier: SupportTier, #[doc = "The behavior of the users data (can it be used for training, etc)."] @@ -9212,7 +9253,7 @@ impl std::fmt::Display for ModelingAppSubscriptionTier { #[cfg(feature = "tabled")] impl tabled::Tabled for ModelingAppSubscriptionTier { - const LENGTH: usize = 9; + const LENGTH: usize = 10; fn fields(&self) -> Vec> { vec![ self.description.clone().into(), @@ -9224,6 +9265,11 @@ impl tabled::Tabled for ModelingAppSubscriptionTier { format!("{:?}", self.name).into(), format!("{:?}", self.pay_as_you_go_credits).into(), format!("{:?}", self.price).into(), + if let Some(share_links) = &self.share_links { + format!("{:?}", share_links).into() + } else { + String::new().into() + }, format!("{:?}", self.support_tier).into(), format!("{:?}", self.training_data_behavior).into(), format!("{:?}", self.type_).into(), @@ -9242,6 +9288,7 @@ impl tabled::Tabled for ModelingAppSubscriptionTier { "name".into(), "pay_as_you_go_credits".into(), "price".into(), + "share_links".into(), "support_tier".into(), "training_data_behavior".into(), "type_".into(), @@ -17481,6 +17528,9 @@ impl tabled::Tabled for UpdatePaymentBalance { serde :: Serialize, serde :: Deserialize, PartialEq, Debug, Clone, schemars :: JsonSchema, )] pub struct UpdateShortlinkRequest { + #[doc = "The password for the shortlink, if you want to restrict access to it. This can only be set if your subscription allows for it. Otherwise, it will return an error. When you access the link it will be required to enter this password through basic auth. The username will be `{anything}` and the password will be the password you set here."] + #[serde(default, skip_serializing_if = "Option::is_none")] + pub password: Option, #[doc = "If the shortlink should be restricted to the user's organization to view. This only applies to org shortlinks. If you are creating a user shortlink and you are not a member of a team or enterprise and you try to set this to true, it will fail."] pub restrict_to_org: bool, } @@ -17497,13 +17547,20 @@ impl std::fmt::Display for UpdateShortlinkRequest { #[cfg(feature = "tabled")] impl tabled::Tabled for UpdateShortlinkRequest { - const LENGTH: usize = 1; + const LENGTH: usize = 2; fn fields(&self) -> Vec> { - vec![format!("{:?}", self.restrict_to_org).into()] + vec![ + if let Some(password) = &self.password { + format!("{:?}", password).into() + } else { + String::new().into() + }, + format!("{:?}", self.restrict_to_org).into(), + ] } fn headers() -> Vec> { - vec!["restrict_to_org".into()] + vec!["password".into(), "restrict_to_org".into()] } } @@ -18229,6 +18286,9 @@ pub struct ZooProductSubscription { pub pay_as_you_go_credits: f64, #[doc = "The price of the tier per month. If this is for an individual, this is the price they pay. If this is for an organization, this is the price the organization pays per member in the org. This is in USD."] pub price: SubscriptionTierPrice, + #[doc = "The options for sharable links through the modeling app."] + #[serde(default, skip_serializing_if = "Option::is_none")] + pub share_links: Option>, #[doc = "The support tier the subscription provides."] pub support_tier: SupportTier, #[doc = "The behavior of the users data (can it be used for training, etc)."] @@ -18253,7 +18313,7 @@ impl std::fmt::Display for ZooProductSubscription { #[cfg(feature = "tabled")] impl tabled::Tabled for ZooProductSubscription { - const LENGTH: usize = 9; + const LENGTH: usize = 10; fn fields(&self) -> Vec> { vec![ self.description.clone().into(), @@ -18265,6 +18325,11 @@ impl tabled::Tabled for ZooProductSubscription { format!("{:?}", self.name).into(), format!("{:?}", self.pay_as_you_go_credits).into(), format!("{:?}", self.price).into(), + if let Some(share_links) = &self.share_links { + format!("{:?}", share_links).into() + } else { + String::new().into() + }, format!("{:?}", self.support_tier).into(), format!("{:?}", self.training_data_behavior).into(), format!("{:?}", self.type_).into(), @@ -18283,6 +18348,7 @@ impl tabled::Tabled for ZooProductSubscription { "name".into(), "pay_as_you_go_credits".into(), "price".into(), + "share_links".into(), "support_tier".into(), "training_data_behavior".into(), "type_".into(), diff --git a/spec.json b/spec.json index 1e9fc30b..eb5d4045 100644 --- a/spec.json +++ b/spec.json @@ -17361,8 +17361,14 @@ "description": "Request to create a shortlink.", "type": "object", "properties": { + "password": { + "nullable": true, + "description": "The password for the shortlink, if you want to restrict access to it. This can only be set if your subscription allows for it. Otherwise, it will return an error. When you access the link it will be required to enter this password through basic auth. The username will be `{anything}` and the password will be the password you set here.", + "type": "string" + }, "restrict_to_org": { "description": "If the shortlink should be restricted to the user's organization to view. This only applies to org shortlinks. If you are creating a user shortlink and you are not a member of a team or enterprise and you try to set this to true, it will fail.", + "default": false, "type": "boolean" }, "url": { @@ -17372,7 +17378,6 @@ } }, "required": [ - "restrict_to_org", "url" ] }, @@ -21126,6 +21131,32 @@ } ] }, + "ModelingAppShareLinks": { + "description": "The options for sharable links through the modeling app.", + "oneOf": [ + { + "description": "Public.", + "type": "string", + "enum": [ + "public" + ] + }, + { + "description": "Password protected.", + "type": "string", + "enum": [ + "password_protected" + ] + }, + { + "description": "Organization only. Links can be made only available to members of the organization.", + "type": "string", + "enum": [ + "organization_only" + ] + } + ] + }, "ModelingAppSubscriptionTier": { "description": "A subscription tier we offer for the Modeling App.", "type": "object", @@ -21165,6 +21196,13 @@ } ] }, + "share_links": { + "description": "The options for sharable links through the modeling app.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ModelingAppShareLinks" + } + }, "support_tier": { "description": "The support tier the subscription provides.", "allOf": [ @@ -31642,6 +31680,11 @@ "description": "Request to update a shortlink.", "type": "object", "properties": { + "password": { + "nullable": true, + "description": "The password for the shortlink, if you want to restrict access to it. This can only be set if your subscription allows for it. Otherwise, it will return an error. When you access the link it will be required to enter this password through basic auth. The username will be `{anything}` and the password will be the password you set here.", + "type": "string" + }, "restrict_to_org": { "description": "If the shortlink should be restricted to the user's organization to view. This only applies to org shortlinks. If you are creating a user shortlink and you are not a member of a team or enterprise and you try to set this to true, it will fail.", "type": "boolean" @@ -32273,6 +32316,13 @@ } ] }, + "share_links": { + "description": "The options for sharable links through the modeling app.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ModelingAppShareLinks" + } + }, "support_tier": { "description": "The support tier the subscription provides.", "allOf": [