Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Undeprecate connected_account_id on acs events #1415

Merged
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
1 change: 0 additions & 1 deletion src/lib/seam/connect/models/events/acs/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ export const common_acs_event = common_event.extend({
connected_account_id: z.string().uuid().optional().describe(`
---
title: Connected Account ID
deprecated: Will be removed.
---
ID of the connected account.
`),
Expand Down
16 changes: 0 additions & 16 deletions src/lib/seam/connect/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6930,11 +6930,9 @@ export default {
'x-title': 'ACS System ID',
},
connected_account_id: {
deprecated: true,
description: 'ID of the connected account.',
format: 'uuid',
type: 'string',
'x-deprecated': 'Will be removed.',
'x-title': 'Connected Account ID',
},
created_at: {
Expand Down Expand Up @@ -6980,11 +6978,9 @@ export default {
'x-title': 'ACS System ID',
},
connected_account_id: {
deprecated: true,
description: 'ID of the connected account.',
format: 'uuid',
type: 'string',
'x-deprecated': 'Will be removed.',
'x-title': 'Connected Account ID',
},
created_at: {
Expand Down Expand Up @@ -7030,11 +7026,9 @@ export default {
'x-title': 'ACS System ID',
},
connected_account_id: {
deprecated: true,
description: 'ID of the connected account.',
format: 'uuid',
type: 'string',
'x-deprecated': 'Will be removed.',
'x-title': 'Connected Account ID',
},
created_at: {
Expand Down Expand Up @@ -7081,11 +7075,9 @@ export default {
'x-title': 'ACS System ID',
},
connected_account_id: {
deprecated: true,
description: 'ID of the connected account.',
format: 'uuid',
type: 'string',
'x-deprecated': 'Will be removed.',
'x-title': 'Connected Account ID',
},
created_at: {
Expand Down Expand Up @@ -7133,11 +7125,9 @@ export default {
'x-title': 'ACS System ID',
},
connected_account_id: {
deprecated: true,
description: 'ID of the connected account.',
format: 'uuid',
type: 'string',
'x-deprecated': 'Will be removed.',
'x-title': 'Connected Account ID',
},
created_at: {
Expand Down Expand Up @@ -7185,11 +7175,9 @@ export default {
},
acs_user_id: { format: 'uuid', type: 'string' },
connected_account_id: {
deprecated: true,
description: 'ID of the connected account.',
format: 'uuid',
type: 'string',
'x-deprecated': 'Will be removed.',
'x-title': 'Connected Account ID',
},
created_at: {
Expand Down Expand Up @@ -7241,11 +7229,9 @@ export default {
'x-title': 'ACS System ID',
},
connected_account_id: {
deprecated: true,
description: 'ID of the connected account.',
format: 'uuid',
type: 'string',
'x-deprecated': 'Will be removed.',
'x-title': 'Connected Account ID',
},
created_at: {
Expand Down Expand Up @@ -7297,11 +7283,9 @@ export default {
'x-title': 'ACS System ID',
},
connected_account_id: {
deprecated: true,
description: 'ID of the connected account.',
format: 'uuid',
type: 'string',
'x-deprecated': 'Will be removed.',
'x-title': 'Connected Account ID',
},
created_at: {
Expand Down
48 changes: 16 additions & 32 deletions src/lib/seam/connect/route-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15098,8 +15098,7 @@ export interface Routes {
created_at: string
/** Time when the event occurred. */
occurred_at: string
/** ID of the connected account.
* @deprecated Will be removed. */
/** ID of the connected account. */
connected_account_id?: string | undefined
/** ID of the ACS system. */
acs_system_id: string
Expand All @@ -15114,8 +15113,7 @@ export interface Routes {
created_at: string
/** Time when the event occurred. */
occurred_at: string
/** ID of the connected account.
* @deprecated Will be removed. */
/** ID of the connected account. */
connected_account_id?: string | undefined
/** ID of the ACS system. */
acs_system_id: string
Expand All @@ -15130,8 +15128,7 @@ export interface Routes {
created_at: string
/** Time when the event occurred. */
occurred_at: string
/** ID of the connected account.
* @deprecated Will be removed. */
/** ID of the connected account. */
connected_account_id?: string | undefined
/** ID of the ACS system. */
acs_system_id: string
Expand All @@ -15146,8 +15143,7 @@ export interface Routes {
created_at: string
/** Time when the event occurred. */
occurred_at: string
/** ID of the connected account.
* @deprecated Will be removed. */
/** ID of the connected account. */
connected_account_id?: string | undefined
/** ID of the ACS system. */
acs_system_id: string
Expand All @@ -15163,8 +15159,7 @@ export interface Routes {
created_at: string
/** Time when the event occurred. */
occurred_at: string
/** ID of the connected account.
* @deprecated Will be removed. */
/** ID of the connected account. */
connected_account_id?: string | undefined
/** ID of the ACS system. */
acs_system_id: string
Expand All @@ -15180,8 +15175,7 @@ export interface Routes {
created_at: string
/** Time when the event occurred. */
occurred_at: string
/** ID of the connected account.
* @deprecated Will be removed. */
/** ID of the connected account. */
connected_account_id?: string | undefined
/** ID of the ACS system. */
acs_system_id: string
Expand All @@ -15197,8 +15191,7 @@ export interface Routes {
created_at: string
/** Time when the event occurred. */
occurred_at: string
/** ID of the connected account.
* @deprecated Will be removed. */
/** ID of the connected account. */
connected_account_id?: string | undefined
/** ID of the ACS system. */
acs_system_id: string
Expand All @@ -15215,8 +15208,7 @@ export interface Routes {
created_at: string
/** Time when the event occurred. */
occurred_at: string
/** ID of the connected account.
* @deprecated Will be removed. */
/** ID of the connected account. */
connected_account_id?: string | undefined
/** ID of the ACS system. */
acs_system_id: string
Expand Down Expand Up @@ -16488,8 +16480,7 @@ export interface Routes {
created_at: string
/** Time when the event occurred. */
occurred_at: string
/** ID of the connected account.
* @deprecated Will be removed. */
/** ID of the connected account. */
connected_account_id?: string | undefined
/** ID of the ACS system. */
acs_system_id: string
Expand All @@ -16504,8 +16495,7 @@ export interface Routes {
created_at: string
/** Time when the event occurred. */
occurred_at: string
/** ID of the connected account.
* @deprecated Will be removed. */
/** ID of the connected account. */
connected_account_id?: string | undefined
/** ID of the ACS system. */
acs_system_id: string
Expand All @@ -16520,8 +16510,7 @@ export interface Routes {
created_at: string
/** Time when the event occurred. */
occurred_at: string
/** ID of the connected account.
* @deprecated Will be removed. */
/** ID of the connected account. */
connected_account_id?: string | undefined
/** ID of the ACS system. */
acs_system_id: string
Expand All @@ -16536,8 +16525,7 @@ export interface Routes {
created_at: string
/** Time when the event occurred. */
occurred_at: string
/** ID of the connected account.
* @deprecated Will be removed. */
/** ID of the connected account. */
connected_account_id?: string | undefined
/** ID of the ACS system. */
acs_system_id: string
Expand All @@ -16553,8 +16541,7 @@ export interface Routes {
created_at: string
/** Time when the event occurred. */
occurred_at: string
/** ID of the connected account.
* @deprecated Will be removed. */
/** ID of the connected account. */
connected_account_id?: string | undefined
/** ID of the ACS system. */
acs_system_id: string
Expand All @@ -16570,8 +16557,7 @@ export interface Routes {
created_at: string
/** Time when the event occurred. */
occurred_at: string
/** ID of the connected account.
* @deprecated Will be removed. */
/** ID of the connected account. */
connected_account_id?: string | undefined
/** ID of the ACS system. */
acs_system_id: string
Expand All @@ -16587,8 +16573,7 @@ export interface Routes {
created_at: string
/** Time when the event occurred. */
occurred_at: string
/** ID of the connected account.
* @deprecated Will be removed. */
/** ID of the connected account. */
connected_account_id?: string | undefined
/** ID of the ACS system. */
acs_system_id: string
Expand All @@ -16605,8 +16590,7 @@ export interface Routes {
created_at: string
/** Time when the event occurred. */
occurred_at: string
/** ID of the connected account.
* @deprecated Will be removed. */
/** ID of the connected account. */
connected_account_id?: string | undefined
/** ID of the ACS system. */
acs_system_id: string
Expand Down
Loading