Logo
Type aliases

UserOrganization

UserOrganization = object

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

Schema for a user's membership to an organization.

Properties

id

id: string

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

Unique identifier


created_at?

optional created_at: string | null

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

Creation datetime


updated_at?

optional updated_at: string | null

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

Update datetime


email

email: string

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

The user's email address.


user_id?

optional user_id: string | null

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

The user's ID.


organization_id

organization_id: string

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

The organization's ID.


pending?

optional pending: boolean

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

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:6015

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:6019

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:6023

The roles of the user in the organization.

On this page