""""""
directive @tag(name: String!) on SCALAR | OBJECT | FIELD_DEFINITION | ARGUMENT_DEFINITION | INTERFACE | UNION | ENUM | ENUM_VALUE | INPUT_OBJECT | INPUT_FIELD_DEFINITION

""""""
type Query {
  """
  Get the current user `User`. This field is only available to authorized users.
  """
  me: User

  """"""
  _user(id: ID!): _User

  """"""
  _userBy(id: ID, name: String): _User

  """"""
  _users(first: Int, after: String, query: _UserQueryInput): _UserConnection

  """
  availablePermissions resolver
    
    Returns:
    Available permission scopes
  """
  availablePermissions: AvailablePermissionsOutput!

  """auditEntry(GetList)"""
  auditEntries(query: AuditEntryQueryInput, first: Int, after: String, last: Int, before: String, order: [AuditEntryOrderInput]): AuditEntryConnection!

  """changeDetail(GetList)"""
  changeDetails(order: [ChangeDetailOrderInput], query: ChangeDetailQueryInput, first: Int, after: String, last: Int, before: String): ChangeDetailConnection!

  """auditPolicy(GetOne)"""
  auditPolicy(id: ID!): AuditPolicy

  """userRole(GetList)"""
  userRoles(before: String, order: [UserRoleOrderInput], query: UserRoleQueryInput, first: Int, after: String, last: Int): UserRoleConnection!

  """role(GetOne)"""
  role(id: ID!): Role

  """role(GetList)"""
  roles(query: RoleQueryInput, first: Int, after: String, last: Int, before: String, order: [RoleOrderInput]): RoleConnection!

  """user(GetOne)"""
  user(id: ID!): User

  """auditEntry(GetOne)"""
  auditEntry(id: ID!): AuditEntry

  """auditEntryBy(GetOneBy)"""
  auditEntryBy(
    """"""
    id: ID

    """Globally unique event ID for idempotency"""
    eventId: ID
  ): AuditEntry

  """policyFieldRule(GetOne)"""
  policyFieldRule(id: ID!): PolicyFieldRule

  """policyFieldRule(GetList)"""
  policyFieldRules(order: [PolicyFieldRuleOrderInput], query: PolicyFieldRuleQueryInput, first: Int, after: String, last: Int, before: String): PolicyFieldRuleConnection!

  """userRoleBy(GetOneBy)"""
  userRoleBy(id: ID, userRoleUniqueIdx: UserRoleUniqueIdx): UserRole

  """user(GetList)"""
  users(query: UserQueryInput, first: Int, after: String, last: Int, before: String, order: [UserOrderInput]): UserConnection!

  """changeDetail(GetOne)"""
  changeDetail(id: ID!): ChangeDetail

  """userBy(GetOneBy)"""
  userBy(
    """"""
    id: ID

    """User email address (unique identifier)"""
    email: String
  ): User

  """auditableEntity(GetList)"""
  auditableEntities(order: [AuditableEntityOrderInput], query: AuditableEntityQueryInput, first: Int, after: String, last: Int, before: String): AuditableEntityConnection!

  """auditableEntityBy(GetOneBy)"""
  auditableEntityBy(
    """"""
    id: ID

    """Unique entity name registered for audit tracking"""
    entityName: String
  ): AuditableEntity

  """auditPolicy(GetList)"""
  auditPolicies(last: Int, before: String, order: [AuditPolicyOrderInput], query: AuditPolicyQueryInput, first: Int, after: String): AuditPolicyConnection!

  """roleBy(GetOneBy)"""
  roleBy(
    """"""
    id: ID

    """Role name (unique identifier)"""
    name: String
  ): Role

  """auditableEntity(GetOne)"""
  auditableEntity(id: ID!): AuditableEntity

  """userRole(GetOne)"""
  userRole(id: ID!): UserRole
}

""""""
type User {
  """Document id"""
  id: ID!

  """User display name"""
  name: String!

  """User email address (unique identifier)"""
  email: String!

  """Record creation timestamp"""
  createdAt: DateTime!

  """Record last update timestamp"""
  updatedAt: DateTime

  """Flattened permission keys from all assigned roles"""
  permissions: [String!]

  """Update time"""
  updated: DateTime @deprecated

  """"""
  userRoles(query: UserRoleQueryInput, first: Int, after: String, last: Int, before: String, order: [UserRoleOrderInput]): UserRoleConnection!

  """User status"""
  status: UserStatus!

  """Create time"""
  created: DateTime @deprecated

  """created by"""
  createdByID: ID @deprecated

  """updated by"""
  updatedByID: ID @deprecated
}

