@workos/openapi-spec 0.91.0 → 0.92.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -28584,6 +28584,11 @@ components:
28584
28584
  - permission.created
28585
28585
  - permission.deleted
28586
28586
  - permission.updated
28587
+ - pipes.account_connection.add_failed
28588
+ - pipes.account_connection.connected
28589
+ - pipes.account_connection.connection_failed
28590
+ - pipes.account_connection.disconnected
28591
+ - pipes.account_connection.reauthorization_needed
28587
28592
  - pipes.connected_account.connected
28588
28593
  - pipes.connected_account.connection_failed
28589
28594
  - pipes.connected_account.disconnected
@@ -40535,6 +40540,289 @@ components:
40535
40540
  - data
40536
40541
  - created_at
40537
40542
  - object
40543
+ - type: object
40544
+ properties:
40545
+ id:
40546
+ type: string
40547
+ description: Unique identifier for the event.
40548
+ example: event_01EHZNVPK3SFK441A1RGBFSHRT
40549
+ event:
40550
+ type: string
40551
+ const: pipes.account_connection.add_failed
40552
+ data:
40553
+ type: object
40554
+ properties:
40555
+ object:
40556
+ type: string
40557
+ description: The object type.
40558
+ example: connection_failed
40559
+ const: connection_failed
40560
+ data_integration_id:
40561
+ type: string
40562
+ description: The unique ID of the data integration.
40563
+ example: data_integration_01EHZNVPK3SFK441A1RGBFSHRT
40564
+ provider_slug:
40565
+ type: string
40566
+ description: The provider slug for this connection attempt.
40567
+ example: github
40568
+ user_id:
40569
+ type:
40570
+ - string
40571
+ - 'null'
40572
+ description: The ID of the User the connection attempt belongs to.
40573
+ example: user_01EHZNVPK3SFK441A1RGBFSHRT
40574
+ organization_id:
40575
+ type:
40576
+ - string
40577
+ - 'null'
40578
+ description: >-
40579
+ The ID of the Organization the connection attempt
40580
+ belongs to.
40581
+ example: org_01EHWNCE74X7JSDV0X3SZ3KJNY
40582
+ error_code:
40583
+ type: string
40584
+ description: A machine-readable error code for the failure.
40585
+ example: authorization_code_exchange_error
40586
+ error_reason:
40587
+ type:
40588
+ - string
40589
+ - 'null'
40590
+ description: A human-readable explanation of the failure.
40591
+ example: The authorization code has expired.
40592
+ provider_error:
40593
+ type:
40594
+ - string
40595
+ - 'null'
40596
+ description: The raw error code returned by the OAuth provider.
40597
+ example: access_denied
40598
+ provider_error_description:
40599
+ type:
40600
+ - string
40601
+ - 'null'
40602
+ description: >-
40603
+ The raw error description returned by the OAuth
40604
+ provider.
40605
+ example: The user denied the authorization request.
40606
+ created_at:
40607
+ format: date-time
40608
+ type: string
40609
+ description: An ISO 8601 timestamp.
40610
+ example: '2026-01-15T12:00:00.000Z'
40611
+ required:
40612
+ - object
40613
+ - data_integration_id
40614
+ - provider_slug
40615
+ - user_id
40616
+ - organization_id
40617
+ - error_code
40618
+ - error_reason
40619
+ - provider_error
40620
+ - provider_error_description
40621
+ - created_at
40622
+ title: PipesConnectionFailed
40623
+ description: The event payload.
40624
+ created_at:
40625
+ format: date-time
40626
+ type: string
40627
+ description: An ISO 8601 timestamp.
40628
+ example: '2026-01-15T12:00:00.000Z'
40629
+ context:
40630
+ $ref: '#/components/schemas/EventContextDto'
40631
+ object:
40632
+ type: string
40633
+ description: Distinguishes the Event object.
40634
+ const: event
40635
+ required:
40636
+ - id
40637
+ - event
40638
+ - data
40639
+ - created_at
40640
+ - object
40641
+ - type: object
40642
+ properties:
40643
+ id:
40644
+ type: string
40645
+ description: Unique identifier for the event.
40646
+ example: event_01EHZNVPK3SFK441A1RGBFSHRT
40647
+ event:
40648
+ type: string
40649
+ const: pipes.account_connection.connected
40650
+ data:
40651
+ $ref: '#/components/schemas/PipesConnectedAccount'
40652
+ description: The event payload.
40653
+ created_at:
40654
+ format: date-time
40655
+ type: string
40656
+ description: An ISO 8601 timestamp.
40657
+ example: '2026-01-15T12:00:00.000Z'
40658
+ context:
40659
+ $ref: '#/components/schemas/EventContextDto'
40660
+ object:
40661
+ type: string
40662
+ description: Distinguishes the Event object.
40663
+ const: event
40664
+ required:
40665
+ - id
40666
+ - event
40667
+ - data
40668
+ - created_at
40669
+ - object
40670
+ - type: object
40671
+ properties:
40672
+ id:
40673
+ type: string
40674
+ description: Unique identifier for the event.
40675
+ example: event_01EHZNVPK3SFK441A1RGBFSHRT
40676
+ event:
40677
+ type: string
40678
+ const: pipes.account_connection.connection_failed
40679
+ data:
40680
+ type: object
40681
+ properties:
40682
+ object:
40683
+ type: string
40684
+ description: The object type.
40685
+ example: connection_failed
40686
+ const: connection_failed
40687
+ data_integration_id:
40688
+ type: string
40689
+ description: The unique ID of the data integration.
40690
+ example: data_integration_01EHZNVPK3SFK441A1RGBFSHRT
40691
+ provider_slug:
40692
+ type: string
40693
+ description: The provider slug for this connection attempt.
40694
+ example: github
40695
+ user_id:
40696
+ type:
40697
+ - string
40698
+ - 'null'
40699
+ description: The ID of the User the connection attempt belongs to.
40700
+ example: user_01EHZNVPK3SFK441A1RGBFSHRT
40701
+ organization_id:
40702
+ type:
40703
+ - string
40704
+ - 'null'
40705
+ description: >-
40706
+ The ID of the Organization the connection attempt
40707
+ belongs to.
40708
+ example: org_01EHWNCE74X7JSDV0X3SZ3KJNY
40709
+ error_code:
40710
+ type: string
40711
+ description: A machine-readable error code for the failure.
40712
+ example: authorization_code_exchange_error
40713
+ error_reason:
40714
+ type:
40715
+ - string
40716
+ - 'null'
40717
+ description: A human-readable explanation of the failure.
40718
+ example: The authorization code has expired.
40719
+ provider_error:
40720
+ type:
40721
+ - string
40722
+ - 'null'
40723
+ description: The raw error code returned by the OAuth provider.
40724
+ example: access_denied
40725
+ provider_error_description:
40726
+ type:
40727
+ - string
40728
+ - 'null'
40729
+ description: >-
40730
+ The raw error description returned by the OAuth
40731
+ provider.
40732
+ example: The user denied the authorization request.
40733
+ created_at:
40734
+ format: date-time
40735
+ type: string
40736
+ description: An ISO 8601 timestamp.
40737
+ example: '2026-01-15T12:00:00.000Z'
40738
+ required:
40739
+ - object
40740
+ - data_integration_id
40741
+ - provider_slug
40742
+ - user_id
40743
+ - organization_id
40744
+ - error_code
40745
+ - error_reason
40746
+ - provider_error
40747
+ - provider_error_description
40748
+ - created_at
40749
+ title: PipesConnectionFailed
40750
+ description: The event payload.
40751
+ created_at:
40752
+ format: date-time
40753
+ type: string
40754
+ description: An ISO 8601 timestamp.
40755
+ example: '2026-01-15T12:00:00.000Z'
40756
+ context:
40757
+ $ref: '#/components/schemas/EventContextDto'
40758
+ object:
40759
+ type: string
40760
+ description: Distinguishes the Event object.
40761
+ const: event
40762
+ required:
40763
+ - id
40764
+ - event
40765
+ - data
40766
+ - created_at
40767
+ - object
40768
+ - type: object
40769
+ properties:
40770
+ id:
40771
+ type: string
40772
+ description: Unique identifier for the event.
40773
+ example: event_01EHZNVPK3SFK441A1RGBFSHRT
40774
+ event:
40775
+ type: string
40776
+ const: pipes.account_connection.disconnected
40777
+ data:
40778
+ $ref: '#/components/schemas/PipesConnectedAccount'
40779
+ description: The event payload.
40780
+ created_at:
40781
+ format: date-time
40782
+ type: string
40783
+ description: An ISO 8601 timestamp.
40784
+ example: '2026-01-15T12:00:00.000Z'
40785
+ context:
40786
+ $ref: '#/components/schemas/EventContextDto'
40787
+ object:
40788
+ type: string
40789
+ description: Distinguishes the Event object.
40790
+ const: event
40791
+ required:
40792
+ - id
40793
+ - event
40794
+ - data
40795
+ - created_at
40796
+ - object
40797
+ - type: object
40798
+ properties:
40799
+ id:
40800
+ type: string
40801
+ description: Unique identifier for the event.
40802
+ example: event_01EHZNVPK3SFK441A1RGBFSHRT
40803
+ event:
40804
+ type: string
40805
+ const: pipes.account_connection.reauthorization_needed
40806
+ data:
40807
+ $ref: '#/components/schemas/PipesConnectedAccount'
40808
+ description: The event payload.
40809
+ created_at:
40810
+ format: date-time
40811
+ type: string
40812
+ description: An ISO 8601 timestamp.
40813
+ example: '2026-01-15T12:00:00.000Z'
40814
+ context:
40815
+ $ref: '#/components/schemas/EventContextDto'
40816
+ object:
40817
+ type: string
40818
+ description: Distinguishes the Event object.
40819
+ const: event
40820
+ required:
40821
+ - id
40822
+ - event
40823
+ - data
40824
+ - created_at
40825
+ - object
40538
40826
  - type: object
