Skip to content

Commit 746f6e3

Browse files
Update OpenAPI spec (1a2f47b) (#40)
Co-authored-by: workos-sdk-automation[bot] <255426317+workos-sdk-automation[bot]@users.noreply.github.com>
1 parent 82dcb5a commit 746f6e3

2 files changed

Lines changed: 100 additions & 1 deletion

File tree

.last-synced-sha

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
12f845da8a7524cdc6496fe2acf136f93c7dc5f3
1+
1a2f47b20f63f2c8f0eb56bbd2adb3b5947d693a

spec/open-api-spec.yaml

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20097,6 +20097,7 @@ components:
2009720097
- permission.deleted
2009820098
- permission.updated
2009920099
- pipes.connected_account.connected
20100+
- pipes.connected_account.connection_failed
2010020101
- pipes.connected_account.disconnected
2010120102
- pipes.connected_account.reauthorization_needed
2010220103
- session.created
@@ -30125,6 +30126,104 @@ components:
3012530126
- data
3012630127
- created_at
3012730128
- object
30129+
- type: object
30130+
properties:
30131+
id:
30132+
type: string
30133+
description: Unique identifier for the event.
30134+
example: event_01EHZNVPK3SFK441A1RGBFSHRT
30135+
event:
30136+
type: string
30137+
const: pipes.connected_account.connection_failed
30138+
data:
30139+
type: object
30140+
properties:
30141+
object:
30142+
type: string
30143+
description: The object type.
30144+
example: connection_failed
30145+
const: connection_failed
30146+
data_integration_id:
30147+
type: string
30148+
description: The unique ID of the data integration.
30149+
example: data_integration_01EHZNVPK3SFK441A1RGBFSHRT
30150+
provider_slug:
30151+
type: string
30152+
description: The provider slug for this connection attempt.
30153+
example: github
30154+
user_id:
30155+
type:
30156+
- string
30157+
- 'null'
30158+
description: The ID of the User the connection attempt belongs to.
30159+
example: user_01EHZNVPK3SFK441A1RGBFSHRT
30160+
organization_id:
30161+
type:
30162+
- string
30163+
- 'null'
30164+
description: >-
30165+
The ID of the Organization the connection attempt
30166+
belongs to.
30167+
example: org_01EHWNCE74X7JSDV0X3SZ3KJNY
30168+
error_code:
30169+
type: string
30170+
description: A machine-readable error code for the failure.
30171+
example: authorization_code_exchange_error
30172+
error_reason:
30173+
type:
30174+
- string
30175+
- 'null'
30176+
description: A human-readable explanation of the failure.
30177+
example: The authorization code has expired.
30178+
provider_error:
30179+
type:
30180+
- string
30181+
- 'null'
30182+
description: The raw error code returned by the OAuth provider.
30183+
example: access_denied
30184+
provider_error_description:
30185+
type:
30186+
- string
30187+
- 'null'
30188+
description: >-
30189+
The raw error description returned by the OAuth
30190+
provider.
30191+
example: The user denied the authorization request.
30192+
created_at:
30193+
format: date-time
30194+
type: string
30195+
description: An ISO 8601 timestamp.
30196+
example: '2026-01-15T12:00:00.000Z'
30197+
required:
30198+
- object
30199+
- data_integration_id
30200+
- provider_slug
30201+
- user_id
30202+
- organization_id
30203+
- error_code
30204+
- error_reason
30205+
- provider_error
30206+
- provider_error_description
30207+
- created_at
30208+
title: PipesConnectionFailed
30209+
description: The event payload.
30210+
created_at:
30211+
format: date-time
30212+
type: string
30213+
description: An ISO 8601 timestamp.
30214+
example: '2026-01-15T12:00:00.000Z'
30215+
context:
30216+
$ref: '#/components/schemas/EventContextDto'
30217+
object:
30218+
type: string
30219+
description: Distinguishes the Event object.
30220+
const: event
30221+
required:
30222+
- id
30223+
- event
30224+
- data
30225+
- created_at
30226+
- object
3012830227
- type: object
3012930228
properties:
3013030229
id:

0 commit comments

Comments
 (0)