diff --git a/src/lib/seam/connect/models/workspaces/workspace.ts b/src/lib/seam/connect/models/workspaces/workspace.ts index 299362698..1fbaa0c1c 100644 --- a/src/lib/seam/connect/models/workspaces/workspace.ts +++ b/src/lib/seam/connect/models/workspaces/workspace.ts @@ -9,11 +9,12 @@ export const workspace = z.object({ .describe( 'Name of the [workspace](https://docs.seam.co/core-concepts/workspaces).', ), - company_name: z - .string() - .describe( - 'Company name associated with the [workspace](https://docs.seam.co/core-concepts/workspaces).', - ), + company_name: z.string().describe(` + --- + deprecated: Use \`connect_partner_name\` instead. + --- + Company name associated with the [workspace](https://docs.seam.co/core-concepts/workspaces). + `), is_sandbox: z .boolean() .describe( @@ -58,13 +59,8 @@ export const workspace = z.object({ .string() .nullable() .describe( - ` - --- - deprecated: Use \`company_name\` instead. - --- - `, - ) - .nullable(), + 'Seam Connect partner name associated with the [workspace](https://docs.seam.co/core-concepts/workspaces).', + ), publishable_key: z .string() .optional() diff --git a/src/lib/seam/connect/openapi.ts b/src/lib/seam/connect/openapi.ts index f9930f96d..8c9148bbd 100644 --- a/src/lib/seam/connect/openapi.ts +++ b/src/lib/seam/connect/openapi.ts @@ -38315,15 +38315,17 @@ const openapi: OpenAPISpec = { 'Represents a Seam [workspace](https://docs.seam.co/core-concepts/workspaces). A workspace is a top-level entity that encompasses all other resources below it, such as devices, connected accounts, and Connect Webviews. Seam provides two types of workspaces. A [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces) is a special type of workspace designed for testing code. Sandbox workspaces offer test device accounts and virtual devices that you can connect and control. This ability to work with virtual devices is quite handy because it removes the need to own physical devices from multiple brands. To connect real devices and systems to Seam, use a [production workspace](https://docs.seam.co/core-concepts/workspaces#production-workspaces).', properties: { company_name: { + deprecated: true, description: 'Company name associated with the [workspace](https://docs.seam.co/core-concepts/workspaces).', type: 'string', + 'x-deprecated': 'Use `connect_partner_name` instead.', }, connect_partner_name: { - deprecated: true, + description: + 'Seam Connect partner name associated with the [workspace](https://docs.seam.co/core-concepts/workspaces).', nullable: true, type: 'string', - 'x-deprecated': 'Use `company_name` instead.', }, connect_webview_customization: { properties: { @@ -88898,15 +88900,15 @@ const openapi: OpenAPISpec = { schema: { properties: { company_name: { + deprecated: true, description: 'Company name for the new workspace.', type: 'string', + 'x-deprecated': 'Use `connect_partner_name` instead.', }, connect_partner_name: { - deprecated: true, description: 'Connect partner name for the new workspace.', nullable: true, type: 'string', - 'x-deprecated': 'Use `company_name` instead.', }, connect_webview_customization: { description: diff --git a/src/lib/seam/connect/route-types.ts b/src/lib/seam/connect/route-types.ts index b6226ac96..aa2a83083 100644 --- a/src/lib/seam/connect/route-types.ts +++ b/src/lib/seam/connect/route-types.ts @@ -95796,7 +95796,8 @@ export type Routes = { workspace_id: string /** Name of the [workspace](https://docs.seam.co/core-concepts/workspaces). */ name: string - /** Company name associated with the [workspace](https://docs.seam.co/core-concepts/workspaces). */ + /** Company name associated with the [workspace](https://docs.seam.co/core-concepts/workspaces). + * @deprecated Use `connect_partner_name` instead.*/ company_name: string /** Indicates whether the workspace is a [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces). */ is_sandbox: boolean @@ -95814,9 +95815,8 @@ export type Routes = { } /** Indicates whether the [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces) is suspended. Seam suspends sandbox workspaces that have not been accessed in 14 days. */ is_suspended: boolean - /** - * @deprecated Use `company_name` instead.*/ - connect_partner_name: (string | null) | null + /** Seam Connect partner name associated with the [workspace](https://docs.seam.co/core-concepts/workspaces). */ + connect_partner_name: string | null /** Publishable key for the [workspace](https://docs.seam.co/core-concepts/workspaces). This key is used to identify the workspace in client-side applications. */ publishable_key?: string | undefined /** Indicates whether publishable key authentication is enabled for this workspace. */ @@ -95858,7 +95858,8 @@ export type Routes = { workspace_id: string /** Name of the [workspace](https://docs.seam.co/core-concepts/workspaces). */ name: string - /** Company name associated with the [workspace](https://docs.seam.co/core-concepts/workspaces). */ + /** Company name associated with the [workspace](https://docs.seam.co/core-concepts/workspaces). + * @deprecated Use `connect_partner_name` instead.*/ company_name: string /** Indicates whether the workspace is a [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces). */ is_sandbox: boolean @@ -95876,9 +95877,8 @@ export type Routes = { } /** Indicates whether the [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces) is suspended. Seam suspends sandbox workspaces that have not been accessed in 14 days. */ is_suspended: boolean - /** - * @deprecated Use `company_name` instead.*/ - connect_partner_name: (string | null) | null + /** Seam Connect partner name associated with the [workspace](https://docs.seam.co/core-concepts/workspaces). */ + connect_partner_name: string | null /** Publishable key for the [workspace](https://docs.seam.co/core-concepts/workspaces). This key is used to identify the workspace in client-side applications. */ publishable_key?: string | undefined /** Indicates whether publishable key authentication is enabled for this workspace. */ @@ -140206,7 +140206,7 @@ export type Routes = { /** Company name for the new workspace. */ company_name?: string | undefined /** Connect partner name for the new workspace. */ - connect_partner_name?: ((string | null) | null) | undefined + connect_partner_name?: (string | null) | undefined /** Indicates whether the new workspace is a [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces). */ is_sandbox?: boolean /** @@ -140244,7 +140244,8 @@ export type Routes = { workspace_id: string /** Name of the [workspace](https://docs.seam.co/core-concepts/workspaces). */ name: string - /** Company name associated with the [workspace](https://docs.seam.co/core-concepts/workspaces). */ + /** Company name associated with the [workspace](https://docs.seam.co/core-concepts/workspaces). + * @deprecated Use `connect_partner_name` instead.*/ company_name: string /** Indicates whether the workspace is a [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces). */ is_sandbox: boolean @@ -140262,9 +140263,8 @@ export type Routes = { } /** Indicates whether the [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces) is suspended. Seam suspends sandbox workspaces that have not been accessed in 14 days. */ is_suspended: boolean - /** - * @deprecated Use `company_name` instead.*/ - connect_partner_name: (string | null) | null + /** Seam Connect partner name associated with the [workspace](https://docs.seam.co/core-concepts/workspaces). */ + connect_partner_name: string | null /** Publishable key for the [workspace](https://docs.seam.co/core-concepts/workspaces). This key is used to identify the workspace in client-side applications. */ publishable_key?: string | undefined /** Indicates whether publishable key authentication is enabled for this workspace. */ @@ -140538,7 +140538,8 @@ export type Routes = { workspace_id: string /** Name of the [workspace](https://docs.seam.co/core-concepts/workspaces). */ name: string - /** Company name associated with the [workspace](https://docs.seam.co/core-concepts/workspaces). */ + /** Company name associated with the [workspace](https://docs.seam.co/core-concepts/workspaces). + * @deprecated Use `connect_partner_name` instead.*/ company_name: string /** Indicates whether the workspace is a [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces). */ is_sandbox: boolean @@ -140556,9 +140557,8 @@ export type Routes = { } /** Indicates whether the [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces) is suspended. Seam suspends sandbox workspaces that have not been accessed in 14 days. */ is_suspended: boolean - /** - * @deprecated Use `company_name` instead.*/ - connect_partner_name: (string | null) | null + /** Seam Connect partner name associated with the [workspace](https://docs.seam.co/core-concepts/workspaces). */ + connect_partner_name: string | null /** Publishable key for the [workspace](https://docs.seam.co/core-concepts/workspaces). This key is used to identify the workspace in client-side applications. */ publishable_key?: string | undefined /** Indicates whether publishable key authentication is enabled for this workspace. */ @@ -153002,7 +153002,8 @@ export type Routes = { workspace_id: string /** Name of the [workspace](https://docs.seam.co/core-concepts/workspaces). */ name: string - /** Company name associated with the [workspace](https://docs.seam.co/core-concepts/workspaces). */ + /** Company name associated with the [workspace](https://docs.seam.co/core-concepts/workspaces). + * @deprecated Use `connect_partner_name` instead.*/ company_name: string /** Indicates whether the workspace is a [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces). */ is_sandbox: boolean @@ -153020,9 +153021,8 @@ export type Routes = { } /** Indicates whether the [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces) is suspended. Seam suspends sandbox workspaces that have not been accessed in 14 days. */ is_suspended: boolean - /** - * @deprecated Use `company_name` instead.*/ - connect_partner_name: (string | null) | null + /** Seam Connect partner name associated with the [workspace](https://docs.seam.co/core-concepts/workspaces). */ + connect_partner_name: string | null /** Publishable key for the [workspace](https://docs.seam.co/core-concepts/workspaces). This key is used to identify the workspace in client-side applications. */ publishable_key?: string | undefined /** Indicates whether publishable key authentication is enabled for this workspace. */ @@ -153046,7 +153046,8 @@ export type Routes = { workspace_id: string /** Name of the [workspace](https://docs.seam.co/core-concepts/workspaces). */ name: string - /** Company name associated with the [workspace](https://docs.seam.co/core-concepts/workspaces). */ + /** Company name associated with the [workspace](https://docs.seam.co/core-concepts/workspaces). + * @deprecated Use `connect_partner_name` instead.*/ company_name: string /** Indicates whether the workspace is a [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces). */ is_sandbox: boolean @@ -153064,9 +153065,8 @@ export type Routes = { } /** Indicates whether the [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces) is suspended. Seam suspends sandbox workspaces that have not been accessed in 14 days. */ is_suspended: boolean - /** - * @deprecated Use `company_name` instead.*/ - connect_partner_name: (string | null) | null + /** Seam Connect partner name associated with the [workspace](https://docs.seam.co/core-concepts/workspaces). */ + connect_partner_name: string | null /** Publishable key for the [workspace](https://docs.seam.co/core-concepts/workspaces). This key is used to identify the workspace in client-side applications. */ publishable_key?: string | undefined /** Indicates whether publishable key authentication is enabled for this workspace. */