""""""
type _UserEdge {
  """"""
  node: _User

  """"""
  cursor: String
}

""""""
type _User {
  """"""
  name: String!

  """"""
  createdAt: DateTime!

  """"""
  disabled: Boolean!

  """"""
  id: ID!
}

""""""
type _UserConnection {
  """"""
  edges: [_UserEdge]

  """"""
  pageInfo: _PageInfo

  """"""
  totalCount: Int
}

""""""
type _PageInfo {
  """"""
  hasNextPage: Boolean!

  """"""
  hasPreviousPage: Boolean!

  """"""
  startCursor: String

  """"""
  endCursor: String
}

""""""
input _UserQueryInput {
  """"""
  names: [String!]

  """"""
  ids: [ID!]
}

"""
The `DateTime` scalar type represents a DateTime. The DateTime is serialized as an RFC 3339 quoted string
"""
scalar DateTime

""""""
type Mutation {
  """Placeholder field (IdP mutation operations are disabled)"""
  _placeholder: Boolean

  """
  createRole resolver
    
    Returns:
    Created role
  """
  createRole(
    """Role name"""
    name: String!

    """Role description"""
    description: String

    """Permission keys to assign"""
    permissions: [String!]!
  ): CreateRoleOutput!

  """
  createUser resolver
    
    Returns:
    Created user
  """
  createUser(
    """User name"""
    name: String!

    """User email"""
    email: String!

    """Role IDs to assign"""
    roleIds: [String]
  ): CreateUserOutput!

  """
  deactivateRole resolver
    
    Returns:
    Deactivated role
  """
  deactivateRole(
    """ID of the role to deactivate"""
    roleId: String!
  ): DeactivateRoleOutput!

  """
  deactivateUser resolver
    
    Returns:
    Deactivated user
  """
  deactivateUser(
    """ID of the user to deactivate"""
    userId: String!
  ): DeactivateUserOutput!

  """
  reactivateRole resolver
    
    Returns:
    Reactivated role
  """
  reactivateRole(
    """ID of the role to reactivate"""
    roleId: String!
  ): ReactivateRoleOutput!

  """
  reactivateUser resolver
    
    Returns:
    Reactivated user
  """
  reactivateUser(
    """ID of the user to reactivate"""
    userId: String!
  ): ReactivateUserOutput!

  """
  updateOwnProfile resolver
    
    Returns:
    Updated profile
  """
  updateOwnProfile(
    """New display name"""
    name: String

    """New email address"""
    email: String
  ): UpdateOwnProfileOutput!

  """
  updateRole resolver
    
    Returns:
    Role update result
  """
  updateRole(
    """Role ID"""
    roleId: String!

    """New role name"""
    name: String

    """New role description"""
    description: String

    """Desired permission keys"""
    permissions: [String!]!
  ): UpdateRoleOutput!

  """
  updateUserProfile resolver
    
    Returns:
    Updated user profile
  """
  updateUserProfile(
    """ID of the user to update"""
    userId: String!

    """New display name"""
    name: String

    """New email address"""
    email: String
  ): UpdateUserProfileOutput!

  """
  updateUserRoles resolver
    
    Returns:
    User roles update result
  """
  updateUserRoles(
    """User ID"""
    userId: String!

    """Desired role IDs"""
    roleIds: [String!]!
  ): UpdateUserRolesOutput!
}

""""""
input UUIDFilter {
  """"""
  in: [ID!]

  """"""
  nin: [ID!]

  """"""
  eq: ID

  """"""
  ne: ID
}

""""""
input StringFilter {
  """"""
  in: [String!]

  """"""
  nin: [String!]

  """"""
  contains: String

  """"""
  notContains: String

  """"""
  hasPrefix: String

  """"""
  hasSuffix: String

  """"""
  notHasPrefix: String

  """"""
  notHasSuffix: String

  """"""
  regex: String

  """"""
  eq: String

  """"""
  ne: String
}

""""""
input DateFilter {
  """"""
  gte: Date

  """"""
  gt: Date

  """"""
  lte: Date

  """"""
  lt: Date

  """"""
  eq: Date

  """"""
  ne: Date

  """"""
  in: [Date!]

  """"""
  nin: [Date!]

  """"""
  between: DateBetweenFilter
}

""""""
input DateBetweenFilter {
  """"""
  min: Date

  """"""
  max: Date
}

""""""
input TimeFilter {
  """"""
  gte: Time

  """"""
  gt: Time

  """"""
  lte: Time

  """"""
  lt: Time

  """"""
  eq: Time

  """"""
  ne: Time

  """"""
  in: [Time]

  """"""
  nin: [Time]

  """"""
  between: TimeBetweenFilter
}

""""""
input TimeBetweenFilter {
  """"""
  min: Time

  """"""
  max: Time
}

"""The `Date` scalar type represents a date in format `YYYY-MM-DD`."""
scalar Date

""""""
scalar Decimal

"""
The Time scalar type represents a Time. The Time is serialized as an `hh:mm` quoted string
"""
scalar Time

"""Available permission scopes"""
type AvailablePermissionsOutput {
  """Available permission scopes"""
  scopes: [AvailablePermissionsOutputScopes!]!
}

"""Available permission scopes"""
type AvailablePermissionsOutputScopes {
  """Scope key (module:scope)"""
  scope: String!

  """Whether this scope is auto-assigned to all roles"""
  autoAssigned: Boolean!
}

"""Created role"""
type CreateRoleOutput {
  """Role ID"""
  id: String!

  """Role name"""
  name: String!

  """Role description"""
  description: String!
}

"""Created user"""
type CreateUserOutput {
  """User ID"""
  id: String!

  """User name"""
  name: String!

  """User email"""
  email: String!

  """User status"""
  status: String!

  """Auto-generated initial password"""
  initialPassword: String!
}

"""Deactivated role"""
type DeactivateRoleOutput {
  """Role ID"""
  id: String!

  """Updated status"""
  status: String!
}

"""Deactivated user"""
type DeactivateUserOutput {
  """User ID"""
  id: String!

  """Updated status"""
  status: String!
}

"""Reactivated role"""
type ReactivateRoleOutput {
  """Role ID"""
  id: String!

  """Updated status"""
  status: String!
}

"""Reactivated user"""
type ReactivateUserOutput {
  """User ID"""
  id: String!

  """Updated status"""
  status: String!
}

"""Updated profile"""
type UpdateOwnProfileOutput {
  """User ID"""
  id: String!

  """Updated name"""
  name: String!

  """Updated email"""
  email: String!
}

"""Role update result"""
type UpdateRoleOutput {
  """Role ID"""
  roleId: String!
}

"""Updated user profile"""
type UpdateUserProfileOutput {
  """User ID"""
  id: String!

  """Updated name"""
  name: String!

  """Updated email"""
  email: String!
}

"""User roles update result"""
type UpdateUserRolesOutput {
  """User ID"""
  userId: String!
}

"""userRole(Edge)"""
type UserRoleEdge {
  """"""
  node: UserRole!

  """"""
  cursor: String!
}

""""""
enum UserStatus {
  """"""
  PENDING

  """"""
  ACTIVE

  """"""
  INACTIVE
}

"""policyFieldRule(Connection)"""
type PolicyFieldRuleConnection {
  """"""
  total: Int

  """"""
  edges: [PolicyFieldRuleEdge!]!

  """"""
  pageInfo: PageInfo!
}

"""auditEntry(QueryInput)"""
input AuditEntryQueryInput {
  """"""
  updatedAt: DatetimeFilter

  """"""
  correlationId: UUIDFilter

  """"""
  onBehalfOf: StringFilter

  """"""
  and: [AuditEntryQueryInput!]

  """"""
  actorId: StringFilter

  """"""
  eventId: UUIDFilter

  """"""
  companyId: UUIDFilter

  """"""
  or: [AuditEntryQueryInput!]

  """"""
  ipAddress: StringFilter

  """"""
  not: [AuditEntryQueryInput!]

  """"""
  entityType: StringFilter

  """"""
  createdAt: DatetimeFilter

  """"""
  timestamp: DateFilter

  """"""
  sessionId: StringFilter

  """"""
  operationType: StringFilter

  """"""
  entityId: StringFilter

  """"""
  id: UUIDFilter

  """"""
  userAgent: StringFilter

  """"""
  actorType: StringFilter

  """"""
  requestId: StringFilter
}

""""""
input UserRoleUniqueIdx {
  """Foreign key to User"""
  userId: ID!

  """Foreign key to Role"""
  roleId: ID!
}

