Skip to content

Commit

Permalink
fix: Docs for connected_account_ids (#1399)
Browse files Browse the repository at this point in the history
Co-authored-by: Evan Sosenko <evan@getseam.com>
  • Loading branch information
seambot and razor-x authored Dec 19, 2024
1 parent 30f8ab6 commit 32216c2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 20 deletions.
13 changes: 6 additions & 7 deletions src/lib/seam/connect/models/acs/acs-system.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,13 +271,12 @@ export const acs_system = z
.describe(
'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_system`.',
),
connected_account_ids: z.array(z.string().uuid()).describe(
`IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the \`acs_system\`.
---
deprecated: Use \`connected_account_id\`.
---
`,
),
connected_account_ids: z.array(z.string().uuid()).describe(`
---
deprecated: Use \`connected_account_id\`.
---
IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the \`acs_system\`.
`),
connected_account_id: z
.string()
.uuid()
Expand Down
4 changes: 3 additions & 1 deletion src/lib/seam/connect/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -780,10 +780,12 @@ export default {
type: 'string',
},
connected_account_ids: {
deprecated: true,
description:
'IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`.\n---\ndeprecated: Use `connected_account_id`.\n---',
'IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`.',
items: { format: 'uuid', type: 'string' },
type: 'array',
'x-deprecated': 'Use `connected_account_id`.',
},
created_at: {
description: 'Date and time at which the `acs_system` was created.',
Expand Down
16 changes: 4 additions & 12 deletions src/lib/seam/connect/route-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8725,9 +8725,7 @@ export interface Routes {
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_system`. */
workspace_id: string
/** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`.
---
deprecated: Use `connected_account_id`.
--- */
* @deprecated Use `connected_account_id`. */
connected_account_ids: string[]
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`. */
connected_account_id: string
Expand Down Expand Up @@ -8898,9 +8896,7 @@ export interface Routes {
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_system`. */
workspace_id: string
/** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`.
---
deprecated: Use `connected_account_id`.
--- */
* @deprecated Use `connected_account_id`. */
connected_account_ids: string[]
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`. */
connected_account_id: string
Expand Down Expand Up @@ -9071,9 +9067,7 @@ export interface Routes {
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_system`. */
workspace_id: string
/** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`.
---
deprecated: Use `connected_account_id`.
--- */
* @deprecated Use `connected_account_id`. */
connected_account_ids: string[]
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`. */
connected_account_id: string
Expand Down Expand Up @@ -37903,9 +37897,7 @@ export interface Routes {
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_system`. */
workspace_id: string
/** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`.
---
deprecated: Use `connected_account_id`.
--- */
* @deprecated Use `connected_account_id`. */
connected_account_ids: string[]
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`. */
connected_account_id: string
Expand Down

0 comments on commit 32216c2

Please sign in to comment.