40539
40827
  properties:
40540
40828
  id:
package/dist/types.d.ts CHANGED
@@ -6015,7 +6015,7 @@ export interface components {
6015
6015
  * "dsync.user.created"
6016
6016
  * ]
6017
6017
  */
6018
- events: ("agent.blueprint.created" | "agent.blueprint.deleted" | "agent.blueprint.updated" | "agent.instance.created" | "agent.instance.deleted" | "agent.instance.session.created" | "agent.instance.session.revoked" | "agent.registration.created" | "agent.registration.claim.attempt.created" | "agent.registration.claim.completed" | "agent.registration.credential.issued" | "agent.registration.deleted" | "agent.registration.refreshed" | "agent.registration.expired" | "agent.registration.organization.switched" | "agent.registration.revoked" | "authentication.email_verification_succeeded" | "authentication.magic_auth_failed" | "authentication.magic_auth_succeeded" | "authentication.mfa_succeeded" | "authentication.oauth_failed" | "authentication.oauth_succeeded" | "authentication.password_failed" | "authentication.password_succeeded" | "authentication.passkey_failed" | "authentication.passkey_succeeded" | "authentication.sso_failed" | "authentication.sso_started" | "authentication.sso_succeeded" | "authentication.sso_timed_out" | "radar.challenge_created" | "authentication.radar_risk_detected" | "authentication.reauthentication_succeeded" | "api_key.created" | "api_key.revoked" | "api_key.updated" | "connection.activated" | "connection.deactivated" | "connection.saml_certificate_renewal_required" | "connection.saml_certificate_renewed" | "connection.deleted" | "dsync.activated" | "dsync.deleted" | "dsync.group.created" | "dsync.group.deleted" | "dsync.group.updated" | "dsync.group.user_added" | "dsync.group.user_removed" | "dsync.user.created" | "dsync.user.deleted" | "dsync.user.updated" | "email_verification.created" | "group.created" | "group.deleted" | "group.member_added" | "group.member_removed" | "group.updated" | "flag.created" | "flag.deleted" | "flag.updated" | "flag.rule_updated" | "invitation.accepted" | "invitation.created" | "invitation.resent" | "invitation.revoked" | "magic_auth.created" | "organization.created" | "organization.deleted" | "organization.updated" | "organization_domain.created" | "organization_domain.deleted" | "organization_domain.updated" | "organization_domain.verified" | "organization_domain.verification_failed" | "password_reset.created" | "password_reset.succeeded" | "user.created" | "user.updated" | "user.deleted" | "organization_membership.created" | "organization_membership.deleted" | "organization_membership.updated" | "role.created" | "role.deleted" | "role.updated" | "organization_role.created" | "organization_role.deleted" | "organization_role.updated" | "permission.created" | "permission.deleted" | "permission.updated" | "pipes.connected_account.connected" | "pipes.connected_account.connection_failed" | "pipes.connected_account.disconnected" | "pipes.connected_account.reauthorization_needed" | "session.created" | "session.revoked" | "waitlist_user.approved" | "waitlist_user.created" | "waitlist_user.denied")[];
6018
+ events: ("agent.blueprint.created" | "agent.blueprint.deleted" | "agent.blueprint.updated" | "agent.instance.created" | "agent.instance.deleted" | "agent.instance.session.created" | "agent.instance.session.revoked" | "agent.registration.created" | "agent.registration.claim.attempt.created" | "agent.registration.claim.completed" | "agent.registration.credential.issued" | "agent.registration.deleted" | "agent.registration.refreshed" | "agent.registration.expired" | "agent.registration.organization.switched" | "agent.registration.revoked" | "authentication.email_verification_succeeded" | "authentication.magic_auth_failed" | "authentication.magic_auth_succeeded" | "authentication.mfa_succeeded" | "authentication.oauth_failed" | "authentication.oauth_succeeded" | "authentication.password_failed" | "authentication.password_succeeded" | "authentication.passkey_failed" | "authentication.passkey_succeeded" | "authentication.sso_failed" | "authentication.sso_started" | "authentication.sso_succeeded" | "authentication.sso_timed_out" | "radar.challenge_created" | "authentication.radar_risk_detected" | "authentication.reauthentication_succeeded" | "api_key.created" | "api_key.revoked" | "api_key.updated" | "connection.activated" | "connection.deactivated" | "connection.saml_certificate_renewal_required" | "connection.saml_certificate_renewed" | "connection.deleted" | "dsync.activated" | "dsync.deleted" | "dsync.group.created" | "dsync.group.deleted" | "dsync.group.updated" | "dsync.group.user_added" | "dsync.group.user_removed" | "dsync.user.created" | "dsync.user.deleted" | "dsync.user.updated" | "email_verification.created" | "group.created" | "group.deleted" | "group.member_added" | "group.member_removed" | "group.updated" | "flag.created" | "flag.deleted" | "flag.updated" | "flag.rule_updated" | "invitation.accepted" | "invitation.created" | "invitation.resent" | "invitation.revoked" | "magic_auth.created" | "organization.created" | "organization.deleted" | "organization.updated" | "organization_domain.created" | "organization_domain.deleted" | "organization_domain.updated" | "organization_domain.verified" | "organization_domain.verification_failed" | "password_reset.created" | "password_reset.succeeded" | "user.created" | "user.updated" | "user.deleted" | "organization_membership.created" | "organization_membership.deleted" | "organization_membership.updated" | "role.created" | "role.deleted" | "role.updated" | "organization_role.created" | "organization_role.deleted" | "organization_role.updated" | "permission.created" | "permission.deleted" | "permission.updated" | "pipes.account_connection.add_failed" | "pipes.account_connection.connected" | "pipes.account_connection.connection_failed" | "pipes.account_connection.disconnected" | "pipes.account_connection.reauthorization_needed" | "pipes.connected_account.connected" | "pipes.connected_account.connection_failed" | "pipes.connected_account.disconnected" | "pipes.connected_account.reauthorization_needed" | "session.created" | "session.revoked" | "waitlist_user.approved" | "waitlist_user.created" | "waitlist_user.denied")[];
6019
6019
  };