"""userRole(QueryInput)"""
input UserRoleQueryInput {
  """"""
  or: [UserRoleQueryInput!]

  """"""
  not: [UserRoleQueryInput!]

  """"""
  id: UUIDFilter

  """"""
  userId: UUIDFilter

  """"""
  createdAt: DatetimeFilter

  """"""
  updatedAt: DatetimeFilter

  """"""
  roleId: UUIDFilter

  """"""
  and: [UserRoleQueryInput!]
}

""""""
type Role {
  """Create time"""
  created: DateTime @deprecated

  """"""
  userRoles(first: Int, after: String, last: Int, before: String, order: [UserRoleOrderInput], query: UserRoleQueryInput): UserRoleConnection!

  """updated by"""
  updatedByID: ID @deprecated

  """Document id"""
  id: ID!

  """Role status (ACTIVE or INACTIVE)"""
  status: RoleStatus!

  """Update time"""
  updated: DateTime @deprecated

  """created by"""
  createdByID: ID @deprecated

  """Optional description of what this role represents"""
  description: String

  """Record creation timestamp"""
  createdAt: DateTime!

  """Array of permission keys in module:scope:command format"""
  permissions: [String!]

  """Role name (unique identifier)"""
  name: String!

  """Record last update timestamp"""
  updatedAt: DateTime
}

""""""
enum RoleStatus {
  """"""
  ACTIVE

  """"""
  INACTIVE
}

"""user(Edge)"""
type UserEdge {
  """"""
  cursor: String!

  """"""
  node: User!
}

"""policyFieldRule(QueryInput)"""
input PolicyFieldRuleQueryInput {
  """"""
  sensitivityMode: StringFilter

  """"""
  not: [PolicyFieldRuleQueryInput!]

  """"""
  id: UUIDFilter

  """"""
  fieldName: StringFilter

  """"""
  and: [PolicyFieldRuleQueryInput!]

  """"""
  or: [PolicyFieldRuleQueryInput!]

  """"""
  updatedAt: DatetimeFilter

  """"""
  auditPolicyId: UUIDFilter

  """"""
  createdAt: DatetimeFilter
}

"""policyFieldRule(Edge)"""
type PolicyFieldRuleEdge {
  """"""
  node: PolicyFieldRule!

  """"""
  cursor: String!
}

"""auditEntry(Edge)"""
type AuditEntryEdge {
  """"""
  node: AuditEntry!

  """"""
  cursor: String!
}

"""changeDetail(QueryInput)"""
input ChangeDetailQueryInput {
  """"""
  or: [ChangeDetailQueryInput!]

  """"""
  not: [ChangeDetailQueryInput!]

  """"""
  id: UUIDFilter

  """"""
  createdAt: DatetimeFilter

  """"""
  oldValue: StringFilter

  """"""
  fieldName: StringFilter

  """"""
  updatedAt: DatetimeFilter

  """"""
  and: [ChangeDetailQueryInput!]

  """"""
  auditEntryId: UUIDFilter

  """"""
  newValue: StringFilter
}

"""Information about pagination in a connection"""
type PageInfo {
  """"""
  hasPreviousPage: Boolean!

  """"""
  startCursor: String

  """"""
  endCursor: String

  """"""
  hasNextPage: Boolean!
}

""""""
input AuditableEntityOrderInput {
  """"""
  field: AuditableEntityOrderFieldEnum!

  """"""
  direction: OrderDirectionEnum
}

""""""
enum AuditEntryOrderFieldEnum {
  """"""
  onBehalfOf

  """"""
  actorType

  """"""
  createdAt

  """"""
  timestamp

  """"""
  entityType

  """"""
  operationType

  """"""
  actorId

  """"""
  requestId

  """"""
  sessionId

  """"""
  entityId

  """"""
  ipAddress

  """"""
  userAgent

  """"""
  updatedAt
}

"""role(QueryInput)"""
input RoleQueryInput {
  """"""
  createdAt: DatetimeFilter

  """"""
  description: StringFilter

  """"""
  updatedAt: DatetimeFilter

  """"""
  or: [RoleQueryInput!]

  """"""
  and: [RoleQueryInput!]

  """"""
  not: [RoleQueryInput!]

  """"""
  id: UUIDFilter

  """"""
  permissions: StringArrayFilter

  """"""
  name: StringFilter

  """"""
  status: RoleStatusEnumFilter
}

