Skip to main content

WorkspaceAccountInput

An input for mutations affecting WorkspaceAccount

input WorkspaceAccountInput {
id: String
workspaceId: String!
accountId: String!
role: String!
version: Int
deletedAt: Datetime
updatedAt: Datetime
createdAt: Datetime
invitationToken: String
acceptedAt: Datetime
seatType: String
crmContactId: String
systemRole: String
contactEmail: String
isPartner: Boolean
searchVector: FullText
contactLocation: JSON
}

Fields

WorkspaceAccountInput.id ● String scalar

WorkspaceAccountInput.workspaceId ● String! non-null scalar

WorkspaceAccountInput.accountId ● String! non-null scalar

WorkspaceAccountInput.role ● String! non-null scalar

The Postgres RLS role that identifies which side of the accord the member is on — e.g. accord_solution_provider_role (seller) or accord_customer_role (customer).

WorkspaceAccountInput.version ● Int scalar

WorkspaceAccountInput.deletedAt ● Datetime scalar

WorkspaceAccountInput.updatedAt ● Datetime scalar

WorkspaceAccountInput.createdAt ● Datetime scalar

WorkspaceAccountInput.invitationToken ● String scalar

Token used to accept a pending workspace invitation. A customer session reads an empty string for every row but its own; seller sessions read it.

WorkspaceAccountInput.acceptedAt ● Datetime scalar

When the invited member accepted and joined; null while the invitation is pending.

WorkspaceAccountInput.seatType ● String scalar

The kind of seat the member occupies; null when no seat is assigned, though a customer session always reads an empty string rather than the stored value. Only an admin may change it: for anyone else the trigger silently skips the write rather than raising, so the mutation still reports success.

WorkspaceAccountInput.crmContactId ● String scalar

Linked CRM contact record for this member, for customer-side contacts synced from a CRM.

WorkspaceAccountInput.systemRole ● String scalar

System-level role label for the member (e.g. Accord Creator); null for ordinary members.

WorkspaceAccountInput.contactEmail ● String scalar

Email of the member when represented as an external CRM contact rather than a full account.

WorkspaceAccountInput.isPartner ● Boolean scalar

True when the member's email domain is listed in workspace.partner_domains. Partners sit on the customer side rather than forming a third side, and partner-scoped resources resolve for them only while both this flag and the domain listing still hold.

WorkspaceAccountInput.searchVector ● FullText scalar

WorkspaceAccountInput.contactLocation ● JSON scalar

JSON location details for the contact.

Member Of

CreateWorkspaceAccountInput input ● upsertWorkspaceAccountByIdInput input ● upsertWorkspaceAccountByWorkspaceIdAndAccountIdInput input