N1Developer docsv1

TYPE REFERENCE

UserEdge

Referenced by 1 generated operations.

Documented fields

  • cursorString!Required

    Opaque position of this row in the list.

    Example: "WyJhc2hhIGRlbW8iLCIwMTkyZjBjMS0wMDAwLTcwMDAtODAwMC0wMDAwMDAwMDAwYTEiXQ"

  • nodeUser!Required

    The User.

    Example: {"id":"0192f0c1-0000-7000-8000-0000000000a1","name":"Asha Demo","email":"asha@demo-shop.example","phone":"+91 90000 00001","role":"OWNER","status":"ACTIVE","lastLoginAt":"2026-10-12T04:30:00.000Z"}

    Show children
    • activityActivityConnection!Required

      Newest activity first, cursor paged.

      Field arguments
      • afterStringOptional

        endCursor of the previous page.

      • beforeStringOptional

        startCursor of the next page, when paging backwards.

      • firstIntOptional

        Page size, 1–100 (default 20).

      • lastIntOptional

        Page size when paging backwards, 1–100.

      Show children
      • edges[ActivityEdge!]!Required

        The rows on this page, in order.

      • pageInfoPageInfo!Required

        Whether more pages exist, and the cursors to reach them.

      • totalCountInt!Required

        All rows matching the filter and search, not just this page.

    • addressString!Required

      address from the user profile.

    • cityString!Required

      city from the user profile.

    • countryString!Required

      country from the user profile.

    • createdAtString!Required

      UTC time the user was added.

    • departmentString!Required

      department from the user profile.

    • designationString!Required

      designation from the user profile.

    • documents[AppFileReference!]!Required

      At most 20 document references.

      Show children
      • idID!Required

        File id; obtain authorised download URL from files API.

      • kindStringOptional

        Document category.

      • nameString!Required

        Display filename.

      • sizeBytesFloat!Required

        Size in bytes, safe integer.

    • emailStringOptional

      Sign-in email, if any.

      Example: "asha@demo-shop.example"

    • hasPasswordBoolean!Required

      Whether a password has been set.

    • idID!Required

      Stable id (UUIDv7).

      Example: "0192f0c1-0000-7000-8000-0000000000a1"

    • joinedAtString!Required

      Membership business date, YYYY-MM-DD.

    • lastLoginAtStringOptional

      UTC time of the last sign-in; null if never.

      Example: "2026-10-12T04:30:00.000Z"

    • nameString!Required

      Full name.

      Example: "Asha Demo"

    • permissionsAppPermissions!Required

      Role-capped app controls.

      Show children
      • exportReportsBoolean!Required

        May export reports.

      • manageUsersBoolean!Required

        May manage users.

      • viewOrdersBoolean!Required

        May view orders.

    • phoneStringOptional

      Sign-in phone, if any.

      Example: "+91 90000 00001"

    • photoAppFileReferenceOptional

      Profile photo reference.

      Show children
      • idID!Required

        File id; obtain authorised download URL from files API.

      • kindStringOptional

        Document category.

      • nameString!Required

        Display filename.

      • sizeBytesFloat!Required

        Size in bytes, safe integer.

    • pinCodeString!Required

      pinCode from the user profile.

    • roleRoleName!Required

      Their role in this shop.

      Example: "OWNER"

      • ACCOUNTANTCustomers, invoices and payments.
      • ADMINManages people, settings and customers on the owner’s behalf.
      • OPERATORRuns machines and logs production.
      • OWNERRuns the shop. Everything, including who else can sign in.
      • QCInspects parts and records results.
      • SUPERVISORPlans and watches the shop floor.
    • stateString!Required

      state from the user profile.

    • statusUserStatus!Required

      Whether they can sign in.

      Example: "ACTIVE"

      • ACTIVECan sign in.
      • INACTIVECannot sign in; their sessions were revoked. History stays.
      • INVITEDInvitation pending.
      • SUSPENDEDAccess suspended; history retained.

Used by

Search documentation

Search operations, types and errors from the generated contract.