From 075f3bb81d19d960eef53e21d1f542973750db24 Mon Sep 17 00:00:00 2001 From: "workos-sdk-automation[bot]" <255426317+workos-sdk-automation[bot]@users.noreply.github.com> Date: Wed, 24 Jun 2026 19:51:40 +0000 Subject: [PATCH] Update OpenAPI spec from workos/workos@1a2f47b20f63f2c8f0eb56bbd2adb3b5947d693a --- .last-synced-sha | 2 +- spec/open-api-spec.yaml | 99 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 100 insertions(+), 1 deletion(-) diff --git a/.last-synced-sha b/.last-synced-sha index bec75b2..d5b9828 100644 --- a/.last-synced-sha +++ b/.last-synced-sha @@ -1 +1 @@ -12f845da8a7524cdc6496fe2acf136f93c7dc5f3 +1a2f47b20f63f2c8f0eb56bbd2adb3b5947d693a diff --git a/spec/open-api-spec.yaml b/spec/open-api-spec.yaml index 8042600..524cb9f 100644 --- a/spec/open-api-spec.yaml +++ b/spec/open-api-spec.yaml @@ -20097,6 +20097,7 @@ components: - permission.deleted - permission.updated - pipes.connected_account.connected + - pipes.connected_account.connection_failed - pipes.connected_account.disconnected - pipes.connected_account.reauthorization_needed - session.created @@ -30125,6 +30126,104 @@ components: - data - created_at - object + - type: object + properties: + id: + type: string + description: Unique identifier for the event. + example: event_01EHZNVPK3SFK441A1RGBFSHRT + event: + type: string + const: pipes.connected_account.connection_failed + data: + type: object + properties: + object: + type: string + description: The object type. + example: connection_failed + const: connection_failed + data_integration_id: + type: string + description: The unique ID of the data integration. + example: data_integration_01EHZNVPK3SFK441A1RGBFSHRT + provider_slug: + type: string + description: The provider slug for this connection attempt. + example: github + user_id: + type: + - string + - 'null' + description: The ID of the User the connection attempt belongs to. + example: user_01EHZNVPK3SFK441A1RGBFSHRT + organization_id: + type: + - string + - 'null' + description: >- + The ID of the Organization the connection attempt + belongs to. + example: org_01EHWNCE74X7JSDV0X3SZ3KJNY + error_code: + type: string + description: A machine-readable error code for the failure. + example: authorization_code_exchange_error + error_reason: + type: + - string + - 'null' + description: A human-readable explanation of the failure. + example: The authorization code has expired. + provider_error: + type: + - string + - 'null' + description: The raw error code returned by the OAuth provider. + example: access_denied + provider_error_description: + type: + - string + - 'null' + description: >- + The raw error description returned by the OAuth + provider. + example: The user denied the authorization request. + created_at: + format: date-time + type: string + description: An ISO 8601 timestamp. + example: '2026-01-15T12:00:00.000Z' + required: + - object + - data_integration_id + - provider_slug + - user_id + - organization_id + - error_code + - error_reason + - provider_error + - provider_error_description + - created_at + title: PipesConnectionFailed + description: The event payload. + created_at: + format: date-time + type: string + description: An ISO 8601 timestamp. + example: '2026-01-15T12:00:00.000Z' + context: + $ref: '#/components/schemas/EventContextDto' + object: + type: string + description: Distinguishes the Event object. + const: event + required: + - id + - event + - data + - created_at + - object - type: object properties: id: