WorkspaceAccountPatch
Represents an update to a WorkspaceAccount. Fields that are set will be updated.
input WorkspaceAccountPatch {
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
WorkspaceAccountPatch.id ● String scalar
WorkspaceAccountPatch.workspaceId ● String scalar
WorkspaceAccountPatch.accountId ● String scalar
WorkspaceAccountPatch.role ● String 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).
WorkspaceAccountPatch.version ● Int scalar
WorkspaceAccountPatch.deletedAt ● Datetime scalar
WorkspaceAccountPatch.updatedAt ● Datetime scalar
WorkspaceAccountPatch.createdAt ● Datetime scalar
WorkspaceAccountPatch.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.
WorkspaceAccountPatch.acceptedAt ● Datetime scalar
When the invited member accepted and joined; null while the invitation is pending.
WorkspaceAccountPatch.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.
WorkspaceAccountPatch.crmContactId ● String scalar
Linked CRM contact record for this member, for customer-side contacts synced from a CRM.
WorkspaceAccountPatch.systemRole ● String scalar
System-level role label for the member (e.g. Accord Creator); null for ordinary members.
WorkspaceAccountPatch.contactEmail ● String scalar
Email of the member when represented as an external CRM contact rather than a full account.
WorkspaceAccountPatch.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.
WorkspaceAccountPatch.searchVector ● FullText scalar
WorkspaceAccountPatch.contactLocation ● JSON scalar
JSON location details for the contact.
Member Of
UpdateWorkspaceAccountByNodeIdInput input ● UpdateWorkspaceAccountByWorkspaceIdAndAccountIdInput input ● UpdateWorkspaceAccountInput input ● upsertWorkspaceAccountByIdInput input ● upsertWorkspaceAccountByWorkspaceIdAndAccountIdInput input