6020
6020
  UpdateWebhookEndpointDto: {
6021
6021
  /**
@@ -6036,7 +6036,7 @@ export interface components {
6036
6036
  * "dsync.user.created"
6037
6037
  * ]
6038
6038
  */
6039
- events?: ("agent.blueprint.created" | "agent.blueprint.deleted" | "agent.blueprint.updated" | "agent.instance.created" | "agent.instance.deleted" | "agent.instance.session.created" | "agent.instance.session.revoked" | "agent.registration.created" | "agent.registration.claim.attempt.created" | "agent.registration.claim.completed" | "agent.registration.credential.issued" | "agent.registration.deleted" | "agent.registration.refreshed" | "agent.registration.expired" | "agent.registration.organization.switched" | "agent.registration.revoked" | "authentication.email_verification_succeeded" | "authentication.magic_auth_failed" | "authentication.magic_auth_succeeded" | "authentication.mfa_succeeded" | "authentication.oauth_failed" | "authentication.oauth_succeeded" | "authentication.password_failed" | "authentication.password_succeeded" | "authentication.passkey_failed" | "authentication.passkey_succeeded" | "authentication.sso_failed" | "authentication.sso_started" | "authentication.sso_succeeded" | "authentication.sso_timed_out" | "radar.challenge_created" | "authentication.radar_risk_detected" | "authentication.reauthentication_succeeded" | "api_key.created" | "api_key.revoked" | "api_key.updated" | "connection.activated" | "connection.deactivated" | "connection.saml_certificate_renewal_required" | "connection.saml_certificate_renewed" | "connection.deleted" | "dsync.activated" | "dsync.deleted" | "dsync.group.created" | "dsync.group.deleted" | "dsync.group.updated" | "dsync.group.user_added" | "dsync.group.user_removed" | "dsync.user.created" | "dsync.user.deleted" | "dsync.user.updated" | "email_verification.created" | "group.created" | "group.deleted" | "group.member_added" | "group.member_removed" | "group.updated" | "flag.created" | "flag.deleted" | "flag.updated" | "flag.rule_updated" | "invitation.accepted" | "invitation.created" | "invitation.resent" | "invitation.revoked" | "magic_auth.created" | "organization.created" | "organization.deleted" | "organization.updated" | "organization_domain.created" | "organization_domain.deleted" | "organization_domain.updated" | "organization_domain.verified" | "organization_domain.verification_failed" | "password_reset.created" | "password_reset.succeeded" | "user.created" | "user.updated" | "user.deleted" | "organization_membership.created" | "organization_membership.deleted" | "organization_membership.updated" | "role.created" | "role.deleted" | "role.updated" | "organization_role.created" | "organization_role.deleted" | "organization_role.updated" | "permission.created" | "permission.deleted" | "permission.updated" | "pipes.connected_account.connected" | "pipes.connected_account.connection_failed" | "pipes.connected_account.disconnected" | "pipes.connected_account.reauthorization_needed" | "session.created" | "session.revoked" | "waitlist_user.approved" | "waitlist_user.created" | "waitlist_user.denied")[];
6039
+ events?: ("agent.blueprint.created" | "agent.blueprint.deleted" | "agent.blueprint.updated" | "agent.instance.created" | "agent.instance.deleted" | "agent.instance.session.created" | "agent.instance.session.revoked" | "agent.registration.created" | "agent.registration.claim.attempt.created" | "agent.registration.claim.completed" | "agent.registration.credential.issued" | "agent.registration.deleted" | "agent.registration.refreshed" | "agent.registration.expired" | "agent.registration.organization.switched" | "agent.registration.revoked" | "authentication.email_verification_succeeded" | "authentication.magic_auth_failed" | "authentication.magic_auth_succeeded" | "authentication.mfa_succeeded" | "authentication.oauth_failed" | "authentication.oauth_succeeded" | "authentication.password_failed" | "authentication.password_succeeded" | "authentication.passkey_failed" | "authentication.passkey_succeeded" | "authentication.sso_failed" | "authentication.sso_started" | "authentication.sso_succeeded" | "authentication.sso_timed_out" | "radar.challenge_created" | "authentication.radar_risk_detected" | "authentication.reauthentication_succeeded" | "api_key.created" | "api_key.revoked" | "api_key.updated" | "connection.activated" | "connection.deactivated" | "connection.saml_certificate_renewal_required" | "connection.saml_certificate_renewed" | "connection.deleted" | "dsync.activated" | "dsync.deleted" | "dsync.group.created" | "dsync.group.deleted" | "dsync.group.updated" | "dsync.group.user_added" | "dsync.group.user_removed" | "dsync.user.created" | "dsync.user.deleted" | "dsync.user.updated" | "email_verification.created" | "group.created" | "group.deleted" | "group.member_added" | "group.member_removed" | "group.updated" | "flag.created" | "flag.deleted" | "flag.updated" | "flag.rule_updated" | "invitation.accepted" | "invitation.created" | "invitation.resent" | "invitation.revoked" | "magic_auth.created" | "organization.created" | "organization.deleted" | "organization.updated" | "organization_domain.created" | "organization_domain.deleted" | "organization_domain.updated" | "organization_domain.verified" | "organization_domain.verification_failed" | "password_reset.created" | "password_reset.succeeded" | "user.created" | "user.updated" | "user.deleted" | "organization_membership.created" | "organization_membership.deleted" | "organization_membership.updated" | "role.created" | "role.deleted" | "role.updated" | "organization_role.created" | "organization_role.deleted" | "organization_role.updated" | "permission.created" | "permission.deleted" | "permission.updated" | "pipes.account_connection.add_failed" | "pipes.account_connection.connected" | "pipes.account_connection.connection_failed" | "pipes.account_connection.disconnected" | "pipes.account_connection.reauthorization_needed" | "pipes.connected_account.connected" | "pipes.connected_account.connection_failed" | "pipes.connected_account.disconnected" | "pipes.connected_account.reauthorization_needed" | "session.created" | "session.revoked" | "waitlist_user.approved" | "waitlist_user.created" | "waitlist_user.denied")[];
6040
6040
  };
