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

"""Activated product"""
type ActivateProductOutput {
  """Product ID"""
  id: ID!

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

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

  """"""
  gt: Int

  """"""
  gte: Int

  """"""
  lt: Int

  """"""
  lte: Int

  """"""
  ne: Int
}

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

"""Available permission scopes"""
type AvailablePermissionsOutputScopes {
  """Whether this scope is auto-assigned to all roles"""
  autoAssigned: Boolean!

  """Scope key (module:scope)"""
  scope: String!
}

""""""
input BoolFilter {
  """"""
  eq: Boolean

  """"""
  ne: Boolean
}

"""Created attribute"""
type CreateAttributeOutput {
  """Attribute code"""
  code: String!

  """Attribute ID"""
  id: ID!

  """Attribute name"""
  name: String!
}

""""""
type CreateCategoryOutput {
  """Category code"""
  code: String!

  """Category ID"""
  id: ID!

  """Category name"""
  name: String!
}

"""Attribute value assignments"""
input CreateProductInputAttributes {
  """Attribute ID"""
  attributeId: ID!

  """Value ID"""
  valueId: ID!
}

"""Created product"""
type CreateProductOutput {
  """Product code"""
  code: String!

  """Product ID"""
  id: ID!

  """Product name"""
  name: String!

  """Product status"""
  status: String!
}