""""""
enum UserOrderFieldEnum {
  """"""
  email

  """"""
  status

  """"""
  createdAt

  """"""
  updatedAt

  """"""
  name
}

"""user(Connection)"""
type UserConnection {
  """"""
  total: Int

  """"""
  edges: [UserEdge!]!

  """"""
  pageInfo: PageInfo!
}

"""userRole(Connection)"""
type UserRoleConnection {
  """"""
  edges: [UserRoleEdge!]!

  """"""
  pageInfo: PageInfo!

  """"""
  total: Int
}

""""""
enum AuditPolicyOrderFieldEnum {
  """"""
  operationType

  """"""
  status

  """"""
  createdAt

  """"""
  updatedAt

  """"""
  entityName
}

"""auditPolicy(QueryInput)"""
input AuditPolicyQueryInput {
  """"""
  companyId: UUIDFilter

  """"""
  updatedAt: DatetimeFilter

  """"""
  operationType: StringFilter

  """"""
  and: [AuditPolicyQueryInput!]

  """"""
  not: [AuditPolicyQueryInput!]

  """"""
  id: UUIDFilter

  """"""
  createdAt: DatetimeFilter

  """"""
  entityName: StringFilter

  """"""
  or: [AuditPolicyQueryInput!]

  """"""
  status: StringFilter
}

""""""
enum RoleOrderFieldEnum {
  """"""
  status

  """"""
  createdAt

  """"""
  updatedAt

  """"""
  description

  """"""
  name
}

"""user(QueryInput)"""
input UserQueryInput {
  """"""
  status: UserStatusEnumFilter

  """"""
  createdAt: DatetimeFilter

  """"""
  updatedAt: DatetimeFilter

  """"""
  email: StringFilter

  """"""
  or: [UserQueryInput!]

  """"""
  id: UUIDFilter

  """"""
  permissions: StringArrayFilter

  """"""
  and: [UserQueryInput!]

  """"""
  not: [UserQueryInput!]

  """"""
  name: StringFilter
}

""""""
input DatetimeFilter {
  """"""
  gte: DateTime

  """"""
  in: [DateTime!]

  """"""
  ne: DateTime

  """"""
  gt: DateTime

  """"""
  nin: [DateTime!]

  """"""
  eq: DateTime

  """"""
  lt: DateTime

  """"""
  lte: DateTime

  """"""
  between: DatetimeBetweenFilter
}

""""""
enum UserRoleOrderFieldEnum {
  """"""
  updatedAt

  """"""
  createdAt
}

""""""
input ChangeDetailOrderInput {
  """"""
  direction: OrderDirectionEnum

  """"""
  field: ChangeDetailOrderFieldEnum!
}

""""""
enum ChangeDetailOrderFieldEnum {
  """"""
  fieldName

  """"""
  updatedAt

  """"""
  newValue

  """"""
  oldValue

  """"""
  createdAt
}

"""role(Edge)"""
type RoleEdge {
  """"""
  node: Role!

  """"""
  cursor: String!
}

""""""
type UserRole {
  """"""
  user: User

  """"""
  role: Role

  """Record last update timestamp"""
  updatedAt: DateTime

  """Foreign key to User"""
  userId: ID!

  """Document id"""
  id: ID!

  """Record creation timestamp"""
  createdAt: DateTime!

  """Update time"""
  updated: DateTime @deprecated

  """updated by"""
  updatedByID: ID @deprecated

  """Foreign key to Role"""
  roleId: ID!

  """Create time"""
  created: DateTime @deprecated

  """created by"""
  createdByID: ID @deprecated
}

""""""
enum PolicyFieldRuleOrderFieldEnum {
  """"""
  sensitivityMode

  """"""
  createdAt

  """"""
  fieldName

  """"""
  updatedAt
}

""""""
enum AuditableEntityOrderFieldEnum {
  """"""
  auditableFields

  """"""
  createdAt

  """"""
  updatedAt

  """"""
  entityName

  """"""
  entityScope
}

""""""
input AuditEntryOrderInput {
  """"""
  field: AuditEntryOrderFieldEnum!

  """"""
  direction: OrderDirectionEnum
}

"""auditEntry(Connection)"""
type AuditEntryConnection {
  """"""
  total: Int

  """"""
  edges: [AuditEntryEdge!]!

  """"""
  pageInfo: PageInfo!
}

