-beta.* suffix, for example, 3.2.0-beta.1. For more information on how to use the beta versions, refer to the README in the GitHub repository.#388 feat(generated)!: regenerate from spec (13 changes)
⚠️ Breaking
WorkOS.vaultlistObjects → listKv, createObject → createKv, readObject/readObjectByName → getKv/getName, getObjectMetadata → listKvMetadata, updateObject → updateKv, deleteObject → deleteKv, listObjectVersions → listKvVersions, decryptDataKey → createDecryptcreateRekeyVault.kt: DataKey, DataKeyPair, VaultObject, ObjectDigest, ObjectUpdateBy, ObjectMetadata, ObjectVersion, and KeyContext type alias — replaced by generated models in com.workos.models.*encrypt and decrypt helper methods are preservedUserManagement: listOrganizationMemberships, createOrganizationMembership, getOrganizationMembership, updateOrganizationMembership, deleteOrganizationMembership, deactivateOrganizationMembership, reactivateOrganizationMembershipOrganizationMembershipService as list, create, get, update, delete, deactivate, reactivateCreateUserRole class from UserManagement (now in OrganizationMembershipService)UserManagementOrganizationMembershipGroups class and its packageWorkOS.userManagementOrganizationMembershipGroups to WorkOS.organizationMembershipsearch parameter from listResources method and related variantssearch parameter from listResourcesById, listResourcesByExternalId, and their suspend variantslistRoleAssignments: resourceId, resourceExternalId, resourceTypeSluglistRoleAssignmentsForResourceByExternalId: roleSluglistRoleAssignmentsForResource: roleSlugdeviceFingerprint parameter from Radar.createAttempt and createAttemptSuspendbotScore parameter from Radar.createAttempt and createAttemptSuspendRadarStandaloneAssessRequest model to remove device_fingerprint and bot_score fieldsLogin, Signup, SignUp2, SignIn2, SignIn3, SignUp3SignUp value from 'sign up' to 'sign-up'SignIn value from 'sign in' to 'sign-in'CredentialStuffing enum valueIpSignUpRateLimit enum valueAuditLogActionJson to AuditLogActionAuditLogExportJson to AuditLogExportAuditLogsRetentionJson to AuditLogsRetentionAuditLogSchemaJson; its fields (version, createdAt, objectType) were absorbed into AuditLogSchemaAuditLogSchemaJsonActor to AuditLogSchemaActorInputAuditLogSchemaJsonTarget to AuditLogSchemaTargetInputAuditLogSchemaInput model for create/update operationsAuditLogs.createSchema parameter types from AuditLogSchemaTarget/AuditLogSchemaActor to AuditLogSchemaTargetInput/AuditLogSchemaActorInputAuditLogs serviceWebhookEndpointJson to WebhookEndpointWebhookEndpointJsonStatus to WebhookEndpointStatusUpdateWebhookEndpointStatus to alias the renamed status enumstatus in updateEndpoint methodApplicationCredentialsListItem.last_used_at field type from String? to OffsetDateTime?NewConnectApplicationSecret.last_used_at field type from String? to OffsetDateTime?FlagRuleUpdatedContextConfiguredTargetOrganization to be an alias for ActorFlagRuleUpdatedContextPreviousAttributeContextConfiguredTargetOrganization to be an alias for ActorUserManagementAuthenticationScreenHint to be an alias for RadarStandaloneAssessRequestActionFeatures
OrganizationMembershipService providing organization membership managementlist, create, get, update, delete, deactivate, reactivate operations for membershipslistGroups operation to list groups for a membershipWorkOS.vault accessor and new operations
WorkOS.vault (previously not exposed on the WorkOS class)createDataKey, createDecrypt, createRekeylistKv, createKv, getName, getKv, updateKv, deleteKv, listKvMetadata, listKvVersionsexpires_at field to ApiKey, OrganizationApiKey, OrganizationApiKeyWithValue, UserApiKey, UserApiKeyWithValue modelsexpires_at optional parameter to createOrganizationApiKey method in ApiKeys serviceexpires_at optional parameter to createApiKey method in UserManagement serviceexpires_at field to request models: CreateOrganizationApiKey, CreateUserApiKeyexpires_at field to event data models: ApiKeyCreatedData, ApiKeyRevokedDataPIPES_CONNECTED_ACCOUNT_CONNECTED, PIPES_CONNECTED_ACCOUNT_DISCONNECTED, PIPES_CONNECTED_ACCOUNT_REAUTHORIZATION_NEEDEDCreateWebhookEndpointEvents and UpdateWebhookEndpointEvents enumsPipesConnectedAccountConnected, PipesConnectedAccountDisconnected, PipesConnectedAccountReauthorizationNeededCreateDataKeyRequest, CreateDataKeyResponse, CreateObjectRequest, DecryptRequest, DecryptResponse, DeleteObjectResponse, RekeyRequest, UpdateObjectRequestObject, ObjectMetadata, ObjectSummary, ObjectVersion, ObjectWithoutValue, VersionListResponse, ListMetadataActor, ErrorResponseConnectApplicationM2M, ConnectApplicationOAuth, ConnectApplicationOAuthRedirectUrisPipeConnectedAccountStateSortOrderPipeConnectedAccount, PipesConnectedAccountConnected, PipesConnectedAccountDisconnected, PipesConnectedAccountReauthorizationNeededWorkOSEvent to include new Pipes webhook event typesOkHttpClientWorkOS clients with constructor-based configuration instead of mutating apiHostname, https, or portPortalApi -> AdminPortal, MfaApi -> MultiFactorAuth, and FgaApi -> AuthorizationWebhook helper while keeping webhook endpoint management on the Webhooks servicePlease read the v5 migration guide before upgrading: https://github.com/workos/workos-kotlin/blob/v5.0.0/docs/V5_MIGRATION_GUIDE.md
Full Changelog: v4.25.0...v5.0.0
In this version, the package semver was not updated properly and still references v4.17.0
roles property to directory user and SSO profile by @kendallstrautman in #302Full Changelog: v4.17.0...v4.18.0
Full Changelog: v4.16.0...v4.17.0
Full Changelog: v4.15.0...v4.16.0
password_reset.succeeded event type (#273)Full Changelog: v4.10.0...v4.11.0
returnTo parameter to getLogoutUrl (#264)Full Changelog: v4.7.0...v4.8.0
Full Changelog: v4.6.1...v4.7.0
role attribute optional on directorysync.models.User by @jonatascastro12 in #259Full Changelog: v4.6.0...v4.6.1
Full Changelog: v4.5.0...v4.6.0
role to directory user by @kendallstrautman in #254Full Changelog: v4.4.0...v4.5.0
ProfileRole property in #252Full Changelog: v4.3.1...v4.4.0
authentication.sso_failed and authentication.oauth_failed events (#248)