← 输入框|github.com|刷新
Skip to content

Releases

v10.9.0

Choose a tag to compare

@workos-sdk-automation workos-sdk-automation released this 13 Nov 20:46
fdb7024

Features

  • actions: Add verify_action returning a typed action context (#776) (043aa34)

Bug Fixes

  • sdk: webhooks-django × codex-baseline — The agent hand-rolled HMAC signature verification (parsing a… (#736) (6e6d782)

  • #777 feat(generated): regenerate from spec (1 change)

    ⚠️ Breaking

    • directory_sync:
      • Added parameter Directories.find.directoryId
      • Added parameter Directories.find.groupId
      • Removed parameter Directories.find.id
      • Changed path for endpoint GET /directories/{directoryId}/groups/{groupId}
      • Changed server default for parameter DirectoryGroups.list
      • Changed server default for parameter DirectoryGroups.find
      • Changed server default for parameter DirectoryUsers.list
      • Changed server default for parameter DirectoryUsers.find

    Features

    • directory_sync:
      • Added endpoint GET /directories/{id}
      • Added endpoint GET /directories/{directoryId}/groups
      • Added endpoint GET /directories/{directoryId}/users
      • Added endpoint GET /directories/{directoryId}/users/{userId}
    • multi_factor_auth:
      • Added model TooManyFailedVerificationAttemptsErrorBodyWithRetryAfter
      • Changed errors for endpoint POST /auth/challenges/{id}/verify
    • pipes:
      • Added config to CreateOrganizationConnectedAccount
      • Added metadata to CreateOrganizationConnectedAccount
      • Added config to OrganizationConnectedAccount
      • Added config to CreateConnectedAccount
      • Added metadata to CreateConnectedAccount
      • Added config to ConnectedAccountInput
      • Added too_many_failed_verification_attempts to ErrorBodyCode
      • Added ip_address_required to ErrorBodyCode
      • Added enum PipesProviderOwnership
      • Added parameter PipesProvider.listForOrganization.ownership
      • Changed errors for endpoint GET /organizations/{organizationId}/data_integration_configurations
      • Added parameter PipesProvider.configure.ownership
    • user_management:
      • Added radar_detection_id to PolicyDeniedErrorBody
    • webhooks:
      • Added feature_flags.flag.created to CreateWebhookEndpointEvents
      • Added feature_flags.flag.updated to CreateWebhookEndpointEvents
      • Added feature_flags.flag.deleted to CreateWebhookEndpointEvents
      • Added feature_flags.flag_rule.created to CreateWebhookEndpointEvents
      • Added feature_flags.flag_rule.updated to CreateWebhookEndpointEvents
      • Added feature_flags.flag_target.created to CreateWebhookEndpointEvents
      • Added feature_flags.flag_rule.deleted to CreateWebhookEndpointEvents
      • Added feature_flags.flag_target.deleted to CreateWebhookEndpointEvents
      • Added feature_flags.flag.created to UpdateWebhookEndpointEvents
      • Added feature_flags.flag.updated to UpdateWebhookEndpointEvents
      • Added feature_flags.flag.deleted to UpdateWebhookEndpointEvents
      • Added feature_flags.flag_rule.created to UpdateWebhookEndpointEvents
      • Added feature_flags.flag_rule.updated to UpdateWebhookEndpointEvents
      • Added feature_flags.flag_target.created to UpdateWebhookEndpointEvents
      • Added feature_flags.flag_rule.deleted to UpdateWebhookEndpointEvents
      • Added feature_flags.flag_target.deleted to UpdateWebhookEndpointEvents

    Fixes

    • directory_sync:
      • Changed response of Directories.find from Directory to DirectoryGroup
      • Updated endpoint GET /directory_groups
      • Updated endpoint GET /directory_groups/{id}
      • Updated endpoint GET /directory_users
      • Updated endpoint GET /directory_users/{id}
    • events:
      • Updated model EventSchema
    • pipes:
      • Removed policy_denied from ErrorBodyCode
    • user_management:
      • Changed errors for endpoint POST /user_management/users
      • Changed errors for endpoint POST /user_management/magic_auth
      • Changed errors for endpoint POST /user_management/authenticate
  • #778 feat(generated): regenerate from spec (1 change)

    Features

    • sso:
      • Added enum ConnectionsState
      • Added parameter Connections.list.state

v10.8.0

Choose a tag to compare

@workos-sdk-automation workos-sdk-automation released this 05 Nov 19:59
6ec5526

Features

  • feature-flags: Add an async feature flags runtime client (#766) (ed5c3a5)
  • feature-flags: Evaluate feature flags locally with a polling runtime client (#765) (e641a53)

Bug Fixes

  • client: Keep the public client's type in with WorkOSClient() as workos (#771) (623a29c)
  • errors: Print API errors with their HTTP status and only the fields that are set (#761) (1288dbe)
  • feature-flags: Poll in uWSGI workers forked without Python's fork hooks (#772) (4d4fb82)
  • session: Reject non-user access tokens in session cookies (#770) (60cd09a)

v10.7.0

Choose a tag to compare

@workos-sdk-automation workos-sdk-automation released this 04 Nov 16:53
27e9031

Bug Fixes

  • Serialize datetime values as UTC with a Z suffix (#754) (b8349d7)

Documentation

  • fix Python SDK build status badge (#756) (75dee0a)

  • #768 feat(generated)!: regenerate from spec (6 changes)

    ⚠️ Breaking

    • groups:
      • Removed model ReplaceGroupMemberships
      • Removed endpoint PUT /organizations/{organizationId}/groups/{groupId}/organization-memberships
    • pipes:
      • Removed model ConnectedAccountWriteResponse
      • Removed model ConnectedAccountWriteResponseWarning
      • Removed enum ConnectedAccountWriteResponseConnectionRole
      • Removed enum ConnectedAccountWriteResponseAuthMethod
      • Removed enum ConnectedAccountWriteResponseState
      • Removed model ReauthorizeDataIntegrationsUpsertApiKeyRequest
      • Removed model DataIntegrationsUpsertApiKeyRequest2
      • Removed model AddDataIntegrationsGetDataIntegrationAuthorizeUrlRequest
      • Removed model ReauthorizeDataIntegrationsGetDataIntegrationAuthorizeUrlRequest
      • Removed model ReauthorizeDataIntegrationsUpsertClientCredentialsRequest
      • Removed model DataIntegrationsUpsertClientCredentialsRequest2
      • Removed enum ReauthorizeDataIntegrationsUpsertApiKeyRequestConnectionOwner
      • Removed enum DataIntegrationsUpsertApiKeyRequest2ConnectionOwner
      • Removed enum AddDataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner
      • Removed enum ReauthorizeDataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner
      • Removed enum ReauthorizeDataIntegrationsUpsertClientCredentialsRequestConnectionOwner
      • Removed enum DataIntegrationsUpsertClientCredentialsRequest2ConnectionOwner

    Features

    • admin_portal:
      • Added action_denied to ErrorBodyCode
      • Added group_membership_update_overlap to ErrorBodyCode
    • connect:
      • Added cors_origins to Connect models
    • events:
      • Changed parameter Events.list.range_start
      • Changed parameter Events.list.range_end
    • groups:
      • Added model PatchGroupMemberships
      • Added endpoint PATCH /organizations/{organizationId}/groups/{groupId}/organization-memberships
      • Added model ReplaceGroupMemberships
      • Added endpoint PUT /organizations/{organizationId}/groups/{groupId}/organization-memberships
    • organizations:
      • Changed errors for endpoint POST /organizations/{organization_id}/it_contacts/{contact_id}/invite
    • pipes:
      • Added model DataIntegrationFinishConnectionResponse
      • Added model DataIntegrationsFinishConnectionRequest
      • Added model DataIntegrationsFinishConnectionError400
      • Added model DataIntegrationsFinishConnectionError4002
      • Added model DataIntegrationsFinishConnectionError403
      • Added model DataIntegrationsGetDataIntegrationAuthorizeUrlError4002
      • Added completion to DataIntegrationAuthorizeUrlResponse
      • Added code_challenge to DataIntegrationsGetDataIntegrationAuthorizeUrlRequest
      • Added code_challenge_method to DataIntegrationsGetDataIntegrationAuthorizeUrlRequest
      • Added code to DataIntegrationsGetDataIntegrationAuthorizeUrlError400
      • Added enum DataIntegrationsFinishConnectionError400Code
      • Added enum DataIntegrationsGetDataIntegrationAuthorizeUrlError400Code
      • Added endpoint POST /data-integrations/finish
      • Added model ConnectedAccountWarning
      • Added model DataIntegrationsListResponseDataConnectedAccountWarning
      • Added warnings to ConnectedAccount
      • Added warnings to DataIntegrationsListResponseDataConnectedAccount
      • Added connection_intent to DataIntegrationsUpsertApiKeyRequest
      • Added connected_account_id to DataIntegrationsUpsertApiKeyRequest
      • Added connection_intent to DataIntegrationsGetDataIntegrationAuthorizeUrlRequest
      • Added connected_account_id to DataIntegrationsGetDataIntegrationAuthorizeUrlRequest
      • Added connection_intent to DataIntegrationsUpsertClientCredentialsRequest
      • Added connected_account_id to DataIntegrationsUpsertClientCredentialsRequest
      • Added enum DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionIntent
    • user_management:
      • Added model SendVerificationEmail
      • Added locale to CreateMagicCodeAndReturn
      • Added locale to CreatePasswordResetToken
      • Added locale to SendEmailChange
      • Added enum CreateMagicCodeAndReturnLocale
      • Added enum SendVerificationEmailLocale
      • Added enum CreatePasswordResetTokenLocale
      • Added enum SendEmailChangeLocale
    • widgets:
      • Added widgets:user-api-keys:manage-self to WidgetSessionTokenScopes
      • Added widgets:user-api-keys:manage-all to WidgetSessionTokenScopes

    Fixes

    • organizations:
      • Changed errors for endpoint POST /organizations/{organization_id}/it_contacts/{contact_id}/invite
    • pipes:
      • Changed the type of DataIntegrationsGetDataIntegrationAuthorizeUrlError400.message
      • Changed errors for endpoint POST /data-integrations/{slug}/authorize
      • Changed response of Pipes.createApiKeyConnection from ConnectedAccountWriteResponse to ConnectedAccount
      • Changed response of Pipes.upsertApiKey from ConnectedAccountWriteResponse to ConnectedAccount
      • Changed response of Pipes.createClientCredentialsConnection from ConnectedAccountWriteResponse to ConnectedAccount
      • Changed response of Pipes.upsertClientCredentials from ConnectedAccountWriteResponse to ConnectedAccount
      • Changed response of OrganizationsDataProviders.createOrganizationDataInstallation from ConnectedAccountWriteResponse to ConnectedAccount
      • Changed response of OrganizationsDataProviders.updateOrganizationDataInstallation from ConnectedAccountWriteResponse to ConnectedAccount
      • Changed response of UserManagementDataProviders.createUserDataInstallation from ConnectedAccountWriteResponse to ConnectedAccount
      • Changed response of UserManagementDataProviders.updateUserDataInstallation from ConnectedAccountWriteResponse to ConnectedAccount
      • Changed request body for Pipes.upsertApiKey
      • Changed request body for Pipes.getDataIntegrationAuthorizeUrl
      • Changed request body for Pipes.upsertClientCredentials
    • sso:
      • Changed errors for endpoint POST /sso/logout/authorize
    • user_management:
      • Changed errors for endpoint POST /user_management/authenticate
      • Changed request body for UserManagementUsers.sendVerificationEmail
      • Changed errors for endpoint POST /user_management/users/{id}/email_verification/send
      • Changed errors for endpoint POST /user_management/invitations
      • Changed errors for endpoint POST /user_management/invitations/{id}/resend
      • Changed errors for endpoint POST /user_management/waitlist_entries/{id}/approve

v10.6.0

Choose a tag to compare

@workos-sdk-automation workos-sdk-automation released this 19 Oct 14:45
f67c7ca

⚠ BREAKING CHANGES

  • iterate only the current page when looping over a list response (#744)

Features

  • iterate only the current page when looping over a list response (#744) (40b902a)

Bug Fixes

  • classify Radar email and SMS challenges correctly (#750) (c2589c1)
  • clear before cursor when advancing pagination (#741) (f1dab71)
  • fall back from nonfinite Retry-After values (#742) (a65c626)

Miscellaneous Chores

  • release 10.6.0 (5c1faa3)

  • #747 feat(generated)!: regenerate from spec (9 changes)

    ⚠️ Breaking

    • pipes:
      • Removed model AddDataIntegrationsUpsertApiKeyRequest
      • Removed model AddDataIntegrationsUpsertClientCredentialsRequest
      • Removed enum AddDataIntegrationsUpsertApiKeyRequestConnectionOwner
      • Removed enum AddDataIntegrationsUpsertClientCredentialsRequestConnectionOwner

    Features

    • admin_portal:
      • Added model RevokeLink
      • Added external_user_id to GenerateLink
      • Added endpoint POST /portal/revoke_link
      • Changed errors for endpoint POST /portal/generate_link
    • agents:
      • Added model AgentBlueprintInvocableAs
      • Added model AgentBlueprintsCreateRequestInvocableAs
      • Added model AgentBlueprintsUpdateRequestInvocableAs
      • Added invocable_as to AgentBlueprint
      • Added invocable_as to AgentBlueprintsCreateRequest
      • Added invocable_as to AgentBlueprintsUpdateRequest
      • Added enum AgentBlueprintInvocableAsInstanceTypes
      • Added enum AgentBlueprintsCreateRequestInvocableAsInstanceTypes
      • Added enum AgentBlueprintsUpdateRequestInvocableAsInstanceTypes
    • audit_logs:
      • Changed errors for endpoint GET /audit_logs/actions
      • Changed errors for endpoint GET /audit_logs/actions/{actionName}/schemas
      • Changed errors for endpoint POST /audit_logs/actions/{actionName}/schemas
      • Changed errors for endpoint POST /audit_logs/events
      • Changed errors for endpoint POST /audit_logs/exports
      • Changed errors for endpoint GET /audit_logs/exports/{auditLogExportId}
    • authorization:
      • Changed errors for endpoint GET /authorization/organization_memberships/{organization_membership_id}/role_assignments
      • Changed errors for endpoint POST /authorization/groups/{group_id}/role_assignments
      • Changed errors for endpoint PUT /authorization/groups/{group_id}/role_assignments
      • Changed errors for endpoint GET /authorization/groups/{group_id}/role_assignments/{role_assignment_id}
      • Changed errors for endpoint POST /authorization/organization_memberships/{organization_membership_id}/check
      • Changed errors for endpoint GET /authorization/organization_memberships/{organization_membership_id}/resources
      • Changed errors for endpoint GET /authorization/organization_memberships/{organization_membership_id}/resources/{resource_id}/permissions
      • Changed errors for endpoint GET /authorization/organization_memberships/{organization_membership_id}/resources/{resource_type_slug}/{external_id}/permissions
      • Changed errors for endpoint POST /authorization/organization_memberships/{organization_membership_id}/role_assignments
      • Changed errors for endpoint GET /authorization/organizations/{organization_id}/resources/{resource_type_slug}/{external_id}
      • Changed errors for endpoint PATCH /authorization/organizations/{organization_id}/resources/{resource_type_slug}/{external_id}
      • Changed errors for endpoint GET /authorization/organizations/{organization_id}/resources/{resource_type_slug}/{external_id}/organization_memberships
      • Changed errors for endpoint GET /authorization/organizations/{organization_id}/resources/{resource_type_slug}/{external_id}/role_assignments
      • Changed errors for endpoint GET /authorization/resources
      • Changed errors for endpoint POST /authorization/resources
      • Changed errors for endpoint GET /authorization/resources/{resource_id}
      • Changed errors for endpoint PATCH /authorization/resources/{resource_id}
      • Changed errors for endpoint GET /authorization/resources/{resource_id}/organization_memberships
      • Changed errors for endpoint GET /authorization/resources/{resource_id}/role_assignments
    • directory_sync:
      • Added model DirectorySyncResponse
      • Added model DirectorySyncRateLimitError
      • Added endpoint POST /directories/{id}/sync
    • feature_flags:
      • Changed errors for endpoint PUT /feature-flags/{slug}/disable
      • Changed errors for endpoint PUT /feature-flags/{slug}/enable
    • organization_membership:
      • Changed errors for endpoint DELETE /user_management/organization_memberships/{id}
    • organizations:
      • Changed errors for endpoint GET /organizations/{id}/audit_logs_retention
      • Changed errors for endpoint PUT /organizations/{id}/audit_logs_retention
      • Changed errors for endpoint POST /organizations/{organization_id}/it_contacts/{contact_id}/invite
    • pipes:
      • Added established_by_user_id to ConnectedAccountWriteResponse
      • Added state_reason to ConnectedAccountWriteResponse
      • Added established_by_user_id to ConnectedAccount
      • Added state_reason to ConnectedAccount
      • Added established_by_user_id to DataIntegrationsListResponseDataConnectedAccount
      • Added state_reason to DataIntegrationsListResponseDataConnectedAccount
      • Changed idempotency-key contract for endpoint POST /data-integrations/{slug}/api-key
      • Changed idempotency-key contract for endpoint POST /data-integrations/{slug}/client-credentials
      • Changed idempotency-key contract for endpoint POST /organizations/{organization_id}/connected_accounts/{slug}
      • Changed idempotency-key contract for endpoint POST /user_management/users/{user_id}/connected_accounts/{slug}
      • Added model ConnectedAccountWriteResponse
      • Added model ConnectedAccountWriteResponseWarning
      • Added account_display_name to CreateOrganizationConnectedAccount
      • Added account_identifier to CreateOrganizationConnectedAccount
      • Added account_display_name to OrganizationConnectedAccount
      • Added account_identifier to OrganizationConnectedAccount
      • Added account_display_name to CreateConnectedAccount
      • Added account_identifier to CreateConnectedAccount
      • Added account_display_name to ConnectedAccountInput
      • Added account_identifier to ConnectedAccountInput
      • Added account_display_name to DataIntegrationsCreateApiKeyConnectionRequest
      • Added account_identifier to DataIntegrationsCreateApiKeyConnectionRequest
      • Added account_display_name to DataIntegrationsUpsertApiKeyRequest
      • Added account_identifier to DataIntegrationsUpsertApiKeyRequest
      • Added account_display_name to ReauthorizeDataIntegrationsUpsertApiKeyRequest
      • Added account_identifier to ReauthorizeDataIntegrationsUpsertApiKeyRequest
      • Added account_display_name to DataIntegrationsUpsertApiKeyRequest2
      • Added account_identifier to DataIntegrationsUpsertApiKeyRequest2
      • Added account_display_name to DataIntegrationsGetDataIntegrationAuthorizeUrlRequest
      • Added account_display_name to AddDataIntegrationsGetDataIntegrationAuthorizeUrlRequest
      • Added account_display_name to ReauthorizeDataIntegrationsGetDataIntegrationAuthorizeUrlRequest
      • Added account_display_name to DataIntegrationsCreateClientCredentialsConnectionRequest
      • Added account_identifier to DataIntegrationsCreateClientCredentialsConnectionRequest
      • Added account_display_name to DataIntegrationsUpsertClientCredentialsRequest
      • Added account_identifier to DataIntegrationsUpsertClientCredentialsRequest
      • Added account_display_name to ReauthorizeDataIntegrationsUpsertClientCredentialsRequest
      • Added account_identifier to ReauthorizeDataIntegrationsUpsertClientCredentialsRequest
      • Added account_display_name to DataIntegrationsUpsertClientCredentialsRequest2
      • Added account_identifier to DataIntegrationsUpsertClientCredentialsRequest2
      • Added enum ConnectedAccountWriteResponseConnectionRole
      • Added enum ConnectedAccountWriteResponseAuthMethod
      • Added enum ConnectedAccountWriteResponseState
      • Changed errors for endpoint POST /data-integrations/{slug}/api-key
      • Changed errors for endpoint POST /data-integrations/{slug}/authorize
      • Changed errors for endpoint POST /data-integrations/{slug}/client-credentials
      • Added model AddDataIntegrationsGetDataIntegrationAuthorizeUrlRequest
      • Added model `ReauthorizeDataIntegrationsGetDataIntegrationAuthoriz...
Read more

v10.5.0

Choose a tag to compare

@workos-sdk-automation workos-sdk-automation released this 24 Sep 14:23
83af6f5
  • #734 feat(generated): regenerate from spec

    Features

    • user_management:
      • Added model UserRoleAssignmentSourceGroup
      • Added group to UserRoleAssignmentSource

v10.4.0

Choose a tag to compare

@workos-sdk-automation workos-sdk-automation released this 18 Sep 13:34
caa5501

Features

  • Add optional jwt_issuer option for session token validation (#725) (70987c7)
  • switch default HTTP client to httpx2 and accept a custom http_client (#731) (ce01fae)

Bug Fixes

  • reject empty and dot path segments before building request URLs (#728) (21735d2)

  • #723 fix(generated): regenerate from spec

    Features

    • pipes:
      • Added connected_account_id to DataIntegrationsVendCredentialsRequest
      • Added connected_account_id to DataIntegrationsGetUserTokenRequest
      • Added parameter UserManagementDataProviders.getUserDataInstallation.connected_account_id
      • Changed errors for endpoint GET /user_management/users/{user_id}/connected_accounts/{slug}
      • Added parameter UserManagementDataProviders.updateUserDataInstallation.connected_account_id
      • Changed errors for endpoint PUT /user_management/users/{user_id}/connected_accounts/{slug}
      • Added parameter UserManagementDataProviders.deleteUserDataInstallation.connected_account_id
      • Changed errors for endpoint DELETE /user_management/users/{user_id}/connected_accounts/{slug}
      • Added connected_accounts to DataIntegrationsListResponseData
      • Changed errors for endpoint PUT /data-integrations/{slug}
      • Changed errors for endpoint PUT /data-integrations/{slug}/api-key
      • Changed errors for endpoint PUT /data-integrations/{slug}/client-credentials
      • Changed errors for endpoint POST /data-integrations/{slug}/credentials
      • Changed errors for endpoint POST /data-integrations/{provider}/token
  • #727 feat(generated): regenerate from spec (4 changes)

    Features

    • admin_portal:
      • Changed the format of PortalLinkResponse.link
    • agents:
      • Added parameter AgentsSessions.list.organization_id
      • Changed the format of ClaimViewResponse.user_code
      • Changed the format of AgentAdminValidateCredentialRequest.credential
    • api_keys:
      • Changed the format of ValidateApiKey.value
      • Changed the format of OrganizationApiKeyWithValue.value
      • Changed the format of UserApiKeyWithValue.value
    • multi_factor_auth:
      • Changed the format of AuthenticationChallenge.code
      • Changed the format of AuthenticationFactorEnrolledTotp.secret
      • Changed the format of AuthenticationFactorEnrolledTotp.qr_code
      • Changed the format of AuthenticationFactorEnrolledTotp.uri
      • Changed the format of AuthenticationChallengesVerifyRequest.code
    • pipes:
      • Added supports_multiple_connections to DataIntegrationsVendCredentialsRequest
      • Added supports_multiple_connections to DataIntegrationsGetUserTokenRequest
      • Added parameter UserManagementDataProviders.getUserDataInstallation.supports_multiple_connections
      • Added parameter UserManagementDataProviders.updateUserDataInstallation.supports_multiple_connections
      • Added parameter UserManagementDataProviders.deleteUserDataInstallation.supports_multiple_connections
      • Added parameter UserManagementDataProviders.getUserDataIntegrations.supports_multiple_connections
      • Added enum PipesOwnership
      • Added user to CreateDataIntegrationOwnership
      • Added user to DataIntegrationOwnership
      • Added endpoint GET /data-integrations/{slug}/organization
      • Added endpoint PUT /data-integrations/{slug}/organization
      • Added endpoint DELETE /data-integrations/{slug}/organization
      • Added parameter Pipes.listDataIntegrations.ownership
      • Changed errors for endpoint GET /data-integrations
      • Changed errors for endpoint PUT /user_management/users/{user_id}/connected_accounts/{slug}
      • Changed errors for endpoint DELETE /user_management/users/{user_id}/connected_accounts/{slug}
      • Changed the format of DataIntegrationCredentialsResponseCredential.value
      • Added connection_owner to DataIntegrationsUpsertApiKeyRequest
      • Added connection_owner to DataIntegrationsUpsertClientCredentialsRequest
      • Added enum DataIntegrationsUpsertApiKeyRequestConnectionOwner
      • Added enum DataIntegrationsUpsertClientCredentialsRequestConnectionOwner
      • Added model AccountSelectionRequiredError
      • Added connected_account_id to DataIntegrationsUpsertApiKeyRequest
      • Added connected_account_id to DataIntegrationsUpsertClientCredentialsRequest
      • Added ownership to CreateDataIntegration
      • Added ownership to DataIntegration
      • Added connection_owner to DataIntegrationsVendCredentialsRequest
      • Added connection_owner to DataIntegrationsGetUserTokenRequest
      • Added enum CreateDataIntegrationOwnership
      • Added enum DataIntegrationOwnership
      • Added enum DataIntegrationsVendCredentialsRequestConnectionOwner
      • Added enum DataIntegrationsGetUserTokenRequestConnectionOwner
      • Changed errors for endpoint POST /data-integrations/{slug}/credentials
      • Changed errors for endpoint POST /data-integrations/{provider}/token
    • sso:
      • Changed the format of CreateConnectionKeyPair.key
      • Changed the format of TokenQuery.code
      • Changed the format of SSOLogoutAuthorizeResponse.logout_url
    • user_management:
      • Added model CreateAuthkitOAuthResource
      • Added model AuthkitOAuthResource
      • Added service UserManagementAuthkitOAuthResources
      • Changed the format of DeviceAuthorizationResponse.verification_uri_complete
      • Changed the format of VerifyEmailAddress.code
      • Changed the format of ConfirmEmailChange.code
      • Changed the format of MagicAuth.code
      • Changed the format of UserInvite.accept_invitation_url
      • Changed the format of EmailVerification.code
      • Changed the format of PasswordReset.password_reset_url
      • Changed the format of AuthenticateResponse.authkit_authorization_code
      • Changed the format of DeviceAuthorizationResponse.device_code
      • Changed the format of DeviceAuthorizationResponse.user_code
      • Changed the format of AuthorizationCodeSessionAuthenticateRequest.code
      • Changed the format of AuthorizationCodeSessionAuthenticateRequest.code_verifier
      • Changed the format of MagicAuthCodeSessionAuthenticateRequest.code
      • Changed the format of EmailVerificationCodeSessionAuthenticateRequest.code
      • Changed the format of MfaTotpSessionAuthenticateRequest.code
      • Changed the format of RadarEmailChallengeCodeSessionAuthenticateRequest.code
      • Changed the format of RadarSmsChallengeCodeSessionAuthenticateRequest.code
      • Changed the format of DeviceCodeSessionAuthenticateRequest.device_code
      • Changed the format of Invitation.accept_invitation_url
      • Changed the format of MagicAuthSendMagicAuthCodeAndReturnResponse.code
    • radar:
      • Changed the format of RadarChallenge.code
    • vault:
      • Changed the format of CreateObjectRequest.value
      • Changed the format of VaultObject.value
      • Changed the format of UpdateObjectRequest.value

    Fixes

    • pipes:
      • Removed userland_user from CreateDataIntegrationOwnership
      • Removed userland_user from DataIntegrationOwnership
      • Changed errors for endpoint POST /user_management/users/{user_id}/connected_accounts/{slug}
      • Changed errors for endpoint PUT /data-integrations/{slug}/api-key
      • Changed errors for endpoint PUT /data-integrations/{slug}/client-credentials
      • Changed errors for endpoint POST /data-integrations/{slug}/credentials
      • Changed errors for endpoint POST /data-integrations/{provider}/token
      • Changed errors for endpoint GET /user_management/users/{user_id}/connected_accounts/{slug}
      • Changed errors for endpoint PUT /user_management/users/{user_id}/connected_accounts/{slug}
      • Changed errors for endpoint DELETE /user_management/users/{user_id}/connected_accounts/{slug}
      • Changed the type of DataIntegrationInstallation.user_id
  • #732 fix(generated): regenerate from spec (1 change)

    Features

    • multi_factor_auth:
      • Changed errors for endpoint POST /auth/factors/{id}/challenge
    • pipes:
      • Added connection_owner to DataIntegrationsListResponseData
      • Added enum DataIntegrationsListResponseDataConnectionOwner
      • Added connection_role to DataIntegrationsListResponseDataConnectedAccount
      • Added account_identifier to DataIntegrationsListResponseDataConnectedAccount
      • Added account_display_name to DataIntegrationsListResponseDataConnectedAccount
      • Added enum DataIntegrationsListResponseDataConnectedAccountConnectionRole
      • Added connection_role to DataIntegrationInstallation
      • Added account_identifier to DataIntegrationInstallation
      • Added account_display_name to DataIntegrationInstallation
      • Added...
Read more

v10.3.0

Choose a tag to compare

@workos-sdk-automation workos-sdk-automation released this 01 Sep 22:16
7aa6894
  • #719 feat(generated)!: regenerate from spec (6 changes)

    ⚠️ Breaking

    • agents:
      • Removed service Agents
    • sso:
      • Removed model TokenBody
      • Removed enum TokenBodyGrantType
      • Removed model TokenQuery
      • Changed parameter SSO.token.grant_type

    Features

    • agents:
      • Added model AgentBlueprint
      • Added model AgentInstance
      • Added model AgentToken
      • Added model AgentInstanceSession
      • Added model AgentBlueprintInvocableBy
      • Added model AgentBlueprintSessionSetting
      • Added model AgentBlueprintsCreateRequest
      • Added model AgentBlueprintsCreateRequestInvocableBy
      • Added model AgentBlueprintsCreateRequestSessionSetting
      • Added model AgentBlueprintsUpdateRequest
      • Added model AgentBlueprintsUpdateRequestInvocableBy
      • Added model AgentBlueprintsUpdateRequestSessionSetting
      • Added model AgentBlueprintsTokenMintTokenRequest
      • Added enum AgentInstanceType
      • Added enum AgentInstanceSessionStatus
      • Added enum AgentBlueprintsTokenMintTokenRequestType
    • agents_blueprints:
      • Added service AgentsBlueprints
    • agents_blueprints_tokens:
      • Added service AgentsBlueprintsTokens
    • agents_instances:
      • Added service AgentsInstances
    • agents_registrations:
      • Added service AgentsRegistrations
    • agents_sessions:
      • Added service AgentsSessions
    • organizations:
      • Added retention_period to UpdateAuditLogsRetention
      • Made UpdateAuditLogsRetention.retention_period_in_days optional
      • Added enum UpdateAuditLogsRetentionRetentionPeriod
      • Added model CreateItContact
      • Added model InviteItContact
      • Added model ItContact
      • Added model ItContactList
      • Added model ItContactListListMetadata
      • Added enum InviteItContactIntents
      • Added service OrganizationsItContacts
    • platform_teams:
      • Added model CreateTeam
      • Added model Team
      • Added enum TeamProductionState
      • Added service PlatformTeams
    • sso:
      • Added model TokenQuery
      • Added enum TokenQueryGrantType
      • Added model CreateConnectionKeyPair
      • Added model CreateConnectionSAMLOptions
      • Added model CreateConnectionOidcOptions
      • Added model CreateConnectionStandardAttributes
      • Added model CreateConnectionAttributeMaps
      • Added model CreateConnection
      • Added model PatchConnectionSAMLOptions
      • Added model PatchConnectionOidcOptions
      • Added model PatchConnectionStandardAttributes
      • Added model PatchConnectionAttributeMaps
      • Added model PatchConnection
      • Added model CreateSAMLIdpSigningCertificate
      • Added model SAMLIdpSigningCertificate
      • Added model SAMLIdpSigningCertificateList
      • Added model SAMLSpEncryptionCertificate
      • Added model SAMLSpEncryptionCertificateList
      • Added model SAMLSpSigningCertificate
      • Added enum CreateConnectionOidcOptionsIdTokenSignatureAlgorithm
      • Added enum PatchConnectionOidcOptionsIdTokenSignatureAlgorithm
      • Added endpoint POST /connections
      • Added endpoint GET /connections/{connectionId}/saml_idp_signing_certs
      • Added endpoint POST /connections/{connectionId}/saml_idp_signing_certs
      • Added endpoint DELETE /connections/{connectionId}/saml_idp_signing_certs/{certificateId}
      • Added endpoint GET /connections/{connectionId}/saml_sp_encryption_certs
      • Added endpoint POST /connections/{connectionId}/saml_sp_encryption_certs
      • Added endpoint DELETE /connections/{connectionId}/saml_sp_encryption_certs/{certificateId}
      • Added endpoint GET /connections/{connectionId}/saml_sp_signing_cert
      • Added endpoint POST /connections/{connectionId}/saml_sp_signing_cert
      • Added endpoint DELETE /connections/{connectionId}/saml_sp_signing_cert/{certificateId}
      • Added endpoint PATCH /connections/{id}
      • Added model TokenBody
      • Added enum TokenBodyGrantType
      • Added enum SSOGrantType
      • Changed required status for parameter SSO.token.code
    • user_management:
      • Added enum CreateConnectionOidcOptionsTokenAuthenticationMethod
      • Added enum PatchConnectionOidcOptionsTokenAuthenticationMethod
      • Added model EmailCompletionSessionAuthenticateRequest
      • Added model CreateWaitlistEntry
      • Added model Waitlist
      • Added model WaitlistEntry
      • Added enum WaitlistEntryState
      • Added enum UserManagementWaitlistsState
      • Added service UserManagementWaitlists
    • webhooks:
      • Added agent.instance.created to CreateWebhookEndpointEvents
      • Added agent.instance.deleted to CreateWebhookEndpointEvents
      • Added agent.instance.session.created to CreateWebhookEndpointEvents
      • Added agent.instance.session.revoked to CreateWebhookEndpointEvents
      • Added agent.instance.created to UpdateWebhookEndpointEvents
      • Added agent.instance.deleted to UpdateWebhookEndpointEvents
      • Added agent.instance.session.created to UpdateWebhookEndpointEvents
      • Added agent.instance.session.revoked to UpdateWebhookEndpointEvents
      • Added agent.blueprint.created to CreateWebhookEndpointEvents
      • Added agent.blueprint.deleted to CreateWebhookEndpointEvents
      • Added agent.blueprint.updated to CreateWebhookEndpointEvents
      • Added agent.blueprint.created to UpdateWebhookEndpointEvents
      • Added agent.blueprint.deleted to UpdateWebhookEndpointEvents
      • Added agent.blueprint.updated to UpdateWebhookEndpointEvents

    Fixes

    • sso:
      • Changed request body of SSO.token from TokenBody to TokenQuery
      • Removed DiscordOAuth from ConnectionType
      • Removed GrokOAuth from ConnectionType
      • Removed XOAuth from ConnectionType
      • Removed DiscordOAuth from ProfileConnectionType
      • Removed GrokOAuth from ProfileConnectionType
      • Removed XOAuth from ProfileConnectionType
      • Removed DiscordOAuth from ConnectionsConnectionType
      • Removed GrokOAuth from ConnectionsConnectionType
      • Removed XOAuth from ConnectionsConnectionType
      • Changed request body of SSO.token from TokenQuery to TokenBody
    • user_management:
      • Changed request body for UserManagementAuthentication.authenticate
      • Changed errors for endpoint POST /user_management/authenticate
      • Removed DiscordOAuth from AuthenticateResponseAuthenticationMethod
      • Removed GrokOAuth from AuthenticateResponseAuthenticationMethod
      • Removed XOAuth from AuthenticateResponseAuthenticationMethod
      • Removed DiscordOAuth from UserIdentitiesGetItemProvider
      • Removed GrokOAuth from UserIdentitiesGetItemProvider
      • Removed XOAuth from UserIdentitiesGetItemProvider
      • Changed errors for endpoint DELETE /user_management/users/{id}
  • #722 fix(generated): regenerate from spec

    Features

    • agents:
      • Made AgentBlueprintsCreateRequest.session_settings optional
      • Added model AgentTokenValidation
      • Added model AgentBlueprintsTokenValidateTokenRequest
    • agents_blueprints_tokens:
      • Added endpoint POST /agents/blueprints/{agent_blueprint_id}/tokens/validate

v4.16.0

Choose a tag to compare

@gjtorikian gjtorikian released this 21 Aug 20:10
494f4b4

What's Changed

  • feat: add get_profile_and_token_from_id_token for OIDC ID token exchange (4.16.0 backport) by @jonatascastro12 in #714

Full Changelog: v4.15.0...v4.16.0

v10.2.0

Choose a tag to compare

@workos-sdk-automation workos-sdk-automation released this 11 Aug 22:04
503bb46
  • #710 feat(generated)!: regenerate from spec (3 changes)

    ⚠️ Breaking

    • events:
      • Changed required status for parameter Events.list.events

    Features

    • groups:
      • Added parameter Groups.list.search
    • connect:
      • Added client_id to ConnectedAccount
      • Added client_secret_last_4 to ConnectedAccount
      • Added config to ConnectedAccount
    • pipes:
      • Added client_id to DataIntegrationsListResponseDataConnectedAccount
      • Added client_secret_last_4 to DataIntegrationsListResponseDataConnectedAccount
      • Added config to DataIntegrationsListResponseDataConnectedAccount
      • Changed errors for endpoint POST /data-integrations/{slug}/credentials
      • Made CustomProviderDefinition.authorization_url optional
      • Made CustomProviderDefinition.token_url optional
      • Added model DataIntegrationsUpsertClientCredentialsRequest
      • Added client_credentials to CreateDataIntegrationAuthMethods
      • Added endpoint PUT /data-integrations/{slug}/client-credentials
    • sso:
      • Added XOAuth to ConnectionType
      • Added XOAuth to ProfileConnectionType
      • Added XOAuth to ConnectionsConnectionType
      • Added GrokOAuth to ConnectionType
      • Added GrokOAuth to ProfileConnectionType
      • Added GrokOAuth to ConnectionsConnectionType
    • user_management:
      • Changed errors for endpoint DELETE /user_management/users/{id}
      • Added password_salt_position to CreateUser
      • Added password_salt_position to UpdateUser
      • Made RadarSmsChallengeCodeSessionAuthenticateRequest.verification_id optional
      • Made RadarSmsChallengeCodeSessionAuthenticateRequest.phone_number optional
      • Added enum CreateUserPasswordSaltPosition
      • Added enum UpdateUserPasswordSaltPosition
      • Added XOAuth to AuthenticateResponseAuthenticationMethod
      • Added XOAuth to UserIdentitiesGetItemProvider
      • Added GrokOAuth to AuthenticateResponseAuthenticationMethod
      • Added GrokOAuth to UserIdentitiesGetItemProvider
    • webhooks:
      • Added agent.registration.refreshed to CreateWebhookEndpointEvents
      • Added agent.registration.refreshed to UpdateWebhookEndpointEvents

    Fixes

    • pipes:
      • Changed the type of DataIntegration.credentials
    • user_management:
      • Changed errors for endpoint POST /user_management/authenticate
      • Changed errors for endpoint POST /user_management/users
      • Changed errors for endpoint PUT /user_management/users/{id}

v10.1.1

Choose a tag to compare

@workos-sdk-automation workos-sdk-automation released this 04 Aug 15:16
b94e0e1

Bug Fixes