"""role(Connection)"""
type RoleConnection {
  """"""
  total: Int

  """"""
  edges: [RoleEdge!]!

  """"""
  pageInfo: PageInfo!
}

"""changeDetail(Edge)"""
type ChangeDetailEdge {
  """"""
  node: ChangeDetail!

  """"""
  cursor: String!
}

""""""
input StringArrayFilter {
  """"""
  all: StringFilter

  """"""
  has: StringFilter

  """"""
  exists: Boolean

  """"""
  len: ArrayLengthFilter
}

"""
A new scalar called FieldSet is a custom scalar type that is used to represent a set of fields.
"""
scalar FieldSet

""""""
type PolicyFieldRule {
  """Sensitivity mode: CAPTURE, MASK, HASH, or EXCLUDE"""
  sensitivityMode: String!

  """Field name to audit"""
  fieldName: String!

  """Record last update timestamp"""
  updatedAt: DateTime

  """updated by"""
  updatedByID: ID @deprecated

  """Record creation timestamp"""
  createdAt: DateTime!

  """created by"""
  createdByID: ID @deprecated

  """"""
  auditPolicy: AuditPolicy

  """Foreign key to parent AuditPolicy"""
  auditPolicyId: ID!

  """Document id"""
  id: ID!

  """Create time"""
  created: DateTime @deprecated

  """Update time"""
  updated: DateTime @deprecated
}

"""auditPolicy(Connection)"""
type AuditPolicyConnection {
  """"""
  edges: [AuditPolicyEdge!]!

  """"""
  pageInfo: PageInfo!

  """"""
  total: Int
}

""""""
input PolicyFieldRuleOrderInput {
  """"""
  field: PolicyFieldRuleOrderFieldEnum!

  """"""
  direction: OrderDirectionEnum
}

""""""
input ArrayLengthFilter {
  """"""
  eq: Int

  """"""
  ne: Int

  """"""
  gt: Int

  """"""
  gte: Int

  """"""
  lt: Int

  """"""
  lte: Int
}

""""""
input UserStatusEnumFilter {
  """"""
  in: [UserStatus!]

  """"""
  nin: [UserStatus!]

  """"""
  eq: UserStatus

  """"""
  ne: UserStatus
}

"""auditableEntity(Edge)"""
type AuditableEntityEdge {
  """"""
  node: AuditableEntity!

  """"""
  cursor: String!
}

""""""
type AuditableEntity {
  """Entity scope: COMPANY_BOUND or GLOBAL"""
  entityScope: String!

  """Create time"""
  created: DateTime @deprecated

  """created by"""
  createdByID: ID @deprecated

  """Record last update timestamp"""
  updatedAt: DateTime

  """Unique entity name registered for audit tracking"""
  entityName: String!

  """
  JSON-serialized array of field definitions ({fieldName, fieldType?}) eligible for audit capture
  """
  auditableFields: String!

  """Document id"""
  id: ID!

  """updated by"""
  updatedByID: ID @deprecated

  """Record creation timestamp"""
  createdAt: DateTime!

  """Update time"""
  updated: DateTime @deprecated
}

""""""
input AuditPolicyOrderInput {
  """"""
  field: AuditPolicyOrderFieldEnum!

  """"""
  direction: OrderDirectionEnum
}

"""auditPolicy(Edge)"""
type AuditPolicyEdge {
  """"""
  node: AuditPolicy!

  """"""
  cursor: String!
}

""""""
type AuditPolicy {
  """Operation type: CREATE, UPDATE, or DELETE"""
  operationType: String!

  """Foreign key to Company; null for global entities"""
  companyId: ID

  """Record creation timestamp"""
  createdAt: DateTime!

  """"""
  policyFieldRules(query: PolicyFieldRuleQueryInput, first: Int, after: String, last: Int, before: String, order: [PolicyFieldRuleOrderInput]): PolicyFieldRuleConnection!

  """Target entity name for audit tracking"""
  entityName: String!

  """Document id"""
  id: ID!

  """Create time"""
  created: DateTime @deprecated

  """created by"""
  createdByID: ID @deprecated

  """Record last update timestamp"""
  updatedAt: DateTime

  """Policy lifecycle status: DRAFT, ACTIVE, INACTIVE"""
  status: String!

  """Update time"""
  updated: DateTime @deprecated

  """updated by"""
  updatedByID: ID @deprecated
}