6041
6041
  WidgetSessionTokenDto: {
6042
6042
  /**
@@ -15313,6 +15313,228 @@ export interface components {
15313
15313
  * @constant
15314
15314
  */
15315
15315
  object: "event";
15316
+ } | {
15317
+ /**
15318
+ * @description Unique identifier for the event.
15319
+ * @example event_01EHZNVPK3SFK441A1RGBFSHRT
15320
+ */
15321
+ id: string;
15322
+ /** @constant */
15323
+ event: "pipes.account_connection.add_failed";
15324
+ /**
15325
+ * PipesConnectionFailed
15326
+ * @description The event payload.
15327
+ */
15328
+ data: {
15329
+ /**
15330
+ * @description The object type.
15331
+ * @example connection_failed
15332
+ * @constant
15333
+ */
15334
+ object: "connection_failed";
15335
+ /**
15336
+ * @description The unique ID of the data integration.
15337
+ * @example data_integration_01EHZNVPK3SFK441A1RGBFSHRT
15338
+ */
15339
+ data_integration_id: string;
15340
+ /**
15341
+ * @description The provider slug for this connection attempt.
15342
+ * @example github
15343
+ */
15344
+ provider_slug: string;
15345
+ /**
15346
+ * @description The ID of the User the connection attempt belongs to.
15347
+ * @example user_01EHZNVPK3SFK441A1RGBFSHRT
15348
+ */
15349
+ user_id: string | null;
15350
+ /**
15351
+ * @description The ID of the Organization the connection attempt belongs to.
15352
+ * @example org_01EHWNCE74X7JSDV0X3SZ3KJNY
15353
+ */
15354
+ organization_id: string | null;
15355
+ /**
15356
+ * @description A machine-readable error code for the failure.
15357
+ * @example authorization_code_exchange_error
15358
+ */
15359
+ error_code: string;
15360
+ /**
15361
+ * @description A human-readable explanation of the failure.
15362
+ * @example The authorization code has expired.
15363
+ */
15364
+ error_reason: string | null;
15365
+ /**
15366
+ * @description The raw error code returned by the OAuth provider.
15367
+ * @example access_denied
15368
+ */
15369
+ provider_error: string | null;
15370
+ /**
15371
+ * @description The raw error description returned by the OAuth provider.
15372
+ * @example The user denied the authorization request.
15373
+ */
15374
+ provider_error_description: string | null;
15375
+ /**
15376
+ * Format: date-time
15377
+ * @description An ISO 8601 timestamp.
15378
+ * @example 2026-01-15T12:00:00.000Z
15379
+ */
15380
+ created_at: string;
15381
+ };
15382
+ /**
15383
+ * Format: date-time
15384
+ * @description An ISO 8601 timestamp.
15385
+ * @example 2026-01-15T12:00:00.000Z
15386
+ */
15387
+ created_at: string;
15388
+ context?: components["schemas"]["EventContextDto"];
15389
+ /**
15390
+ * @description Distinguishes the Event object.
15391
+ * @constant
15392
+ */
15393
+ object: "event";
15394
+ } | {
15395
+ /**
15396
+ * @description Unique identifier for the event.
15397
+ * @example event_01EHZNVPK3SFK441A1RGBFSHRT
15398
+ */
15399
+ id: string;
15400
+ /** @constant */
15401
+ event: "pipes.account_connection.connected";
15402
+ /** @description The event payload. */
15403
+ data: components["schemas"]["PipesConnectedAccount"];
15404
+ /**
15405
+ * Format: date-time
15406
+ * @description An ISO 8601 timestamp.
15407
+ * @example 2026-01-15T12:00:00.000Z
15408
+ */
15409
+ created_at: string;
15410
+ context?: components["schemas"]["EventContextDto"];
15411
+ /**
15412
+ * @description Distinguishes the Event object.
15413
+ * @constant
15414
+ */
15415
+ object: "event";
15416
+ } | {
15417
+ /**
15418
+ * @description Unique identifier for the event.
15419
+ * @example event_01EHZNVPK3SFK441A1RGBFSHRT
15420
+ */
15421
+ id: string;
15422
+ /** @constant */
15423
+ event: "pipes.account_connection.connection_failed";
15424
+ /**
15425
+ * PipesConnectionFailed
15426
+ * @description The event payload.
15427
+ */
15428
+ data: {
15429
+ /**
15430
+ * @description The object type.
15431
+ * @example connection_failed
15432
+ * @constant
15433
+ */
15434
+ object: "connection_failed";
15435
+ /**
15436
+ * @description The unique ID of the data integration.
15437
+ * @example data_integration_01EHZNVPK3SFK441A1RGBFSHRT
15438
+ */
15439
+ data_integration_id: string;
15440
+ /**
15441
+ * @description The provider slug for this connection attempt.
15442
+ * @example github
15443
+ */
15444
+ provider_slug: string;
15445
+ /**
15446
+ * @description The ID of the User the connection attempt belongs to.
15447
+ * @example user_01EHZNVPK3SFK441A1RGBFSHRT
15448
+ */
15449
+ user_id: string | null;
15450
+ /**
15451
+ * @description The ID of the Organization the connection attempt belongs to.
15452
+ * @example org_01EHWNCE74X7JSDV0X3SZ3KJNY
15453
+ */
15454
+ organization_id: string | null;
15455
+ /**
15456
+ * @description A machine-readable error code for the failure.
15457
+ * @example authorization_code_exchange_error
15458
+ */
15459
+ error_code: string;
15460
+ /**
15461
+ * @description A human-readable explanation of the failure.
15462
+ * @example The authorization code has expired.
15463
+ */
15464
+ error_reason: string | null;
15465
+ /**
15466
+ * @description The raw error code returned by the OAuth provider.
15467
+ * @example access_denied
15468
+ */
15469
+ provider_error: string | null;
15470
+ /**
15471
+ * @description The raw error description returned by the OAuth provider.
15472
+ * @example The user denied the authorization request.
15473
+ */
15474
+ provider_error_description: string | null;
15475
+ /**
15476
+ * Format: date-time
15477
+ * @description An ISO 8601 timestamp.
15478
+ * @example 2026-01-15T12:00:00.000Z
15479
+ */
15480
+ created_at: string;
15481
+ };
15482
+ /**
15483
+ * Format: date-time
15484
+ * @description An ISO 8601 timestamp.
15485
+ * @example 2026-01-15T12:00:00.000Z
15486
+ */
15487
+ created_at: string;
15488
+ context?: components["schemas"]["EventContextDto"];
15489
+ /**
15490
+ * @description Distinguishes the Event object.
15491
+ * @constant
15492
+ */
15493
+ object: "event";
15494
+ } | {
15495
+ /**
15496
+ * @description Unique identifier for the event.
15497
+ * @example event_01EHZNVPK3SFK441A1RGBFSHRT
15498
+ */
15499
+ id: string;
15500
+ /** @constant */
15501
+ event: "pipes.account_connection.disconnected";
15502
+ /** @description The event payload. */
15503
+ data: components["schemas"]["PipesConnectedAccount"];
15504
+ /**
15505
+ * Format: date-time
15506
+ * @description An ISO 8601 timestamp.
15507
+ * @example 2026-01-15T12:00:00.000Z
15508
+ */
15509
+ created_at: string;
15510
+ context?: components["schemas"]["EventContextDto"];
15511
+ /**
15512
+ * @description Distinguishes the Event object.
15513
+ * @constant
15514
+ */
15515
+ object: "event";
15516
+ } | {
15517
+ /**
15518
+ * @description Unique identifier for the event.
15519
+ * @example event_01EHZNVPK3SFK441A1RGBFSHRT
15520
+ */
15521
+ id: string;
15522
+ /** @constant */
15523
+ event: "pipes.account_connection.reauthorization_needed";
15524
+ /** @description The event payload. */
15525
+ data: components["schemas"]["PipesConnectedAccount"];
15526
+ /**
15527
+ * Format: date-time
15528
+ * @description An ISO 8601 timestamp.
15529
+ * @example 2026-01-15T12:00:00.000Z
15530
+ */
15531
+ created_at: string;
15532
+ context?: components["schemas"]["EventContextDto"];
15533
+ /**
15534
+ * @description Distinguishes the Event object.
15535
+ * @constant
15536
+ */
15537
+ object: "event";
15316
15538
  } | {
15317
15539
  /**
15318
15540
  * @description Unique identifier for the event.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workos/openapi-spec",
3
- "version": "0.91.0",
3
+ "version": "0.92.0",
4
4
  "type": "module",
5
5
  "description": "WorkOS OpenAPI specification, TypeScript types, and SDK resolution policy",
6
6
  "license": "MIT",