Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 8 additions & 12 deletions src/lib/seam/connect/models/workspaces/workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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()
Expand Down
10 changes: 6 additions & 4 deletions src/lib/seam/connect/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down Expand Up @@ -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:
Expand Down
50 changes: 25 additions & 25 deletions src/lib/seam/connect/route-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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. */
Expand Down Expand Up @@ -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
Expand All @@ -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. */
Expand Down Expand Up @@ -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
/**
Expand Down Expand Up @@ -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
Expand All @@ -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. */
Expand Down Expand Up @@ -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
Expand All @@ -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. */
Expand Down Expand Up @@ -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
Expand All @@ -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. */
Expand All @@ -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
Expand All @@ -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. */
Expand Down
Loading