""""""
type AuditEntry {
  """ID of the audited entity"""
  entityId: String!

  """created by"""
  createdByID: ID @deprecated

  """Delegated user identity when acting on behalf of another"""
  onBehalfOf: String

  """Actor identifier"""
  actorId: String!

  """Document id"""
  id: ID!

  """Record creation timestamp"""
  createdAt: DateTime!

  """"""
  changeDetails(query: ChangeDetailQueryInput, first: Int, after: String, last: Int, before: String, order: [ChangeDetailOrderInput]): ChangeDetailConnection!

  """Actor type: USER, SYSTEM, or SERVICE"""
  actorType: String!

  """Create time"""
  created: DateTime @deprecated

  """Globally unique event ID for idempotency"""
  eventId: ID!

  """System-generated timestamp at ingestion time"""
  timestamp: Date!

  """Operation type: CREATE, UPDATE, or DELETE"""
  operationType: String!

  """Request ID metadata"""
  requestId: String

  """Actor IP address metadata"""
  ipAddress: String

  """Type name of the audited entity"""
  entityType: String!

  """updated by"""
  updatedByID: ID @deprecated

  """Optional correlation ID grouping related events"""
  correlationId: ID

  """Foreign key to Company; null for global entities"""
  companyId: ID

  """Actor session ID metadata"""
  sessionId: String

  """Actor user agent metadata"""
  userAgent: String

  """Update time"""
  updated: DateTime @deprecated

  """Record last update timestamp"""
  updatedAt: DateTime
}

"""changeDetail(Connection)"""
type ChangeDetailConnection {
  """"""
  edges: [ChangeDetailEdge!]!

  """"""
  pageInfo: PageInfo!

  """"""
  total: Int
}

""""""
input DatetimeBetweenFilter {
  """"""
  min: DateTime

  """"""
  max: DateTime
}

""""""
input UserRoleOrderInput {
  """"""
  direction: OrderDirectionEnum

  """"""
  field: UserRoleOrderFieldEnum!
}

""""""
enum OrderDirectionEnum {
  """"""
  Desc

  """"""
  Asc
}

""""""
type ChangeDetail {
  """New value (serialized string); null for DELETE operations"""
  newValue: String

  """Name of the field that changed"""
  fieldName: String!

  """Create time"""
  created: DateTime @deprecated

  """Document id"""
  id: ID!

  """Record last update timestamp"""
  updatedAt: DateTime

  """Update time"""
  updated: DateTime @deprecated

  """updated by"""
  updatedByID: ID @deprecated

  """Foreign key to parent AuditEntry"""
  auditEntryId: ID!

  """Previous value (serialized string); null for CREATE operations"""
  oldValue: String

  """"""
  auditEntry: AuditEntry

  """Record creation timestamp"""
  createdAt: DateTime!

  """created by"""
  createdByID: ID @deprecated
}

""""""
input RoleStatusEnumFilter {
  """"""
  eq: RoleStatus

  """"""
  ne: RoleStatus

  """"""
  in: [RoleStatus!]

  """"""
  nin: [RoleStatus!]
}

""""""
input RoleOrderInput {
  """"""
  direction: OrderDirectionEnum

  """"""
  field: RoleOrderFieldEnum!
}

""""""
type Company {
  """Document id"""
  id: ID!

  """Create time"""
  created: DateTime @deprecated

  """Update time"""
  updated: DateTime @deprecated

  """created by"""
  createdByID: ID @deprecated

  """updated by"""
  updatedByID: ID @deprecated
}

"""auditableEntity(QueryInput)"""
input AuditableEntityQueryInput {
  """"""
  entityName: StringFilter

  """"""
  createdAt: DatetimeFilter

  """"""
  or: [AuditableEntityQueryInput!]

  """"""
  not: [AuditableEntityQueryInput!]

  """"""
  entityScope: StringFilter

  """"""
  auditableFields: StringFilter

  """"""
  and: [AuditableEntityQueryInput!]

  """"""
  updatedAt: DatetimeFilter

  """"""
  id: UUIDFilter
}

"""auditableEntity(Connection)"""
type AuditableEntityConnection {
  """"""
  edges: [AuditableEntityEdge!]!

  """"""
  pageInfo: PageInfo!

  """"""
  total: Int
}

""""""
input UserOrderInput {
  """"""
  field: UserOrderFieldEnum!

  """"""
  direction: OrderDirectionEnum
}