Logo
Type aliases

UserOrganization

UserOrganization = object

Defined in: packages/cloud/src/client/types.gen.ts:8023

Schema for a user's membership to an organization.

Properties

id

id: string

Defined in: packages/cloud/src/client/types.gen.ts:8027

Unique identifier


created_at?

optional created_at: string | null

Defined in: packages/cloud/src/client/types.gen.ts:8031

Creation datetime


updated_at?

optional updated_at: string | null

Defined in: packages/cloud/src/client/types.gen.ts:8035

Update datetime


email?

optional email: string | null

Defined in: packages/cloud/src/client/types.gen.ts:8039

The user's email address.


user_id?

optional user_id: string | null

Defined in: packages/cloud/src/client/types.gen.ts:8043

The user's ID.


organization_id

organization_id: string

Defined in: packages/cloud/src/client/types.gen.ts:8047

The organization's ID.


pending?

optional pending: boolean

Defined in: packages/cloud/src/client/types.gen.ts:8051

Whether the user's membership is pending account signup.


invited_by_user_id?

optional invited_by_user_id: string | null

Defined in: packages/cloud/src/client/types.gen.ts:8055

The user ID of the user who added the user to the organization.


invited_by_user_email?

optional invited_by_user_email: string | null

Defined in: packages/cloud/src/client/types.gen.ts:8059

The email address of the user who added the user to the organization.


roles

roles: UserOrganizationRole[]

Defined in: packages/cloud/src/client/types.gen.ts:8063

The roles of the user in the organization.