"""Created role"""
type CreateRoleOutput {
  """Role description"""
  description: String!

  """Role ID"""
  id: ID!

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

"""Created user"""
type CreateUserOutput {
  """User email"""
  email: String!

  """User ID"""
  id: ID!

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

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

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

""""""
type Currency {
  """ISO 4217 currency code (e.g., USD)"""
  code: String!

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

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

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

  """Number of decimal places (0-4)"""
  decimalPlaces: Int!

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

  """Whether this is the base currency"""
  isBaseCurrency: Boolean!

  """Currency display name (e.g., US Dollar)"""
  name: String!

  """Lifecycle status"""
  status: CurrencyStatus!

  """Currency symbol (e.g., $)"""
  symbol: String!

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

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

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

"""currency(Connection)"""
type CurrencyConnection {
  """"""
  edges: [CurrencyEdge!]!

  """"""
  pageInfo: PageInfo!

  """"""
  total: Int
}

"""currency(Edge)"""
type CurrencyEdge {
  """"""
  cursor: String!

  """"""
  node: Currency!
}

""""""
enum CurrencyOrderFieldEnum {
  """"""
  code

  """"""
  createdAt

  """"""
  decimalPlaces

  """"""
  isBaseCurrency

  """"""
  name

  """"""
  status

  """"""
  symbol

  """"""
  updatedAt
}

""""""
input CurrencyOrderInput {
  """"""
  direction: OrderDirectionEnum

  """"""
  field: CurrencyOrderFieldEnum!
}

"""currency(QueryInput)"""
input CurrencyQueryInput {
  """"""
  and: [CurrencyQueryInput!]

  """"""
  code: StringFilter

  """"""
  createdAt: DatetimeFilter

  """"""
  decimalPlaces: IntegerFilter

  """"""
  id: UUIDFilter

  """"""
  isBaseCurrency: BoolFilter

  """"""
  name: StringFilter

  """"""
  not: [CurrencyQueryInput!]

  """"""
  or: [CurrencyQueryInput!]

  """"""
  status: CurrencyStatusEnumFilter

  """"""
  symbol: StringFilter

  """"""
  updatedAt: DatetimeFilter
}

""""""
enum CurrencyStatus {
  """"""
  ACTIVE

  """"""
  INACTIVE
}

""""""
input CurrencyStatusEnumFilter {
  """"""
  eq: CurrencyStatus

  """"""
  in: [CurrencyStatus!]

  """"""
  ne: CurrencyStatus

  """"""
  nin: [CurrencyStatus!]
}

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

""""""
input DateBetweenFilter {
  """"""
  max: Date

  """"""
  min: Date
}

""""""
input DateFilter {
  """"""
  between: DateBetweenFilter

  """"""
  eq: Date

  """"""
  gt: Date

  """"""
  gte: Date

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

  """"""
  lt: Date

  """"""
  lte: Date

  """"""
  ne: Date

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

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

""""""
input DatetimeBetweenFilter {
  """"""
  max: DateTime

  """"""
  min: DateTime
}

""""""
input DatetimeFilter {
  """"""
  between: DatetimeBetweenFilter

  """"""
  eq: DateTime

  """"""
  gt: DateTime

  """"""
  gte: DateTime

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

  """"""
  lt: DateTime

  """"""
  lte: DateTime

  """"""
  ne: DateTime

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

"""Deactivated product"""
type DeactivateProductOutput {
  """Product ID"""
  id: ID!

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

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

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

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

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

""""""
scalar Decimal

"""Deleted attribute"""
type DeleteAttributeOutput {
  """Deleted attribute ID"""
  id: ID!
}

""""""
type DeleteCategoryOutput {
  """Deleted category ID"""
  id: ID!
}

"""Deleted product"""
type DeleteProductOutput {
  """Product ID"""
  id: ID!
}

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

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

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

  """Date from which this rate applies"""
  effectiveDate: Date!

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

  """Conversion rate (source x rate = target)"""
  rate: Float!

  """Foreign key to source Currency"""
  sourceCurrencyId: ID!

  """Foreign key to target Currency"""
  targetCurrencyId: ID!

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

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

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

"""exchangeRate(Connection)"""
type ExchangeRateConnection {
  """"""
  edges: [ExchangeRateEdge!]!

  """"""
  pageInfo: PageInfo!

  """"""
  total: Int
}

"""exchangeRate(Edge)"""
type ExchangeRateEdge {
  """"""
  cursor: String!

  """"""
  node: ExchangeRate!
}

""""""
enum ExchangeRateOrderFieldEnum {
  """"""
  createdAt

  """"""
  effectiveDate

  """"""
  rate

  """"""
  updatedAt
}

""""""
input ExchangeRateOrderInput {
  """"""
  direction: OrderDirectionEnum

  """"""
  field: ExchangeRateOrderFieldEnum!
}

"""exchangeRate(QueryInput)"""
input ExchangeRateQueryInput {
  """"""
  and: [ExchangeRateQueryInput!]

  """"""
  createdAt: DatetimeFilter

  """"""
  effectiveDate: DateFilter

  """"""
  id: UUIDFilter

  """"""
  not: [ExchangeRateQueryInput!]

  """"""
  or: [ExchangeRateQueryInput!]

  """"""
  rate: FloatFilter

  """"""
  sourceCurrencyId: UUIDFilter

  """"""
  targetCurrencyId: UUIDFilter

  """"""
  updatedAt: DatetimeFilter
}

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

""""""
input FloatBetweenFilter {
  """"""
  max: Float

  """"""
  min: Float
}

""""""
input FloatFilter {
  """"""
  between: FloatBetweenFilter

  """"""
  eq: Float

  """"""
  gt: Float

  """"""
  gte: Float

  """"""
  in: [Float!]

  """"""
  lt: Float

  """"""
  lte: Float

  """"""
  ne: Float

  """"""
  nin: [Float!]
}

"""Generated variants result"""
type GenerateVariantsOutput {
  """Number of generated variants"""
  generatedCount: String!
}

""""""
input IntegerBetweenFilter {
  """"""
  max: Int

  """"""
  min: Int
}

""""""
input IntegerFilter {
  """"""
  between: IntegerBetweenFilter

  """"""
  eq: Int

  """"""
  gt: Int

  """"""
  gte: Int

  """"""
  in: [Int!]

  """"""
  lt: Int

  """"""
  lte: Int

  """"""
  ne: Int

  """"""
  nin: [Int!]
}

""""""
type Item {
  """Optional unique barcode"""
  barcode: String

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

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

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

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

  """"""
  itemTaxonomyAssignments(after: String, before: String, first: Int, last: Int, order: [ItemTaxonomyAssignmentOrderInput], query: ItemTaxonomyAssignmentQueryInput): ItemTaxonomyAssignmentConnection!

  """Item display name"""
  name: String!

  """"""
  productVariants(after: String, before: String, first: Int, last: Int, order: [ProductVariantOrderInput], query: ProductVariantQueryInput): ProductVariantConnection!

  """Globally unique, immutable SKU identifier"""
  sku: String!

  """Lifecycle status: DRAFT, ACTIVE, INACTIVE"""
  status: ItemStatus!

  """"""
  unit: Unit

  """Foreign key to Unit"""
  unitId: ID!

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

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

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

"""item(Connection)"""
type ItemConnection {
  """"""
  edges: [ItemEdge!]!

  """"""
  pageInfo: PageInfo!

  """"""
  total: Int
}

"""item(Edge)"""
type ItemEdge {
  """"""
  cursor: String!

  """"""
  node: Item!
}

""""""
enum ItemOrderFieldEnum {
  """"""
  barcode

  """"""
  createdAt

  """"""
  name

  """"""
  sku

  """"""
  status

  """"""
  updatedAt
}

""""""
input ItemOrderInput {
  """"""
  direction: OrderDirectionEnum

  """"""
  field: ItemOrderFieldEnum!
}

"""item(QueryInput)"""
input ItemQueryInput {
  """"""
  and: [ItemQueryInput!]

  """"""
  barcode: StringFilter

  """"""
  createdAt: DatetimeFilter

  """"""
  id: UUIDFilter

  """"""
  name: StringFilter

  """"""
  not: [ItemQueryInput!]

  """"""
  or: [ItemQueryInput!]

  """"""
  sku: StringFilter

  """"""
  status: ItemStatusEnumFilter

  """"""
  unitId: UUIDFilter

  """"""
  updatedAt: DatetimeFilter
}

""""""
enum ItemStatus {
  """"""
  ACTIVE

  """"""
  DRAFT

  """"""
  INACTIVE
}

""""""
input ItemStatusEnumFilter {
  """"""
  eq: ItemStatus

  """"""
  in: [ItemStatus!]

  """"""
  ne: ItemStatus

  """"""
  nin: [ItemStatus!]
}

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

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

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

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

  """"""
  item: Item

  """Foreign key to Item"""
  itemId: ID!

  """"""
  taxonomyNode: TaxonomyNode

  """Foreign key to TaxonomyNode"""
  taxonomyNodeId: ID!

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

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

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

"""itemTaxonomyAssignment(Connection)"""
type ItemTaxonomyAssignmentConnection {
  """"""
  edges: [ItemTaxonomyAssignmentEdge!]!

  """"""
  pageInfo: PageInfo!

  """"""
  total: Int
}

"""itemTaxonomyAssignment(Edge)"""
type ItemTaxonomyAssignmentEdge {
  """"""
  cursor: String!

  """"""
  node: ItemTaxonomyAssignment!
}

""""""
enum ItemTaxonomyAssignmentOrderFieldEnum {
  """"""
  createdAt

  """"""
  updatedAt
}

""""""
input ItemTaxonomyAssignmentOrderInput {
  """"""
  direction: OrderDirectionEnum

  """"""
  field: ItemTaxonomyAssignmentOrderFieldEnum!
}

"""itemTaxonomyAssignment(QueryInput)"""
input ItemTaxonomyAssignmentQueryInput {
  """"""
  and: [ItemTaxonomyAssignmentQueryInput!]

  """"""
  createdAt: DatetimeFilter

  """"""
  id: UUIDFilter

  """"""
  itemId: UUIDFilter

  """"""
  not: [ItemTaxonomyAssignmentQueryInput!]

  """"""
  or: [ItemTaxonomyAssignmentQueryInput!]

  """"""
  taxonomyNodeId: UUIDFilter

  """"""
  updatedAt: DatetimeFilter
}

""""""
input ItemTaxonomyAssignmentUniqueIdx {
  """Foreign key to Item"""
  itemId: ID!

  """Foreign key to TaxonomyNode"""
  taxonomyNodeId: ID!
}

""""""
type MoveCategoryOutput {
  """Category ID"""
  id: ID!
}

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

  """
  activateProduct resolver
    
    Returns:
    Activated product
  """
  activateProduct(
    """Product ID"""
    id: ID!
  ): ActivateProductOutput!

  """
  createAttribute resolver
    
    Returns:
    Created attribute
  """
  createAttribute(
    """Attribute code"""
    code: String!

    """Attribute name"""
    name: String!

    """Initial value labels"""
    valueLabels: [String]
  ): CreateAttributeOutput!

  """createCategory resolver"""
  createCategory(
    """Category code"""
    code: String!

    """Category name"""
    name: String!

    """Parent category ID"""
    parentId: ID
  ): CreateCategoryOutput!

  """
  createProduct resolver
    
    Returns:
    Created product
  """
  createProduct(
    """Attribute value assignments"""
    attributes: [CreateProductInputAttributes]

    """Category IDs to assign"""
    categoryIds: [ID]

    """Product code"""
    code: String!

    """Product description"""
    description: String

    """Product name"""
    name: String!

    """Unit of measure ID"""
    unitId: ID!
  ): CreateProductOutput!

  """
  createRole resolver
    
    Returns:
    Created role
  """
  createRole(
    """Role description"""
    description: String

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

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

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

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

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

  """
  deactivateProduct resolver
    
    Returns:
    Deactivated product
  """
  deactivateProduct(
    """Product ID"""
    id: ID!
  ): DeactivateProductOutput!

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

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

  """
  deleteAttribute resolver
    
    Returns:
    Deleted attribute
  """
  deleteAttribute(
    """Attribute ID"""
    id: ID!
  ): DeleteAttributeOutput!

  """deleteCategory resolver"""
  deleteCategory(
    """Category ID"""
    id: ID!
  ): DeleteCategoryOutput!

  """
  deleteProduct resolver
    
    Returns:
    Deleted product
  """
  deleteProduct(
    """Product ID"""
    id: ID!
  ): DeleteProductOutput!

  """
  generateVariants resolver
    
    Returns:
    Generated variants result
  """
  generateVariants(
    """Product ID"""
    productId: ID!
  ): GenerateVariantsOutput!

  """moveCategory resolver"""
  moveCategory(
    """Category ID"""
    id: ID!

    """New parent category ID"""
    newParentId: ID
  ): MoveCategoryOutput!

  """
  reactivateProduct resolver
    
    Returns:
    Reactivated product
  """
  reactivateProduct(
    """Product ID"""
    id: ID!
  ): ReactivateProductOutput!

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

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

  """
  updateAttribute resolver
    
    Returns:
    Updated attribute
  """
  updateAttribute(
    """Attribute ID"""
    id: ID!

    """Attribute name"""
    name: String

    """Desired attribute values"""
    values: [UpdateAttributeInputValues]
  ): UpdateAttributeOutput!

  """updateCategory resolver"""
  updateCategory(
    """Category ID"""
    id: ID!

    """New category name"""
    name: String!
  ): UpdateCategoryOutput!

  """
  updateOwnProfile resolver
    
    Returns:
    Updated profile
  """
  updateOwnProfile(
    """New email address"""
    email: String

    """New display name"""
    name: String
  ): UpdateOwnProfileOutput!

  """
  updateProduct resolver
    
    Returns:
    Updated product
  """
  updateProduct(
    """New product description"""
    description: String

    """Product ID"""
    id: ID!

    """New product name"""
    name: String

    """New unit of measure ID"""
    unitId: ID
  ): UpdateProductOutput!

  """
  updateProductAttributes resolver
    
    Returns:
    Product attributes update result
  """
  updateProductAttributes(
    """Desired attribute value assignments"""
    attributes: [UpdateProductAttributesInputAttributes!]!

    """Product ID"""
    productId: ID!
  ): UpdateProductAttributesOutput!

  """
  updateProductCategories resolver
    
    Returns:
    Product categories update result
  """
  updateProductCategories(
    """Desired category IDs"""
    categoryIds: [ID!]!

    """Product ID"""
    productId: ID!
  ): UpdateProductCategoriesOutput!

  """
  updateRole resolver
    
    Returns:
    Role update result
  """
  updateRole(
    """New role description"""
    description: String

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

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

    """Role ID"""
    roleId: ID!
  ): UpdateRoleOutput!

  """
  updateUserProfile resolver
    
    Returns:
    Updated user profile
  """
  updateUserProfile(
    """New email address"""
    email: String

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

    """ID of the user to update"""
    userId: ID!
  ): UpdateUserProfileOutput!

  """
  updateUserRoles resolver
    
    Returns:
    User roles update result
  """
  updateUserRoles(
    """Desired role IDs"""
    roleIds: [ID!]!

    """User ID"""
    userId: ID!
  ): UpdateUserRolesOutput!
}

""""""
enum OrderDirectionEnum {
  """"""
  Asc

  """"""
  Desc
}

"""Information about pagination in a connection"""
type PageInfo {
  """"""
  endCursor: String

  """"""
  hasNextPage: Boolean!

  """"""
  hasPreviousPage: Boolean!

  """"""
  startCursor: String
}

""""""
type Product {
  """Globally unique, immutable product code"""
  code: String!

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

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

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

  """Optional product description"""
  description: String

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

  """Product display name"""
  name: String!

  """"""
  productAttributeAssignments(after: String, before: String, first: Int, last: Int, order: [ProductAttributeAssignmentOrderInput], query: ProductAttributeAssignmentQueryInput): ProductAttributeAssignmentConnection!

  """"""
  productCategoryAssignments(after: String, before: String, first: Int, last: Int, order: [ProductCategoryAssignmentOrderInput], query: ProductCategoryAssignmentQueryInput): ProductCategoryAssignmentConnection!

  """"""
  productVariants(after: String, before: String, first: Int, last: Int, order: [ProductVariantOrderInput], query: ProductVariantQueryInput): ProductVariantConnection!

  """Lifecycle status"""
  status: ProductStatus!

  """"""
  unit: Unit

  """Foreign key to Unit"""
  unitId: ID!

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

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

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

""""""
type ProductAttribute {
  """Globally unique, immutable attribute code"""
  code: String!

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

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

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

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

  """Attribute display name"""
  name: String!

  """"""
  productAttributeAssignments(after: String, before: String, first: Int, last: Int, order: [ProductAttributeAssignmentOrderInput], query: ProductAttributeAssignmentQueryInput): ProductAttributeAssignmentConnection!

  """"""
  productAttributeValues(after: String, before: String, first: Int, last: Int, order: [ProductAttributeValueOrderInput], query: ProductAttributeValueQueryInput): ProductAttributeValueConnection!

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

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

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

""""""
type ProductAttributeAssignment {
  """Foreign key to ProductAttribute"""
  attributeId: ID!

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

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

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

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

  """"""
  product: Product

  """"""
  productAttribute: ProductAttribute

  """"""
  productAttributeValue: ProductAttributeValue

  """Foreign key to Product"""
  productId: ID!

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

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

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

  """Foreign key to ProductAttributeValue"""
  valueId: ID!
}

"""productAttributeAssignment(Connection)"""
type ProductAttributeAssignmentConnection {
  """"""
  edges: [ProductAttributeAssignmentEdge!]!

  """"""
  pageInfo: PageInfo!

  """"""
  total: Int
}

"""productAttributeAssignment(Edge)"""
type ProductAttributeAssignmentEdge {
  """"""
  cursor: String!

  """"""
  node: ProductAttributeAssignment!
}

""""""
enum ProductAttributeAssignmentOrderFieldEnum {
  """"""
  createdAt

  """"""
  updatedAt
}

""""""
input ProductAttributeAssignmentOrderInput {
  """"""
  direction: OrderDirectionEnum

  """"""
  field: ProductAttributeAssignmentOrderFieldEnum!
}

"""productAttributeAssignment(QueryInput)"""
input ProductAttributeAssignmentQueryInput {
  """"""
  and: [ProductAttributeAssignmentQueryInput!]

  """"""
  attributeId: UUIDFilter

  """"""
  createdAt: DatetimeFilter

  """"""
  id: UUIDFilter

  """"""
  not: [ProductAttributeAssignmentQueryInput!]

  """"""
  or: [ProductAttributeAssignmentQueryInput!]

  """"""
  productId: UUIDFilter

  """"""
  updatedAt: DatetimeFilter

  """"""
  valueId: UUIDFilter
}

""""""
input ProductAttributeAssignmentUniqueIdx {
  """Foreign key to ProductAttribute"""
  attributeId: ID!

  """Foreign key to Product"""
  productId: ID!

  """Foreign key to ProductAttributeValue"""
  valueId: ID!
}

"""productAttribute(Connection)"""
type ProductAttributeConnection {
  """"""
  edges: [ProductAttributeEdge!]!

  """"""
  pageInfo: PageInfo!

  """"""
  total: Int
}

"""productAttribute(Edge)"""
type ProductAttributeEdge {
  """"""
  cursor: String!

  """"""
  node: ProductAttribute!
}

""""""
enum ProductAttributeOrderFieldEnum {
  """"""
  code

  """"""
  createdAt

  """"""
  name

  """"""
  updatedAt
}

""""""
input ProductAttributeOrderInput {
  """"""
  direction: OrderDirectionEnum

  """"""
  field: ProductAttributeOrderFieldEnum!
}

"""productAttribute(QueryInput)"""
input ProductAttributeQueryInput {
  """"""
  and: [ProductAttributeQueryInput!]

  """"""
  code: StringFilter

  """"""
  createdAt: DatetimeFilter

  """"""
  id: UUIDFilter

  """"""
  name: StringFilter

  """"""
  not: [ProductAttributeQueryInput!]

  """"""
  or: [ProductAttributeQueryInput!]

  """"""
  updatedAt: DatetimeFilter
}

""""""
type ProductAttributeValue {
  """Foreign key to ProductAttribute"""
  attributeId: ID!

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

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

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

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

  """Display label for this value option"""
  label: String!

  """"""
  productAttribute: ProductAttribute

  """"""
  productAttributeAssignments(after: String, before: String, first: Int, last: Int, order: [ProductAttributeAssignmentOrderInput], query: ProductAttributeAssignmentQueryInput): ProductAttributeAssignmentConnection!

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

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

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

"""productAttributeValue(Connection)"""
type ProductAttributeValueConnection {
  """"""
  edges: [ProductAttributeValueEdge!]!

  """"""
  pageInfo: PageInfo!

  """"""
  total: Int
}

"""productAttributeValue(Edge)"""
type ProductAttributeValueEdge {
  """"""
  cursor: String!

  """"""
  node: ProductAttributeValue!
}

""""""
enum ProductAttributeValueOrderFieldEnum {
  """"""
  createdAt

  """"""
  label

  """"""
  updatedAt
}

""""""
input ProductAttributeValueOrderInput {
  """"""
  direction: OrderDirectionEnum

  """"""
  field: ProductAttributeValueOrderFieldEnum!
}

"""productAttributeValue(QueryInput)"""
input ProductAttributeValueQueryInput {
  """"""
  and: [ProductAttributeValueQueryInput!]

  """"""
  attributeId: UUIDFilter

  """"""
  createdAt: DatetimeFilter

  """"""
  id: UUIDFilter

  """"""
  label: StringFilter

  """"""
  not: [ProductAttributeValueQueryInput!]

  """"""
  or: [ProductAttributeValueQueryInput!]

  """"""
  updatedAt: DatetimeFilter
}

""""""
input ProductAttributeValueUniqueIdx {
  """Foreign key to ProductAttribute"""
  attributeId: ID!

  """Display label for this value option"""
  label: String!
}

""""""
type ProductCategory {
  """"""
  children(after: String, before: String, first: Int, last: Int, order: [ProductCategoryOrderInput], query: ProductCategoryQueryInput): ProductCategoryConnection!

  """Globally unique, immutable category code"""
  code: String!

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

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

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

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

  """Category display name"""
  name: String!

  """"""
  parent: ProductCategory

  """Parent category ID (null for root categories)"""
  parentId: ID

  """"""
  productCategoryAssignments(after: String, before: String, first: Int, last: Int, order: [ProductCategoryAssignmentOrderInput], query: ProductCategoryAssignmentQueryInput): ProductCategoryAssignmentConnection!

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

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

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

""""""
type ProductCategoryAssignment {
  """Foreign key to ProductCategory"""
  categoryId: ID!

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

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

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

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

  """"""
  product: Product

  """"""
  productCategory: ProductCategory

  """Foreign key to Product"""
  productId: ID!

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

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

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

"""productCategoryAssignment(Connection)"""
type ProductCategoryAssignmentConnection {
  """"""
  edges: [ProductCategoryAssignmentEdge!]!

  """"""
  pageInfo: PageInfo!

  """"""
  total: Int
}

"""productCategoryAssignment(Edge)"""
type ProductCategoryAssignmentEdge {
  """"""
  cursor: String!

  """"""
  node: ProductCategoryAssignment!
}

""""""
enum ProductCategoryAssignmentOrderFieldEnum {
  """"""
  createdAt

  """"""
  updatedAt
}

""""""
input ProductCategoryAssignmentOrderInput {
  """"""
  direction: OrderDirectionEnum

  """"""
  field: ProductCategoryAssignmentOrderFieldEnum!
}

"""productCategoryAssignment(QueryInput)"""
input ProductCategoryAssignmentQueryInput {
  """"""
  and: [ProductCategoryAssignmentQueryInput!]

  """"""
  categoryId: UUIDFilter

  """"""
  createdAt: DatetimeFilter

  """"""
  id: UUIDFilter

  """"""
  not: [ProductCategoryAssignmentQueryInput!]

  """"""
  or: [ProductCategoryAssignmentQueryInput!]

  """"""
  productId: UUIDFilter

  """"""
  updatedAt: DatetimeFilter
}

""""""
input ProductCategoryAssignmentUniqueIdx {
  """Foreign key to ProductCategory"""
  categoryId: ID!

  """Foreign key to Product"""
  productId: ID!
}

"""productCategory(Connection)"""
type ProductCategoryConnection {
  """"""
  edges: [ProductCategoryEdge!]!

  """"""
  pageInfo: PageInfo!

  """"""
  total: Int
}

"""productCategory(Edge)"""
type ProductCategoryEdge {
  """"""
  cursor: String!

  """"""
  node: ProductCategory!
}

""""""
enum ProductCategoryOrderFieldEnum {
  """"""
  code

  """"""
  createdAt

  """"""
  name

  """"""
  updatedAt
}

""""""
input ProductCategoryOrderInput {
  """"""
  direction: OrderDirectionEnum

  """"""
  field: ProductCategoryOrderFieldEnum!
}

"""productCategory(QueryInput)"""
input ProductCategoryQueryInput {
  """"""
  and: [ProductCategoryQueryInput!]

  """"""
  code: StringFilter

  """"""
  createdAt: DatetimeFilter

  """"""
  id: UUIDFilter

  """"""
  name: StringFilter

  """"""
  not: [ProductCategoryQueryInput!]

  """"""
  or: [ProductCategoryQueryInput!]

  """"""
  parentId: UUIDFilter

  """"""
  updatedAt: DatetimeFilter
}

"""product(Connection)"""
type ProductConnection {
  """"""
  edges: [ProductEdge!]!

  """"""
  pageInfo: PageInfo!

  """"""
  total: Int
}

"""product(Edge)"""
type ProductEdge {
  """"""
  cursor: String!

  """"""
  node: Product!
}

""""""
enum ProductOrderFieldEnum {
  """"""
  code

  """"""
  createdAt

  """"""
  description

  """"""
  name

  """"""
  status

  """"""
  updatedAt
}

""""""
input ProductOrderInput {
  """"""
  direction: OrderDirectionEnum

  """"""
  field: ProductOrderFieldEnum!
}

"""product(QueryInput)"""
input ProductQueryInput {
  """"""
  and: [ProductQueryInput!]

  """"""
  code: StringFilter

  """"""
  createdAt: DatetimeFilter

  """"""
  description: StringFilter

  """"""
  id: UUIDFilter

  """"""
  name: StringFilter

  """"""
  not: [ProductQueryInput!]

  """"""
  or: [ProductQueryInput!]

  """"""
  status: ProductStatusEnumFilter

  """"""
  unitId: UUIDFilter

  """"""
  updatedAt: DatetimeFilter
}

""""""
enum ProductStatus {
  """"""
  ACTIVE

  """"""
  ARCHIVED

  """"""
  DRAFT
}

""""""
input ProductStatusEnumFilter {
  """"""
  eq: ProductStatus

  """"""
  in: [ProductStatus!]

  """"""
  ne: ProductStatus

  """"""
  nin: [ProductStatus!]
}

""""""
type ProductVariant {
  """
  Canonical key derived from sorted axis value IDs (e.g., value-1|value-3)
  """
  axisValueKey: String!

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

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

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

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

  """"""
  item: Item

  """Foreign key to generated Item in item-management"""
  itemId: ID!

  """"""
  product: Product

  """Foreign key to Product"""
  productId: ID!

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

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

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

"""productVariant(Connection)"""
type ProductVariantConnection {
  """"""
  edges: [ProductVariantEdge!]!

  """"""
  pageInfo: PageInfo!

  """"""
  total: Int
}

"""productVariant(Edge)"""
type ProductVariantEdge {
  """"""
  cursor: String!

  """"""
  node: ProductVariant!
}

""""""
enum ProductVariantOrderFieldEnum {
  """"""
  axisValueKey

  """"""
  createdAt

  """"""
  updatedAt
}

""""""
input ProductVariantOrderInput {
  """"""
  direction: OrderDirectionEnum

  """"""
  field: ProductVariantOrderFieldEnum!
}

"""productVariant(QueryInput)"""
input ProductVariantQueryInput {
  """"""
  and: [ProductVariantQueryInput!]

  """"""
  axisValueKey: StringFilter

  """"""
  createdAt: DatetimeFilter

  """"""
  id: UUIDFilter

  """"""
  itemId: UUIDFilter

  """"""
  not: [ProductVariantQueryInput!]

  """"""
  or: [ProductVariantQueryInput!]

  """"""
  productId: UUIDFilter

  """"""
  updatedAt: DatetimeFilter
}

""""""
input ProductVariantUniqueIdx {
  """
  Canonical key derived from sorted axis value IDs (e.g., value-1|value-3)
  """
  axisValueKey: String!

  """Foreign key to Product"""
  productId: ID!
}

""""""
type Query {
  """"""
  _user(id: ID!): _User

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

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

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

  """currency(GetList)"""
  currencies(after: String, before: String, first: Int, last: Int, order: [CurrencyOrderInput], query: CurrencyQueryInput): CurrencyConnection!

  """currency(GetOne)"""
  currency(id: ID!): Currency

  """currencyBy(GetOneBy)"""
  currencyBy(
    """ISO 4217 currency code (e.g., USD)"""
    code: String

    """"""
    id: ID
  ): Currency

  """exchangeRate(GetOne)"""
  exchangeRate(id: ID!): ExchangeRate

  """exchangeRate(GetList)"""
  exchangeRates(after: String, before: String, first: Int, last: Int, order: [ExchangeRateOrderInput], query: ExchangeRateQueryInput): ExchangeRateConnection!

  """item(GetOne)"""
  item(id: ID!): Item

  """itemBy(GetOneBy)"""
  itemBy(
    """Optional unique barcode"""
    barcode: String

    """"""
    id: ID

    """Globally unique, immutable SKU identifier"""
    sku: String
  ): Item

  """itemTaxonomyAssignment(GetOne)"""
  itemTaxonomyAssignment(id: ID!): ItemTaxonomyAssignment

  """itemTaxonomyAssignmentBy(GetOneBy)"""
  itemTaxonomyAssignmentBy(id: ID, itemTaxonomyAssignmentUniqueIdx: ItemTaxonomyAssignmentUniqueIdx): ItemTaxonomyAssignment

  """itemTaxonomyAssignment(GetList)"""
  itemTaxonomyAssignments(after: String, before: String, first: Int, last: Int, order: [ItemTaxonomyAssignmentOrderInput], query: ItemTaxonomyAssignmentQueryInput): ItemTaxonomyAssignmentConnection!

  """item(GetList)"""
  items(after: String, before: String, first: Int, last: Int, order: [ItemOrderInput], query: ItemQueryInput): ItemConnection!

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

  """product(GetOne)"""
  product(id: ID!): Product

  """productAttribute(GetOne)"""
  productAttribute(id: ID!): ProductAttribute

  """productAttributeAssignment(GetOne)"""
  productAttributeAssignment(id: ID!): ProductAttributeAssignment

  """productAttributeAssignmentBy(GetOneBy)"""
  productAttributeAssignmentBy(id: ID, productAttributeAssignmentUniqueIdx: ProductAttributeAssignmentUniqueIdx): ProductAttributeAssignment

  """productAttributeAssignment(GetList)"""
  productAttributeAssignments(after: String, before: String, first: Int, last: Int, order: [ProductAttributeAssignmentOrderInput], query: ProductAttributeAssignmentQueryInput): ProductAttributeAssignmentConnection!

  """productAttributeBy(GetOneBy)"""
  productAttributeBy(
    """Globally unique, immutable attribute code"""
    code: String

    """"""
    id: ID
  ): ProductAttribute

  """productAttributeValue(GetOne)"""
  productAttributeValue(id: ID!): ProductAttributeValue

  """productAttributeValueBy(GetOneBy)"""
  productAttributeValueBy(id: ID, productAttributeValueUniqueIdx: ProductAttributeValueUniqueIdx): ProductAttributeValue

  """productAttributeValue(GetList)"""
  productAttributeValues(after: String, before: String, first: Int, last: Int, order: [ProductAttributeValueOrderInput], query: ProductAttributeValueQueryInput): ProductAttributeValueConnection!

  """productAttribute(GetList)"""
  productAttributes(after: String, before: String, first: Int, last: Int, order: [ProductAttributeOrderInput], query: ProductAttributeQueryInput): ProductAttributeConnection!

  """productBy(GetOneBy)"""
  productBy(
    """Globally unique, immutable product code"""
    code: String

    """"""
    id: ID
  ): Product

  """productCategory(GetList)"""
  productCategories(after: String, before: String, first: Int, last: Int, order: [ProductCategoryOrderInput], query: ProductCategoryQueryInput): ProductCategoryConnection!

  """productCategory(GetOne)"""
  productCategory(id: ID!): ProductCategory

  """productCategoryAssignment(GetOne)"""
  productCategoryAssignment(id: ID!): ProductCategoryAssignment

  """productCategoryAssignmentBy(GetOneBy)"""
  productCategoryAssignmentBy(id: ID, productCategoryAssignmentUniqueIdx: ProductCategoryAssignmentUniqueIdx): ProductCategoryAssignment

  """productCategoryAssignment(GetList)"""
  productCategoryAssignments(after: String, before: String, first: Int, last: Int, order: [ProductCategoryAssignmentOrderInput], query: ProductCategoryAssignmentQueryInput): ProductCategoryAssignmentConnection!

  """productCategoryBy(GetOneBy)"""
  productCategoryBy(
    """Globally unique, immutable category code"""
    code: String

    """"""
    id: ID
  ): ProductCategory

  """productVariant(GetOne)"""
  productVariant(id: ID!): ProductVariant

  """productVariantBy(GetOneBy)"""
  productVariantBy(id: ID, productVariantUniqueIdx: ProductVariantUniqueIdx): ProductVariant

  """productVariant(GetList)"""
  productVariants(after: String, before: String, first: Int, last: Int, order: [ProductVariantOrderInput], query: ProductVariantQueryInput): ProductVariantConnection!

  """product(GetList)"""
  products(after: String, before: String, first: Int, last: Int, order: [ProductOrderInput], query: ProductQueryInput): ProductConnection!

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

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

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

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

  """taxonomyNode(GetOne)"""
  taxonomyNode(id: ID!): TaxonomyNode

  """taxonomyNodeBy(GetOneBy)"""
  taxonomyNodeBy(
    """Globally unique, immutable node code"""
    code: String

    """"""
    id: ID
  ): TaxonomyNode

  """taxonomyNode(GetList)"""
  taxonomyNodes(after: String, before: String, first: Int, last: Int, order: [TaxonomyNodeOrderInput], query: TaxonomyNodeQueryInput): TaxonomyNodeConnection!

  """unit(GetOne)"""
  unit(id: ID!): Unit

  """unitBy(GetOneBy)"""
  unitBy(
    """"""
    id: ID

    """Short symbol (e.g., kg)"""
    symbol: String
  ): Unit

  """unit(GetList)"""
  units(after: String, before: String, first: Int, last: Int, order: [UnitOrderInput], query: UnitQueryInput): UnitConnection!

  """uoMCategory(GetList)"""
  uoMCategories(after: String, before: String, first: Int, last: Int, order: [UoMCategoryOrderInput], query: UoMCategoryQueryInput): UoMCategoryConnection!

  """uoMCategory(GetOne)"""
  uoMCategory(id: ID!): UoMCategory

  """uoMCategoryBy(GetOneBy)"""
  uoMCategoryBy(
    """"""
    id: ID

    """Category name (e.g., Weight, Volume, Length)"""
    name: String
  ): UoMCategory

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

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

    """"""
    id: ID
  ): User

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

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

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

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

"""Reactivated product"""
type ReactivateProductOutput {
  """Product ID"""
  id: ID!

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

"""role(Connection)"""
type RoleConnection {
  """"""
  edges: [RoleEdge!]!

  """"""
  pageInfo: PageInfo!

  """"""
  total: Int
}

"""role(Edge)"""
type RoleEdge {
  """"""
  cursor: String!

  """"""
  node: Role!
}

""""""
enum RoleOrderFieldEnum {
  """"""
  createdAt

  """"""
  description

  """"""
  name

  """"""
  status

  """"""
  updatedAt
}

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

  """"""
  field: RoleOrderFieldEnum!
}

"""role(QueryInput)"""
input RoleQueryInput {
  """"""
  and: [RoleQueryInput!]

  """"""
  createdAt: DatetimeFilter

  """"""
  description: StringFilter

  """"""
  id: UUIDFilter

  """"""
  name: StringFilter

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

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

  """"""
  permissions: StringArrayFilter

  """"""
  status: RoleStatusEnumFilter

  """"""
  updatedAt: DatetimeFilter
}

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

  """"""
  INACTIVE
}

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

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

  """"""
  ne: RoleStatus

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

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

  """"""
  exists: Boolean

  """"""
  has: StringFilter

  """"""
  len: ArrayLengthFilter
}

""""""
input StringFilter {
  """"""
  contains: String

  """"""
  eq: String

  """"""
  hasPrefix: String

  """"""
  hasSuffix: String

  """"""
  in: [String!]

  """"""
  ne: String

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

  """"""
  notContains: String

  """"""
  notHasPrefix: String

  """"""
  notHasSuffix: String

  """"""
  regex: String
}

""""""
type TaxonomyNode {
  """"""
  children(after: String, before: String, first: Int, last: Int, order: [TaxonomyNodeOrderInput], query: TaxonomyNodeQueryInput): TaxonomyNodeConnection!

  """Globally unique, immutable node code"""
  code: String!

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

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

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

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

  """"""
  itemTaxonomyAssignments(after: String, before: String, first: Int, last: Int, order: [ItemTaxonomyAssignmentOrderInput], query: ItemTaxonomyAssignmentQueryInput): ItemTaxonomyAssignmentConnection!

  """Display name for the taxonomy node"""
  name: String!

  """"""
  parent: TaxonomyNode

  """Parent node ID (null for root nodes)"""
  parentId: ID

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

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

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

"""taxonomyNode(Connection)"""
type TaxonomyNodeConnection {
  """"""
  edges: [TaxonomyNodeEdge!]!

  """"""
  pageInfo: PageInfo!

  """"""
  total: Int
}

"""taxonomyNode(Edge)"""
type TaxonomyNodeEdge {
  """"""
  cursor: String!

  """"""
  node: TaxonomyNode!
}

""""""
enum TaxonomyNodeOrderFieldEnum {
  """"""
  code

  """"""
  createdAt

  """"""
  name

  """"""
  updatedAt
}

""""""
input TaxonomyNodeOrderInput {
  """"""
  direction: OrderDirectionEnum

  """"""
  field: TaxonomyNodeOrderFieldEnum!
}

"""taxonomyNode(QueryInput)"""
input TaxonomyNodeQueryInput {
  """"""
  and: [TaxonomyNodeQueryInput!]

  """"""
  code: StringFilter

  """"""
  createdAt: DatetimeFilter

  """"""
  id: UUIDFilter

  """"""
  name: StringFilter

  """"""
  not: [TaxonomyNodeQueryInput!]

  """"""
  or: [TaxonomyNodeQueryInput!]

  """"""
  parentId: UUIDFilter

  """"""
  updatedAt: DatetimeFilter
}

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

""""""
input TimeBetweenFilter {
  """"""
  max: Time

  """"""
  min: Time
}

""""""
input TimeFilter {
  """"""
  between: TimeBetweenFilter

  """"""
  eq: Time

  """"""
  gt: Time

  """"""
  gte: Time

  """"""
  in: [Time]

  """"""
  lt: Time

  """"""
  lte: Time

  """"""
  ne: Time

  """"""
  nin: [Time]
}

""""""
input UUIDFilter {
  """"""
  eq: ID

  """"""
  in: [ID!]

  """"""
  ne: ID

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

""""""
type Unit {
  """Foreign key to UoMCategory"""
  categoryId: ID!

  """Multiplier relative to reference unit (reference unit = 1.0)"""
  conversionFactor: Float!

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

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

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

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

  """"""
  items(after: String, before: String, first: Int, last: Int, order: [ItemOrderInput], query: ItemQueryInput): ItemConnection!

  """Unit display name (e.g., Kilogram)"""
  name: String!

  """"""
  products(after: String, before: String, first: Int, last: Int, order: [ProductOrderInput], query: ProductQueryInput): ProductConnection!

  """Decimal places for rounding"""
  roundingPrecision: Int!

  """Lifecycle status"""
  status: UnitStatus!

  """Short symbol (e.g., kg)"""
  symbol: String!

  """"""
  uoMCategory: UoMCategory

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

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

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

"""unit(Connection)"""
type UnitConnection {
  """"""
  edges: [UnitEdge!]!

  """"""
  pageInfo: PageInfo!

  """"""
  total: Int
}

"""unit(Edge)"""
type UnitEdge {
  """"""
  cursor: String!

  """"""
  node: Unit!
}

""""""
enum UnitOrderFieldEnum {
  """"""
  conversionFactor

  """"""
  createdAt

  """"""
  name

  """"""
  roundingPrecision

  """"""
  status

  """"""
  symbol

  """"""
  updatedAt
}

""""""
input UnitOrderInput {
  """"""
  direction: OrderDirectionEnum

  """"""
  field: UnitOrderFieldEnum!
}

"""unit(QueryInput)"""
input UnitQueryInput {
  """"""
  and: [UnitQueryInput!]

  """"""
  categoryId: UUIDFilter

  """"""
  conversionFactor: FloatFilter

  """"""
  createdAt: DatetimeFilter

  """"""
  id: UUIDFilter

  """"""
  name: StringFilter

  """"""
  not: [UnitQueryInput!]

  """"""
  or: [UnitQueryInput!]

  """"""
  roundingPrecision: IntegerFilter

  """"""
  status: UnitStatusEnumFilter

  """"""
  symbol: StringFilter

  """"""
  updatedAt: DatetimeFilter
}

""""""
enum UnitStatus {
  """"""
  ACTIVE

  """"""
  INACTIVE
}

""""""
input UnitStatusEnumFilter {
  """"""
  eq: UnitStatus

  """"""
  in: [UnitStatus!]

  """"""
  ne: UnitStatus

  """"""
  nin: [UnitStatus!]
}

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

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

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

  """Optional description of the category"""
  description: String

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

  """Category name (e.g., Weight, Volume, Length)"""
  name: String!

  """Foreign key to the reference Unit for conversions"""
  referenceUnitId: ID

  """Lifecycle status"""
  status: UoMCategoryStatus!

  """"""
  units(after: String, before: String, first: Int, last: Int, order: [UnitOrderInput], query: UnitQueryInput): UnitConnection!

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

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

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

"""uoMCategory(Connection)"""
type UoMCategoryConnection {
  """"""
  edges: [UoMCategoryEdge!]!

  """"""
  pageInfo: PageInfo!

  """"""
  total: Int
}

"""uoMCategory(Edge)"""
type UoMCategoryEdge {
  """"""
  cursor: String!

  """"""
  node: UoMCategory!
}

""""""
enum UoMCategoryOrderFieldEnum {
  """"""
  createdAt

  """"""
  description

  """"""
  name

  """"""
  status

  """"""
  updatedAt
}

""""""
input UoMCategoryOrderInput {
  """"""
  direction: OrderDirectionEnum

  """"""
  field: UoMCategoryOrderFieldEnum!
}

"""uoMCategory(QueryInput)"""
input UoMCategoryQueryInput {
  """"""
  and: [UoMCategoryQueryInput!]

  """"""
  createdAt: DatetimeFilter

  """"""
  description: StringFilter

  """"""
  id: UUIDFilter

  """"""
  name: StringFilter

  """"""
  not: [UoMCategoryQueryInput!]

  """"""
  or: [UoMCategoryQueryInput!]

  """"""
  referenceUnitId: UUIDFilter

  """"""
  status: UoMCategoryStatusEnumFilter

  """"""
  updatedAt: DatetimeFilter
}

""""""
enum UoMCategoryStatus {
  """"""
  ACTIVE

  """"""
  INACTIVE
}

""""""
input UoMCategoryStatusEnumFilter {
  """"""
  eq: UoMCategoryStatus

  """"""
  in: [UoMCategoryStatus!]

  """"""
  ne: UoMCategoryStatus

  """"""
  nin: [UoMCategoryStatus!]
}

"""Desired attribute values"""
input UpdateAttributeInputValues {
  """Value ID (omit for new values)"""
  id: ID

  """Value label"""
  label: String!
}

"""Updated attribute"""
type UpdateAttributeOutput {
  """Attribute ID"""
  id: ID!
}

""""""
type UpdateCategoryOutput {
  """Category ID"""
  id: ID!

  """Updated category name"""
  name: String!
}

"""Updated profile"""
type UpdateOwnProfileOutput {
  """Updated email"""
  email: String!

  """User ID"""
  id: ID!

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

"""Desired attribute value assignments"""
input UpdateProductAttributesInputAttributes {
  """Attribute ID"""
  attributeId: ID!

  """Value ID"""
  valueId: ID!
}

"""Product attributes update result"""
type UpdateProductAttributesOutput {
  """Product ID"""
  productId: ID!
}

"""Product categories update result"""
type UpdateProductCategoriesOutput {
  """Product ID"""
  productId: ID!
}

"""Updated product"""
type UpdateProductOutput {
  """Product ID"""
  id: ID!

  """Product name"""
  name: String!

  """Product status"""
  status: String!
}

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

"""Updated user profile"""
type UpdateUserProfileOutput {
  """Updated email"""
  email: String!

  """User ID"""
  id: ID!

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

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

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

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

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

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

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

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

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

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

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

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

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

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

"""user(Connection)"""
type UserConnection {
  """"""
  edges: [UserEdge!]!

  """"""
  pageInfo: PageInfo!

  """"""
  total: Int
}

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

  """"""
  node: User!
}

""""""
enum UserOrderFieldEnum {
  """"""
  createdAt

  """"""
  email

  """"""
  name

  """"""
  status

  """"""
  updatedAt
}

""""""
input UserOrderInput {
  """"""
  direction: OrderDirectionEnum

  """"""
  field: UserOrderFieldEnum!
}

"""user(QueryInput)"""
input UserQueryInput {
  """"""
  and: [UserQueryInput!]

  """"""
  createdAt: DatetimeFilter

  """"""
  email: StringFilter

  """"""
  id: UUIDFilter

  """"""
  name: StringFilter

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

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

  """"""
  permissions: StringArrayFilter

  """"""
  status: UserStatusEnumFilter

  """"""
  updatedAt: DatetimeFilter
}

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

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

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

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

  """"""
  role: Role

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

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

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

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

  """"""
  user: User

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

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

  """"""
  pageInfo: PageInfo!

  """"""
  total: Int
}

"""userRole(Edge)"""
type UserRoleEdge {
  """"""
  cursor: String!

  """"""
  node: UserRole!
}

""""""
enum UserRoleOrderFieldEnum {
  """"""
  createdAt

  """"""
  updatedAt
}

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

  """"""
  field: UserRoleOrderFieldEnum!
}

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

  """"""
  createdAt: DatetimeFilter

  """"""
  id: UUIDFilter

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

  """"""
  or: [UserRoleQueryInput!]

  """"""
  roleId: UUIDFilter

  """"""
  updatedAt: DatetimeFilter

  """"""
  userId: UUIDFilter
}

""""""
input UserRoleUniqueIdx {
  """Foreign key to Role"""
  roleId: ID!

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

""""""
enum UserStatus {
  """"""
  ACTIVE

  """"""
  INACTIVE

  """"""
  PENDING
}

""""""
input UserStatusEnumFilter {
  """"""
  eq: UserStatus

  """"""
  in: [UserStatus!]

  """"""
  ne: UserStatus

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

""""""
type _PageInfo {
  """"""
  endCursor: String

  """"""
  hasNextPage: Boolean!

  """"""
  hasPreviousPage: Boolean!

  """"""
  startCursor: String
}

""""""
type _User {
  """"""
  createdAt: DateTime!

  """"""
  disabled: Boolean!

  """"""
  id: ID!

  """"""
  name: String!
}

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

  """"""
  pageInfo: _PageInfo

  """"""
  totalCount: Int
}

""""""
type _UserEdge {
  """"""
  cursor: String

  """"""
  node: _User
}

""""""
input _UserQueryInput {
  """"""
  ids: [ID!]

  """"""
  names: [String!]
}
