Skip to content

Commit 5cd2609

Browse files
authored
feat: Add /connected_accounts/sync (#2010)
Update via seamapi/seam-connect@e24a3c1
1 parent f2b9d0b commit 5cd2609

File tree

2 files changed

+64
-0
lines changed

2 files changed

+64
-0
lines changed

src/lib/seam/connect/openapi.ts

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27302,6 +27302,58 @@ export default {
2730227302
'x-title': 'List Connected Accounts',
2730327303
},
2730427304
},
27305+
'/connected_accounts/sync': {
27306+
post: {
27307+
description:
27308+
'Request a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) sync attempt for the specified connected_account_id.',
27309+
operationId: 'connectedAccountsSyncPost',
27310+
requestBody: {
27311+
content: {
27312+
'application/json': {
27313+
schema: {
27314+
properties: {
27315+
connected_account_id: {
27316+
description:
27317+
'ID of the connected account that you want to sync.',
27318+
format: 'uuid',
27319+
type: 'string',
27320+
},
27321+
},
27322+
required: ['connected_account_id'],
27323+
type: 'object',
27324+
},
27325+
},
27326+
},
27327+
},
27328+
responses: {
27329+
200: {
27330+
content: {
27331+
'application/json': {
27332+
schema: {
27333+
properties: { ok: { type: 'boolean' } },
27334+
required: ['ok'],
27335+
type: 'object',
27336+
},
27337+
},
27338+
},
27339+
description: 'OK',
27340+
},
27341+
400: { description: 'Bad Request' },
27342+
401: { description: 'Unauthorized' },
27343+
},
27344+
security: [
27345+
{ api_key: [] },
27346+
{ pat_with_workspace: [] },
27347+
{ console_session_with_workspace: [] },
27348+
],
27349+
summary: '/connected_accounts/sync',
27350+
tags: ['/connected_accounts'],
27351+
'x-fern-sdk-group-name': ['connected_accounts'],
27352+
'x-fern-sdk-method-name': 'sync',
27353+
'x-response-key': null,
27354+
'x-title': 'Sync a Connected Account',
27355+
},
27356+
},
2730527357
'/connected_accounts/update': {
2730627358
post: {
2730727359
description:

src/lib/seam/connect/route-types.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22327,6 +22327,18 @@ export interface Routes {
2232722327
}
2232822328
}
2232922329
}
22330+
'/connected_accounts/sync': {
22331+
route: '/connected_accounts/sync'
22332+
method: 'POST'
22333+
queryParams: {}
22334+
jsonBody: {
22335+
/** ID of the connected account that you want to sync. */
22336+
connected_account_id: string
22337+
}
22338+
commonParams: {}
22339+
formData: {}
22340+
jsonResponse: {}
22341+
}
2233022342
'/connected_accounts/update': {
2233122343
route: '/connected_accounts/update'
2233222344
method: 'POST'

0 commit comments

Comments
 (0)