@distilled.cloud/workos 0.19.2 → 0.20.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.
- package/lib/credentials.d.ts +1 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +2 -2
- package/lib/credentials.js.map +1 -1
- package/lib/operations/ApplicationCredentialsControllerCreate.d.ts +4 -4
- package/lib/operations/ApplicationCredentialsControllerList.d.ts +3 -3
- package/lib/operations/ApplicationsControllerCreate.d.ts +3 -3
- package/lib/operations/ApplicationsControllerFind.d.ts +3 -3
- package/lib/operations/ApplicationsControllerList.d.ts +6 -6
- package/lib/operations/ApplicationsControllerUpdate.d.ts +6 -6
- package/lib/operations/AuditLogEventsControllerCreate.d.ts +10 -10
- package/lib/operations/AuditLogExportsControllerExport.d.ts +3 -3
- package/lib/operations/AuditLogExportsControllerExports.d.ts +8 -8
- package/lib/operations/AuditLogValidatorVersionsControllerCreate.d.ts +9 -9
- package/lib/operations/AuditLogValidatorVersionsControllerSchemas.d.ts +13 -13
- package/lib/operations/AuditLogValidatorsControllerList.d.ts +15 -15
- package/lib/operations/AuthenticationChallengesControllerVerify.d.ts +5 -5
- package/lib/operations/AuthenticationFactorsControllerChallenge.d.ts +4 -4
- package/lib/operations/AuthenticationFactorsControllerCreate.d.ts +7 -7
- package/lib/operations/AuthenticationFactorsControllerGet.d.ts +4 -4
- package/lib/operations/AuthorizationControllerListEffectivePermissions.d.ts +10 -10
- package/lib/operations/AuthorizationControllerListEffectivePermissionsByExternalId.d.ts +11 -11
- package/lib/operations/AuthorizationControllerListResourcesForMembership.d.ts +11 -11
- package/lib/operations/AuthorizationOrganizationRolePermissionsControllerAddPermission.d.ts +6 -6
- package/lib/operations/AuthorizationOrganizationRolePermissionsControllerRemovePermission.d.ts +7 -7
- package/lib/operations/AuthorizationOrganizationRolePermissionsControllerSetPermissions.d.ts +7 -7
- package/lib/operations/AuthorizationOrganizationRolesControllerCreate.d.ts +9 -9
- package/lib/operations/AuthorizationOrganizationRolesControllerGet.d.ts +6 -6
- package/lib/operations/AuthorizationOrganizationRolesControllerList.d.ts +7 -7
- package/lib/operations/AuthorizationOrganizationRolesControllerUpdate.d.ts +8 -8
- package/lib/operations/AuthorizationPermissionsControllerCreate.d.ts +7 -7
- package/lib/operations/AuthorizationPermissionsControllerFind.d.ts +5 -5
- package/lib/operations/AuthorizationPermissionsControllerList.d.ts +8 -8
- package/lib/operations/AuthorizationPermissionsControllerUpdate.d.ts +7 -7
- package/lib/operations/AuthorizationResourcesByExternalIdControllerDeleteByExternalId.d.ts +2 -2
- package/lib/operations/AuthorizationResourcesByExternalIdControllerGetByExternalId.d.ts +6 -6
- package/lib/operations/AuthorizationResourcesByExternalIdControllerListOrganizationMembershipsForResourceByExternalId.d.ts +15 -15
- package/lib/operations/AuthorizationResourcesByExternalIdControllerUpdateByExternalId.d.ts +8 -8
- package/lib/operations/AuthorizationResourcesControllerCreate.d.ts +7 -7
- package/lib/operations/AuthorizationResourcesControllerDelete.d.ts +1 -1
- package/lib/operations/AuthorizationResourcesControllerFindById.d.ts +5 -5
- package/lib/operations/AuthorizationResourcesControllerList.d.ts +11 -11
- package/lib/operations/AuthorizationResourcesControllerListOrganizationMembershipsForResource.d.ts +13 -13
- package/lib/operations/AuthorizationResourcesControllerUpdate.d.ts +7 -7
- package/lib/operations/AuthorizationRoleAssignmentsControllerAssignRole.d.ts +6 -6
- package/lib/operations/AuthorizationRoleAssignmentsControllerListRoleAssignments.d.ts +10 -10
- package/lib/operations/AuthorizationRolePermissionsControllerAddPermission.d.ts +6 -6
- package/lib/operations/AuthorizationRolePermissionsControllerSetPermissions.d.ts +7 -7
- package/lib/operations/AuthorizationRolesControllerCreate.d.ts +8 -8
- package/lib/operations/AuthorizationRolesControllerGet.d.ts +6 -6
- package/lib/operations/AuthorizationRolesControllerList.d.ts +7 -7
- package/lib/operations/AuthorizationRolesControllerUpdate.d.ts +8 -8
- package/lib/operations/AuthorizedApplicationsControllerList.d.ts +11 -11
- package/lib/operations/ConnectionsControllerFind.d.ts +8 -8
- package/lib/operations/ConnectionsControllerList.d.ts +13 -13
- package/lib/operations/CorsOriginsControllerCreateCorsOrigin.d.ts +2 -2
- package/lib/operations/DataIntegrationsControllerGetDataIntegrationAuthorizeUrl.d.ts +2 -2
- package/lib/operations/DataIntegrationsControllerGetUserlandUserToken.d.ts +1 -1
- package/lib/operations/DataIntegrationsUserManagementControllerDeleteUserDataInstallation.d.ts +2 -2
- package/lib/operations/DataIntegrationsUserManagementControllerGetUserDataInstallation.d.ts +5 -5
- package/lib/operations/DataIntegrationsUserManagementControllerGetUserDataIntegrations.d.ts +14 -14
- package/lib/operations/DirectoriesControllerFind.d.ts +9 -9
- package/lib/operations/DirectoriesControllerList.d.ts +13 -13
- package/lib/operations/DirectoryGroupsControllerFind.d.ts +4 -4
- package/lib/operations/DirectoryGroupsControllerList.d.ts +8 -8
- package/lib/operations/DirectoryUsersControllerFind.d.ts +25 -25
- package/lib/operations/DirectoryUsersControllerList.d.ts +30 -30
- package/lib/operations/EventsControllerList.d.ts +12 -12
- package/lib/operations/ExternalAuthControllerCompleteLogin.d.ts +5 -5
- package/lib/operations/FeatureFlagsControllerDisableFlag.d.ts +6 -6
- package/lib/operations/FeatureFlagsControllerEnableFlag.d.ts +6 -6
- package/lib/operations/FeatureFlagsControllerFindBySlug.d.ts +6 -6
- package/lib/operations/FeatureFlagsControllerList.d.ts +9 -9
- package/lib/operations/GroupMembershipsControllerAddMember.d.ts +5 -5
- package/lib/operations/GroupMembershipsControllerListMembers.d.ts +13 -13
- package/lib/operations/GroupMembershipsControllerRemoveMember.d.ts +1 -1
- package/lib/operations/GroupsControllerCreate.d.ts +6 -6
- package/lib/operations/GroupsControllerDelete.d.ts +1 -1
- package/lib/operations/GroupsControllerGet.d.ts +5 -5
- package/lib/operations/GroupsControllerList.d.ts +8 -8
- package/lib/operations/GroupsControllerUpdate.d.ts +6 -6
- package/lib/operations/JwtTemplatesControllerUpdateJwtTemplate.d.ts +1 -1
- package/lib/operations/OrganizationApiKeysControllerCreate.d.ts +7 -7
- package/lib/operations/OrganizationApiKeysControllerList.d.ts +10 -10
- package/lib/operations/OrganizationDomainsControllerCreate.d.ts +5 -5
- package/lib/operations/OrganizationDomainsControllerGet.d.ts +5 -5
- package/lib/operations/OrganizationDomainsControllerVerify.d.ts +5 -5
- package/lib/operations/OrganizationFeatureFlagsControllerList.d.ts +10 -10
- package/lib/operations/OrganizationMembershipGroupsControllerListGroups.d.ts +8 -8
- package/lib/operations/OrganizationsControllerCreate.d.ts +14 -14
- package/lib/operations/OrganizationsControllerFind.d.ts +11 -11
- package/lib/operations/OrganizationsControllerGetAuditLogConfiguration.d.ts +6 -6
- package/lib/operations/OrganizationsControllerGetByExternalId.d.ts +11 -11
- package/lib/operations/OrganizationsControllerList.d.ts +15 -15
- package/lib/operations/OrganizationsControllerUpdateOrganization.d.ts +16 -16
- package/lib/operations/PortalSessionsControllerCreate.d.ts +6 -6
- package/lib/operations/RadarStandaloneControllerAssess.d.ts +8 -8
- package/lib/operations/RadarStandaloneControllerDeleteRadarListEntry.d.ts +1 -1
- package/lib/operations/RadarStandaloneControllerUpdateRadarAttempt.d.ts +2 -2
- package/lib/operations/RadarStandaloneControllerUpdateRadarList.d.ts +1 -1
- package/lib/operations/RedirectUrisControllerCreate.d.ts +4 -4
- package/lib/operations/SsoControllerAuthorize.d.ts +7 -7
- package/lib/operations/SsoControllerGetProfile.d.ts +10 -10
- package/lib/operations/SsoControllerJsonWebKeySet.d.ts +3 -3
- package/lib/operations/SsoControllerLogoutAuthorize.d.ts +1 -1
- package/lib/operations/SsoControllerToken.d.ts +18 -18
- package/lib/operations/UserlandMagicAuthControllerGet.d.ts +5 -5
- package/lib/operations/UserlandMagicAuthControllerSendMagicAuthCodeAndReturn.d.ts +5 -5
- package/lib/operations/UserlandSessionsControllerAuthenticate.d.ts +22 -22
- package/lib/operations/UserlandSessionsControllerLogout.d.ts +1 -1
- package/lib/operations/UserlandSessionsControllerRevokeSession.d.ts +1 -1
- package/lib/operations/UserlandSsoControllerAuthorize.d.ts +10 -10
- package/lib/operations/UserlandSsoControllerDeviceAuthorization.d.ts +2 -2
- package/lib/operations/UserlandUserAuthenticationFactorsControllerCreate.d.ts +18 -18
- package/lib/operations/UserlandUserAuthenticationFactorsControllerList.d.ts +8 -8
- package/lib/operations/UserlandUserFeatureFlagsControllerList.d.ts +10 -10
- package/lib/operations/UserlandUserIdentitiesControllerGet.d.ts +1 -1
- package/lib/operations/UserlandUserInvitesControllerAccept.d.ts +10 -10
- package/lib/operations/UserlandUserInvitesControllerCreate.d.ts +12 -12
- package/lib/operations/UserlandUserInvitesControllerGet.d.ts +10 -10
- package/lib/operations/UserlandUserInvitesControllerGetByToken.d.ts +10 -10
- package/lib/operations/UserlandUserInvitesControllerList.d.ts +17 -17
- package/lib/operations/UserlandUserInvitesControllerResend.d.ts +10 -10
- package/lib/operations/UserlandUserInvitesControllerRevoke.d.ts +10 -10
- package/lib/operations/UserlandUserOrganizationMembershipsControllerCreate.d.ts +10 -10
- package/lib/operations/UserlandUserOrganizationMembershipsControllerDeactivate.d.ts +9 -9
- package/lib/operations/UserlandUserOrganizationMembershipsControllerGet.d.ts +9 -9
- package/lib/operations/UserlandUserOrganizationMembershipsControllerList.d.ts +15 -15
- package/lib/operations/UserlandUserOrganizationMembershipsControllerReactivate.d.ts +9 -9
- package/lib/operations/UserlandUserOrganizationMembershipsControllerUpdate.d.ts +9 -9
- package/lib/operations/UserlandUserSessionsControllerList.d.ts +14 -14
- package/lib/operations/UserlandUsersControllerConfirmEmailChange.d.ts +9 -9
- package/lib/operations/UserlandUsersControllerCreate.d.ts +10 -10
- package/lib/operations/UserlandUsersControllerCreatePasswordResetToken.d.ts +4 -4
- package/lib/operations/UserlandUsersControllerEmailVerification.d.ts +9 -9
- package/lib/operations/UserlandUsersControllerGet.d.ts +8 -8
- package/lib/operations/UserlandUsersControllerGetByExternalId.d.ts +8 -8
- package/lib/operations/UserlandUsersControllerGetEmailVerification.d.ts +5 -5
- package/lib/operations/UserlandUsersControllerGetPasswordReset.d.ts +4 -4
- package/lib/operations/UserlandUsersControllerList.d.ts +12 -12
- package/lib/operations/UserlandUsersControllerResetPassword.d.ts +9 -9
- package/lib/operations/UserlandUsersControllerSendEmailChange.d.ts +11 -11
- package/lib/operations/UserlandUsersControllerSendVerificationEmail.d.ts +8 -8
- package/lib/operations/UserlandUsersControllerUpdate.d.ts +12 -12
- package/lib/operations/WebhookEndpointsControllerCreate.d.ts +4 -4
- package/lib/operations/WebhookEndpointsControllerList.d.ts +7 -7
- package/lib/operations/WebhookEndpointsControllerUpdate.d.ts +6 -6
- package/lib/operations/WidgetsPublicControllerIssueWidgetSessionToken.d.ts +1 -1
- package/package.json +3 -3
- package/src/credentials.ts +2 -2
|
@@ -35,31 +35,31 @@ export type UserlandUsersControllerUpdateOutput = typeof UserlandUsersController
|
|
|
35
35
|
* @param id - The unique ID of the user.
|
|
36
36
|
*/
|
|
37
37
|
export declare const UserlandUsersControllerUpdate: import("@distilled.cloud/core/client").OperationMethod<{
|
|
38
|
+
readonly id: string;
|
|
38
39
|
readonly email?: string | undefined;
|
|
39
|
-
readonly email_verified?: boolean | undefined;
|
|
40
|
-
readonly external_id?: string | null | undefined;
|
|
41
40
|
readonly first_name?: string | undefined;
|
|
42
|
-
readonly id: string;
|
|
43
41
|
readonly last_name?: string | undefined;
|
|
44
|
-
readonly
|
|
42
|
+
readonly email_verified?: boolean | undefined;
|
|
45
43
|
readonly metadata?: {
|
|
46
44
|
readonly [x: string]: string;
|
|
47
45
|
} | null | undefined;
|
|
46
|
+
readonly external_id?: string | null | undefined;
|
|
47
|
+
readonly locale?: string | null | undefined;
|
|
48
48
|
}, {
|
|
49
|
-
readonly
|
|
49
|
+
readonly object?: string | undefined;
|
|
50
|
+
readonly id?: string | undefined;
|
|
51
|
+
readonly first_name?: string | null | undefined;
|
|
52
|
+
readonly last_name?: string | null | undefined;
|
|
53
|
+
readonly profile_picture_url?: string | null | undefined;
|
|
50
54
|
readonly email?: string | undefined;
|
|
51
55
|
readonly email_verified?: boolean | undefined;
|
|
52
56
|
readonly external_id?: string | null | undefined;
|
|
53
|
-
readonly first_name?: string | null | undefined;
|
|
54
|
-
readonly id?: string | undefined;
|
|
55
|
-
readonly last_name?: string | null | undefined;
|
|
56
|
-
readonly last_sign_in_at?: string | null | undefined;
|
|
57
|
-
readonly locale?: string | null | undefined;
|
|
58
57
|
readonly metadata?: {
|
|
59
58
|
readonly [x: string]: string;
|
|
60
59
|
} | undefined;
|
|
61
|
-
readonly
|
|
62
|
-
readonly
|
|
60
|
+
readonly last_sign_in_at?: string | null | undefined;
|
|
61
|
+
readonly locale?: string | null | undefined;
|
|
62
|
+
readonly created_at?: string | undefined;
|
|
63
63
|
readonly updated_at?: string | undefined;
|
|
64
64
|
}, BadRequest | UnprocessableEntity, import("~/credentials.ts").Credentials>;
|
|
65
65
|
//# sourceMappingURL=UserlandUsersControllerUpdate.d.ts.map
|
|
@@ -25,13 +25,13 @@ export declare const WebhookEndpointsControllerCreate: import("@distilled.cloud/
|
|
|
25
25
|
readonly endpoint_url?: string | undefined;
|
|
26
26
|
readonly events?: readonly ("api_key.created" | "api_key.revoked" | "authentication.email_verification_succeeded" | "authentication.magic_auth_failed" | "authentication.magic_auth_succeeded" | "authentication.mfa_succeeded" | "authentication.oauth_failed" | "authentication.oauth_succeeded" | "authentication.passkey_failed" | "authentication.passkey_succeeded" | "authentication.password_failed" | "authentication.password_succeeded" | "authentication.radar_risk_detected" | "authentication.sso_failed" | "authentication.sso_started" | "authentication.sso_succeeded" | "authentication.sso_timed_out" | "connection.activated" | "connection.deactivated" | "connection.deleted" | "connection.saml_certificate_renewal_required" | "connection.saml_certificate_renewed" | "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" | "flag.created" | "flag.deleted" | "flag.rule_updated" | "flag.updated" | "group.created" | "group.deleted" | "group.member_added" | "group.member_removed" | "group.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.verification_failed" | "organization_domain.verified" | "organization_membership.created" | "organization_membership.deleted" | "organization_membership.updated" | "organization_role.created" | "organization_role.deleted" | "organization_role.updated" | "password_reset.created" | "password_reset.succeeded" | "permission.created" | "permission.deleted" | "permission.updated" | "role.created" | "role.deleted" | "role.updated" | "session.created" | "session.revoked" | "user.created" | "user.deleted" | "user.updated" | "waitlist_user.approved" | "waitlist_user.created" | "waitlist_user.denied")[] | undefined;
|
|
27
27
|
}, {
|
|
28
|
-
readonly created_at?: string | undefined;
|
|
29
|
-
readonly endpoint_url?: string | undefined;
|
|
30
|
-
readonly events?: readonly string[] | undefined;
|
|
31
|
-
readonly id?: string | undefined;
|
|
32
28
|
readonly object?: string | undefined;
|
|
29
|
+
readonly id?: string | undefined;
|
|
30
|
+
readonly endpoint_url?: string | undefined;
|
|
33
31
|
readonly secret?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
34
32
|
readonly status?: "disabled" | "enabled" | undefined;
|
|
33
|
+
readonly events?: readonly string[] | undefined;
|
|
34
|
+
readonly created_at?: string | undefined;
|
|
35
35
|
readonly updated_at?: string | undefined;
|
|
36
36
|
}, Conflict | UnprocessableEntity, import("~/credentials.ts").Credentials>;
|
|
37
37
|
//# sourceMappingURL=WebhookEndpointsControllerCreate.d.ts.map
|
|
@@ -35,25 +35,25 @@ export type WebhookEndpointsControllerListOutput = typeof WebhookEndpointsContro
|
|
|
35
35
|
* @param order - Order the results by the creation time. Supported values are `"asc"` (ascending), `"desc"` (descending), and `"normal"` (descending with reversed cursor semantics where `before` fetches older records and `after` fetches newer records). Defaults to descending.
|
|
36
36
|
*/
|
|
37
37
|
export declare const WebhookEndpointsControllerList: import("@distilled.cloud/core/client").OperationMethod<{
|
|
38
|
-
readonly after?: string | undefined;
|
|
39
38
|
readonly before?: string | undefined;
|
|
39
|
+
readonly after?: string | undefined;
|
|
40
40
|
readonly limit?: number | undefined;
|
|
41
41
|
readonly order?: "asc" | "desc" | "normal" | undefined;
|
|
42
42
|
}, {
|
|
43
|
+
readonly object?: string | undefined;
|
|
43
44
|
readonly data?: readonly {
|
|
44
|
-
readonly created_at?: string | undefined;
|
|
45
|
-
readonly endpoint_url?: string | undefined;
|
|
46
|
-
readonly events?: readonly string[] | undefined;
|
|
47
|
-
readonly id?: string | undefined;
|
|
48
45
|
readonly object?: string | undefined;
|
|
46
|
+
readonly id?: string | undefined;
|
|
47
|
+
readonly endpoint_url?: string | undefined;
|
|
49
48
|
readonly secret?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
50
49
|
readonly status?: "disabled" | "enabled" | undefined;
|
|
50
|
+
readonly events?: readonly string[] | undefined;
|
|
51
|
+
readonly created_at?: string | undefined;
|
|
51
52
|
readonly updated_at?: string | undefined;
|
|
52
53
|
}[] | undefined;
|
|
53
54
|
readonly list_metadata?: {
|
|
54
|
-
readonly after: string | null;
|
|
55
55
|
readonly before: string | null;
|
|
56
|
+
readonly after: string | null;
|
|
56
57
|
} | undefined;
|
|
57
|
-
readonly object?: string | undefined;
|
|
58
58
|
}, never, import("~/credentials.ts").Credentials>;
|
|
59
59
|
//# sourceMappingURL=WebhookEndpointsControllerList.d.ts.map
|
|
@@ -26,18 +26,18 @@ export type WebhookEndpointsControllerUpdateOutput = typeof WebhookEndpointsCont
|
|
|
26
26
|
* @param id - Unique identifier of the Webhook Endpoint.
|
|
27
27
|
*/
|
|
28
28
|
export declare const WebhookEndpointsControllerUpdate: import("@distilled.cloud/core/client").OperationMethod<{
|
|
29
|
-
readonly endpoint_url?: string | undefined;
|
|
30
|
-
readonly events?: readonly ("api_key.created" | "api_key.revoked" | "authentication.email_verification_succeeded" | "authentication.magic_auth_failed" | "authentication.magic_auth_succeeded" | "authentication.mfa_succeeded" | "authentication.oauth_failed" | "authentication.oauth_succeeded" | "authentication.passkey_failed" | "authentication.passkey_succeeded" | "authentication.password_failed" | "authentication.password_succeeded" | "authentication.radar_risk_detected" | "authentication.sso_failed" | "authentication.sso_started" | "authentication.sso_succeeded" | "authentication.sso_timed_out" | "connection.activated" | "connection.deactivated" | "connection.deleted" | "connection.saml_certificate_renewal_required" | "connection.saml_certificate_renewed" | "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" | "flag.created" | "flag.deleted" | "flag.rule_updated" | "flag.updated" | "group.created" | "group.deleted" | "group.member_added" | "group.member_removed" | "group.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.verification_failed" | "organization_domain.verified" | "organization_membership.created" | "organization_membership.deleted" | "organization_membership.updated" | "organization_role.created" | "organization_role.deleted" | "organization_role.updated" | "password_reset.created" | "password_reset.succeeded" | "permission.created" | "permission.deleted" | "permission.updated" | "role.created" | "role.deleted" | "role.updated" | "session.created" | "session.revoked" | "user.created" | "user.deleted" | "user.updated" | "waitlist_user.approved" | "waitlist_user.created" | "waitlist_user.denied")[] | undefined;
|
|
31
29
|
readonly id: string;
|
|
30
|
+
readonly endpoint_url?: string | undefined;
|
|
32
31
|
readonly status?: "disabled" | "enabled" | undefined;
|
|
32
|
+
readonly events?: readonly ("api_key.created" | "api_key.revoked" | "authentication.email_verification_succeeded" | "authentication.magic_auth_failed" | "authentication.magic_auth_succeeded" | "authentication.mfa_succeeded" | "authentication.oauth_failed" | "authentication.oauth_succeeded" | "authentication.passkey_failed" | "authentication.passkey_succeeded" | "authentication.password_failed" | "authentication.password_succeeded" | "authentication.radar_risk_detected" | "authentication.sso_failed" | "authentication.sso_started" | "authentication.sso_succeeded" | "authentication.sso_timed_out" | "connection.activated" | "connection.deactivated" | "connection.deleted" | "connection.saml_certificate_renewal_required" | "connection.saml_certificate_renewed" | "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" | "flag.created" | "flag.deleted" | "flag.rule_updated" | "flag.updated" | "group.created" | "group.deleted" | "group.member_added" | "group.member_removed" | "group.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.verification_failed" | "organization_domain.verified" | "organization_membership.created" | "organization_membership.deleted" | "organization_membership.updated" | "organization_role.created" | "organization_role.deleted" | "organization_role.updated" | "password_reset.created" | "password_reset.succeeded" | "permission.created" | "permission.deleted" | "permission.updated" | "role.created" | "role.deleted" | "role.updated" | "session.created" | "session.revoked" | "user.created" | "user.deleted" | "user.updated" | "waitlist_user.approved" | "waitlist_user.created" | "waitlist_user.denied")[] | undefined;
|
|
33
33
|
}, {
|
|
34
|
-
readonly created_at?: string | undefined;
|
|
35
|
-
readonly endpoint_url?: string | undefined;
|
|
36
|
-
readonly events?: readonly string[] | undefined;
|
|
37
|
-
readonly id?: string | undefined;
|
|
38
34
|
readonly object?: string | undefined;
|
|
35
|
+
readonly id?: string | undefined;
|
|
36
|
+
readonly endpoint_url?: string | undefined;
|
|
39
37
|
readonly secret?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
40
38
|
readonly status?: "disabled" | "enabled" | undefined;
|
|
39
|
+
readonly events?: readonly string[] | undefined;
|
|
40
|
+
readonly created_at?: string | undefined;
|
|
41
41
|
readonly updated_at?: string | undefined;
|
|
42
42
|
}, Conflict | NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
|
|
43
43
|
//# sourceMappingURL=WebhookEndpointsControllerUpdate.d.ts.map
|
|
@@ -17,8 +17,8 @@ export type WidgetsPublicControllerIssueWidgetSessionTokenOutput = typeof Widget
|
|
|
17
17
|
*/
|
|
18
18
|
export declare const WidgetsPublicControllerIssueWidgetSessionToken: import("@distilled.cloud/core/client").OperationMethod<{
|
|
19
19
|
readonly organization_id?: string | undefined;
|
|
20
|
-
readonly scopes?: readonly ("widgets:api-keys:manage" | "widgets:audit-log-streaming:manage" | "widgets:domain-verification:manage" | "widgets:dsync:manage" | "widgets:sso:manage" | "widgets:users-table:manage")[] | undefined;
|
|
21
20
|
readonly user_id?: string | undefined;
|
|
21
|
+
readonly scopes?: readonly ("widgets:api-keys:manage" | "widgets:audit-log-streaming:manage" | "widgets:domain-verification:manage" | "widgets:dsync:manage" | "widgets:sso:manage" | "widgets:users-table:manage")[] | undefined;
|
|
22
22
|
}, {
|
|
23
23
|
readonly token?: string | undefined;
|
|
24
24
|
}, BadRequest | NotFound | UnprocessableEntity, import("~/credentials.ts").Credentials>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@distilled.cloud/workos",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/alchemy-run/distilled",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"specs:update": "git -C specs/openapi-spec fetch && git -C specs/openapi-spec checkout main && git -C specs/openapi-spec pull"
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
|
-
"@distilled.cloud/core": "0.
|
|
76
|
+
"@distilled.cloud/core": "0.20.0"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
79
|
"@types/bun": "^1.3.0",
|
|
@@ -83,6 +83,6 @@
|
|
|
83
83
|
"yaml": "^2.7.1"
|
|
84
84
|
},
|
|
85
85
|
"peerDependencies": {
|
|
86
|
-
"effect": ">=4.0.0-beta.
|
|
86
|
+
"effect": ">=4.0.0-beta.66 || >=4.0.0"
|
|
87
87
|
}
|
|
88
88
|
}
|
package/src/credentials.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { ConfigError } from "@distilled.cloud/core/errors";
|
|
1
2
|
import * as EffectConfig from "effect/Config";
|
|
2
3
|
import * as Context from "effect/Context";
|
|
3
4
|
import * as Effect from "effect/Effect";
|
|
4
5
|
import * as Layer from "effect/Layer";
|
|
5
6
|
import * as Redacted from "effect/Redacted";
|
|
6
|
-
import { ConfigError } from "@distilled.cloud/core/errors";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* WorkOS production API base URL.
|
|
@@ -31,7 +31,7 @@ const envConfig = EffectConfig.all({
|
|
|
31
31
|
|
|
32
32
|
export const CredentialsFromEnv = Layer.effect(
|
|
33
33
|
Credentials,
|
|
34
|
-
envConfig.
|
|
34
|
+
envConfig.pipe(
|
|
35
35
|
Effect.mapError(
|
|
36
36
|
() =>
|
|
37
37
|
new ConfigError({
|