diff --git a/SYSTEM_DESIGN_README.md b/SYSTEM_DESIGN_README.md index 029eece..1ab42e5 100644 --- a/SYSTEM_DESIGN_README.md +++ b/SYSTEM_DESIGN_README.md @@ -163,14 +163,13 @@ The Go auth service issues JWTs with a `https://hasura.io/jwt/claims` namespace. `company_id` is the outermost filter on every single table. A tenant can never see another tenant's data regardless of role. -| Role | issues — SELECT | INSERT | UPDATE | -| ------------------ | ------------------------------------------------------------------------------------------------------------------- | ------------------ | ----------------------------------- | -| `employee` | `company_id = x-hasura-company-id` AND `reporter_id = x-hasura-user-id` | ✓ own reports only | Comments only | -| `technician` | `company_id = x-hasura-company-id` AND (`assigned_to = x-hasura-user-id` OR `location_id IN x-hasura-location-ids`) | ✗ | Status + notes on assigned issues | -| `location_manager` | `company_id = x-hasura-company-id` AND `location_id IN x-hasura-location-ids` | ✓ | All fields for their locations | -| `ops_manager` | `company_id = x-hasura-company-id` | ✓ | All fields across company | -| `admin` | `company_id = x-hasura-company-id` | ✓ | All fields | -| `super_admin` | No filter | ✓ | All fields — platform operator only | +| Role | issues — SELECT | INSERT | UPDATE | +| ------------------ | ------------------------------------------------------------------------------------------------------------------- | ------------------ | --------------------------------- | +| `employee` | `company_id = x-hasura-company-id` AND `reporter_id = x-hasura-user-id` | ✓ own reports only | Comments only | +| `technician` | `company_id = x-hasura-company-id` AND (`assigned_to = x-hasura-user-id` OR `location_id IN x-hasura-location-ids`) | ✗ | Status + notes on assigned issues | +| `location_manager` | `company_id = x-hasura-company-id` AND `location_id IN x-hasura-location-ids` | ✓ | All fields for their locations | +| `ops_manager` | `company_id = x-hasura-company-id` | ✓ | All fields across company | +| `admin` | no filter | ✓ | All fields only for us | > `company_id` is present on every table and verified in Hasura middleware on every request. A misconfigured JWT cannot leak data between tenants. diff --git a/api/Dockerfile b/api/Dockerfile index ee4fb02..63d75c6 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -1,13 +1,5 @@ FROM golang:1.26-alpine AS base -# Install system dependencies: -# git — required by `go mod download` for private modules -# and for some go:generate tools -# curl — used in healthchecks and debugging inside the container -# ca-certificates — TLS root certificates so the binary can make HTTPS -# calls to Postmark, Twilio, R2, etc. -# tzdata — timezone data so time.LoadLocation("Europe/Lisbon") -# works inside the container (scratch has no timezone DB) RUN apk add --no-cache git curl ca-certificates tzdata WORKDIR /app diff --git a/api/cmd/server/main.go b/api/cmd/server/main.go index cbf8a26..f6bcad1 100644 --- a/api/cmd/server/main.go +++ b/api/cmd/server/main.go @@ -12,6 +12,7 @@ import ( "api/internal/auth" "api/internal/docs" + "api/internal/user" "api/pkg/config" "api/pkg/database" ) @@ -24,6 +25,24 @@ var ( BuildTime = "unknown" ) +func corsMiddleware(allowedOrigin string) func(http.Handler) http.Handler { + return func(next http.Handler) http.Handler { + return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + w.Header().Set("Access-Control-Allow-Origin", allowedOrigin) + w.Header().Set("Access-Control-Allow-Methods", "GET, POST, PUT, PATCH, DELETE, OPTIONS") + w.Header().Set("Access-Control-Allow-Headers", "Origin, Content-Type, Authorization") + w.Header().Set("Access-Control-Allow-Credentials", "true") + + if r.Method == http.MethodOptions { + w.WriteHeader(http.StatusNoContent) + return + } + + next.ServeHTTP(w, r) + }) + } +} + func main() { // config setup cfg := config.Load() @@ -66,13 +85,17 @@ func main() { slog.Info("database connected") // services + // auth service authService := auth.NewService( db, cfg.JWTSecret, cfg.JWTAccessExpiry, cfg.JWTRefreshExpiry, ) + // user service + usersService := user.NewService(db, authService) + // middleware, security layer for routes authMiddleware := auth.NewMiddleware( cfg.JWTSecret, cfg.JWTAccessExpiry, @@ -90,22 +113,21 @@ func main() { }) // auth routes - authHandler := auth.NewHandler(authService, authMiddleware, !cfg.IsDev()) + authHandler := auth.NewHandler(authService, authMiddleware, cfg, !cfg.IsDev()) authHandler.RegisterRoutes(mux) // docs routes docsHandler := docs.NewHandler(!cfg.IsDev()) docsHandler.RegisterRoutes(mux) - // TODO: register additional route groups here as they are built: - // equipmentHandler.RegisterRoutes(mux) - // issueHandler.RegisterRoutes(mux) - // ... + // user routes + usersHandler := user.NewHandler(usersService, authMiddleware) + usersHandler.RegisterRoutes(mux) // http server server := &http.Server{ Addr: ":" + cfg.Port, - Handler: mux, + Handler: corsMiddleware(cfg.CORSAllowedOrigin)(mux), // NOTE: some timeouts to prevent slow clients maybe not needed // time to read the full request ReadTimeout: 5 * time.Second, @@ -118,7 +140,7 @@ func main() { } // shitdown gracefully - // Listen for SIGINT (Ctrl+C) and SIGTERM (docker compose stop / Railway deploy) + // Listen for SIGINT (Ctrl+C) and SIGTERM // On signal: stop accepting new connections, wait up to 30s for in-flight // requests to finish, then exit cleanly quit := make(chan os.Signal, 1) diff --git a/api/internal/auth/handler.go b/api/internal/auth/handler.go index 8be9fc6..9756273 100644 --- a/api/internal/auth/handler.go +++ b/api/internal/auth/handler.go @@ -1,10 +1,12 @@ package auth import ( + "api/pkg/config" "encoding/json" "errors" - "github.com/google/uuid" + "fmt" "net/http" + "strconv" "time" ) @@ -12,11 +14,12 @@ import ( type Handler struct { svc *Service middleware *Middleware + cfg *config.Config isProd bool } -func NewHandler(svc *Service, middleware *Middleware, isProd bool) *Handler { - return &Handler{svc: svc, middleware: middleware, isProd: isProd} +func NewHandler(svc *Service, middleware *Middleware, cfg *config.Config, isProd bool) *Handler { + return &Handler{svc: svc, middleware: middleware, cfg: cfg, isProd: isProd} } // all auth endpoints @@ -37,10 +40,10 @@ type loginRequest struct { } type loginResponse struct { - AccessToken string `json:"access_token"` - TokenType string `json:"token_type"` - ExpiresIn int `json:"expires_in"` - User userDTO `json:"user"` + AccessToken string `json:"access_token"` + TokenType string `json:"token_type"` + ExpiresIn int `json:"expires_in"` + User AuthResponse `json:"user"` } func (h *Handler) login(w http.ResponseWriter, r *http.Request) { @@ -75,7 +78,7 @@ func (h *Handler) login(w http.ResponseWriter, r *http.Request) { AccessToken: result.AccessToken, TokenType: "Bearer", ExpiresIn: int(15 * time.Minute / time.Second), - User: toUserDTO(result.User), + User: toAuthResponse(result.User), }) } @@ -107,7 +110,7 @@ func (h *Handler) refresh(w http.ResponseWriter, r *http.Request) { AccessToken: result.AccessToken, TokenType: "Bearer", ExpiresIn: int(15 * time.Minute / time.Second), - User: toUserDTO(result.User), + User: toAuthResponse(result.User), }) } @@ -118,20 +121,20 @@ func (h *Handler) logout(w http.ResponseWriter, r *http.Request) { token, ok := extractBearerToken(r) if ok { if claims, err := h.svc.tokens.verify(token); err == nil { - userID, _ := parseUUID(claims.Subject) - _ = h.svc.Logout(r.Context(), userID) + if userID, err := strconv.ParseInt(claims.Subject, 10, 64); err == nil { + _ = h.svc.Logout(r.Context(), userID) + } } } // Always clear the cookie, even if token parsing failed. h.clearRefreshCookie(w) - writeJSON(w, http.StatusOK, map[string]string{"message": "logged out"}) } // GET /auth/me type meResponse struct { - User userDTO `json:"user"` + User AuthResponse `json:"user"` } func (h *Handler) me(w http.ResponseWriter, r *http.Request) { @@ -147,7 +150,7 @@ func (h *Handler) me(w http.ResponseWriter, r *http.Request) { return } - writeJSON(w, http.StatusOK, meResponse{User: toUserDTO(user)}) + writeJSON(w, http.StatusOK, meResponse{User: toAuthResponse(user)}) } //POST /auth/magic-link @@ -156,6 +159,11 @@ type magicLinkRequest struct { Email string `json:"email"` } +// TODO: send email with the magic link URL: +// +// https://DOMAIN/api/auth/magic-link?token= +// +// The email service will be wired in the notify package func (h *Handler) sendMagicLink(w http.ResponseWriter, r *http.Request) { var req magicLinkRequest if err := json.NewDecoder(r.Body).Decode(&req); err != nil { @@ -167,21 +175,21 @@ func (h *Handler) sendMagicLink(w http.ResponseWriter, r *http.Request) { return } - // Service returns nil token when email doesn't exist — prevents enumeration. + // Service returns nil token when email doesn't exist — prevents enumeration // We respond with 200 in both cases so attackers can't probe for emails. - _, err := h.svc.SendMagicLink(r.Context(), SendMagicLinkInput{Email: req.Email}) + magicLinkToken, err := h.svc.SendMagicLink(r.Context(), SendMagicLinkInput{Email: req.Email}) if err != nil { - // Log internally but return 200 to the client. // TODO: inject a logger and log err here + fmt.Println(err) + + // log internally but return 200 to the client writeJSON(w, http.StatusOK, map[string]string{ "message": "if that email exists, a login link has been sent", }) return } - // TODO: send email via Postmark with the magic link URL: - // https://app.operafix.com/auth/verify?token= - // The email service will be wired in the notify package. + fmt.Println("FOR TESTING - magic link token:", h.cfg.FrontendURL+"/api/auth/magic-link?token="+magicLinkToken) writeJSON(w, http.StatusOK, map[string]string{ "message": "if that email exists, a login link has been sent", @@ -189,31 +197,28 @@ func (h *Handler) sendMagicLink(w http.ResponseWriter, r *http.Request) { } // GET /auth/magic-link?token= +// validate the token and redirect the user to the front to be validated func (h *Handler) verifyMagicLink(w http.ResponseWriter, r *http.Request) { rawToken := r.URL.Query().Get("token") if rawToken == "" { - writeError(w, http.StatusBadRequest, "missing token") + http.Redirect(w, r, h.cfg.FrontendURL+"/auth/error?reason=missing_token", http.StatusSeeOther) return } result, err := h.svc.VerifyMagicLink(r.Context(), rawToken) if err != nil { if errors.Is(err, ErrUnauthorized) { - writeError(w, http.StatusUnauthorized, "invalid or expired link") + http.Redirect(w, r, h.cfg.FrontendURL+"/auth/error?reason=invalid_token", http.StatusSeeOther) return } - writeError(w, http.StatusInternalServerError, "verification failed") + http.Redirect(w, r, h.cfg.FrontendURL+"/auth/error?reason=server_error", http.StatusSeeOther) return } h.setRefreshCookie(w, result.RefreshToken, result.RefreshExpiresAt) - writeJSON(w, http.StatusOK, loginResponse{ - AccessToken: result.AccessToken, - TokenType: "Bearer", - ExpiresIn: int(15 * time.Minute / time.Second), - User: toUserDTO(result.User), - }) + // the token is already set on the cookie + http.Redirect(w, r, h.cfg.FrontendURL+"/auth/verify", http.StatusSeeOther) } // Cookie helpers @@ -250,26 +255,23 @@ func (h *Handler) clearRefreshCookie(w http.ResponseWriter) { }) } -// DTOs - -// userDTO is the public-facing user representation. -// Never expose password_hash — not even its existence. -type userDTO struct { - ID string `json:"id"` - CompanyID string `json:"company_id"` - Email string `json:"email"` - Role string `json:"role"` +type AuthResponse struct { + ID int64 `json:"id"` + CompanyID int64 `json:"companyId"` + Email string `json:"email"` + Role Role `json:"role"` + DefaultLocationID *int64 `json:"defaultLocationId,omitempty"` } -func toUserDTO(u *User) userDTO { - return userDTO{ - ID: u.ID.String(), - CompanyID: u.CompanyID.String(), - Email: u.Email, - Role: string(u.Role), +func toAuthResponse(u *User) AuthResponse { + return AuthResponse{ + ID: u.ID, + CompanyID: u.CompanyId, + Email: u.Email, + Role: u.Role, + DefaultLocationID: u.DefaultLocationID, } } - func writeJSON(w http.ResponseWriter, status int, v any) { w.Header().Set("Content-Type", "application/json") w.WriteHeader(status) @@ -279,7 +281,3 @@ func writeJSON(w http.ResponseWriter, status int, v any) { func writeError(w http.ResponseWriter, status int, msg string) { writeJSON(w, status, map[string]string{"error": msg}) } - -func parseUUID(s string) (uuid.UUID, error) { - return uuid.Parse(s) -} diff --git a/api/internal/auth/middleware.go b/api/internal/auth/middleware.go index d0b7b62..88d36d9 100644 --- a/api/internal/auth/middleware.go +++ b/api/internal/auth/middleware.go @@ -3,28 +3,24 @@ package auth import ( "context" "net/http" + "strconv" "strings" "time" - - "github.com/google/uuid" ) -// contextKey is an unexported type for context keys in this package. -// Prevents collisions with context keys from other packages. type contextKey string const ( - contextKeyUserID contextKey = "user_id" - contextKeyCompanyID contextKey = "company_id" - contextKeyRole contextKey = "role" + contextKeyUserID contextKey = "user_id" + contextKeyCompanyID contextKey = "company_id" + contextKeyRole contextKey = "role" + contextKeyLocationID contextKey = "location_id" ) -// Middleware validates the JWT from the Authorization header and injects -// the user's identity into the request context. -// -// On success: calls next handler with user identity in context. +// validates the JWT from the Authorization header and injects +// the users identity into the request context +// On success: calls next handler with user identity in context // On failure: writes 401 and stops the chain. -// // Usage: // // mux.Handle("GET /auth/me", authMiddleware.Require(meHandler)) @@ -32,16 +28,45 @@ type Middleware struct { tokens *tokenService } -// NewMiddleware constructs the auth middleware. +// constructs the auth middleware func NewMiddleware(jwtSecret string, accessExpiry, refreshExpiry time.Duration) *Middleware { return &Middleware{ tokens: newTokenService(jwtSecret, accessExpiry, refreshExpiry), } } -// Require is an http.Handler wrapper that enforces authentication. -// Handlers wrapped with Require can safely call UserIDFromContext — -// the user is guaranteed to be authenticated at that point. +func LocationIDFromContext(ctx context.Context) *int64 { + id, ok := ctx.Value(contextKeyLocationID).(*int64) + if !ok { + return nil + } + return id +} + +// parses "{1,2,3}" -> pointer to 1 +// returns nil for admin/ops_manager who have no location scope +func parseFirstLocationID(pgArray string) *int64 { + if pgArray == "" || pgArray == "{}" { + return nil + } + // strip braces -> "1,2,3" + trimmed := strings.Trim(pgArray, "{}") + if trimmed == "" { + return nil + } + // take first id only + // phase 1 is single location + first := strings.SplitN(trimmed, ",", 2)[0] + id, err := strconv.ParseInt(strings.TrimSpace(first), 10, 64) + if err != nil { + return nil + } + return &id +} + +// Require is an http.Handler wrapper that enforces authentication +// Handlers wrapped with Require can safely call UserIDFromContext +// the user is guaranteed to be authenticated at that point func (m *Middleware) Require(next http.Handler) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { token, ok := extractBearerToken(r) @@ -56,51 +81,74 @@ func (m *Middleware) Require(next http.Handler) http.Handler { return } - userID, err := uuid.Parse(claims.Subject) + userID, err := strconv.ParseInt(claims.Subject, 10, 64) if err != nil { writeUnauthorized(w, "invalid token subject") return } - companyID, err := uuid.Parse(claims.HasuraClaims.CompanyID) + companyID, err := strconv.ParseInt(claims.HasuraClaims.CompanyId, 10, 64) if err != nil { writeUnauthorized(w, "invalid company id in token") return } - // Inject identity into context for downstream handlers. + locationID := parseFirstLocationID(claims.HasuraClaims.LocationIDs) + // inject identity into context for downstream handlers ctx := r.Context() ctx = context.WithValue(ctx, contextKeyUserID, userID) ctx = context.WithValue(ctx, contextKeyCompanyID, companyID) ctx = context.WithValue(ctx, contextKeyRole, Role(claims.HasuraClaims.DefaultRole)) + ctx = context.WithValue(ctx, contextKeyLocationID, locationID) next.ServeHTTP(w, r.WithContext(ctx)) }) } -// ─── Context accessors ──────────────────────────────────────────── -// Call these inside handlers that are wrapped with Require(). -// They panic if called without Require() — intentional, surfaces bugs early. +// returns middleware that gates access to specific roles +// Must be chained after Require, it reads the role Require injected into context +// +// managerOnly := authMW.RequireRole(RoleLocationManager, RoleOpsManager, RoleAdmin) +// mux.Handle("GET /qr/labels/{id}", authMW.Require(managerOnly(http.HandlerFunc(h.Labels)))) +func (m *Middleware) RequireRole(roles ...Role) func(http.Handler) http.Handler { + allowed := make(map[Role]struct{}, len(roles)) + for _, r := range roles { + allowed[r] = struct{}{} + } -// UserIDFromContext returns the authenticated user's UUID from context. -func UserIDFromContext(ctx context.Context) uuid.UUID { - id, ok := ctx.Value(contextKeyUserID).(uuid.UUID) + return func(next http.Handler) http.Handler { + return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { + role := RoleFromContext(r.Context()) + if _, ok := allowed[role]; !ok { + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusForbidden) + w.Write([]byte(`{"error":"insufficient permissions"}`)) + return + } + next.ServeHTTP(w, r) + }) + } +} + +// Call these inside handlers that are wrapped with Require() +func UserIDFromContext(ctx context.Context) int64 { + id, ok := ctx.Value(contextKeyUserID).(int64) if !ok { panic("auth: UserIDFromContext called without Require middleware") } return id } -// CompanyIDFromContext returns the authenticated user's company UUID from context. -func CompanyIDFromContext(ctx context.Context) uuid.UUID { - id, ok := ctx.Value(contextKeyCompanyID).(uuid.UUID) +// returns the authenticated user's company id from context. +func CompanyIDFromContext(ctx context.Context) int64 { + id, ok := ctx.Value(contextKeyCompanyID).(int64) if !ok { panic("auth: CompanyIDFromContext called without Require middleware") } return id } -// RoleFromContext returns the authenticated user's role from context. +// returns the authenticated user's role from context. func RoleFromContext(ctx context.Context) Role { role, ok := ctx.Value(contextKeyRole).(Role) if !ok { @@ -109,10 +157,7 @@ func RoleFromContext(ctx context.Context) Role { return role } -// ─── helpers ────────────────────────────────────────────────────── - -// extractBearerToken parses the Authorization header. -// Expects: "Authorization: Bearer " +// parses the Authorization header. func extractBearerToken(r *http.Request) (string, bool) { header := r.Header.Get("Authorization") if header == "" { diff --git a/api/internal/auth/repository.go b/api/internal/auth/repository.go index b354d69..bd246fb 100644 --- a/api/internal/auth/repository.go +++ b/api/internal/auth/repository.go @@ -6,13 +6,12 @@ import ( "fmt" "time" - "github.com/google/uuid" "github.com/jackc/pgx/v5" "github.com/jackc/pgx/v5/pgxpool" ) -// Role is the set of valid user roles. Must match the CHECK constraint -// in migration 007_users.up.sql and the Hasura permission rule names. +// Role is the set of valid user roles +// must match the same ones in migration 007_users.up.sql type Role string const ( @@ -21,40 +20,38 @@ const ( RoleLocationManager Role = "location_manager" RoleOpsManager Role = "ops_manager" RoleAdmin Role = "admin" - RoleSuperAdmin Role = "super_admin" ) -// User is the minimal projection of the users table needed for auth. -// We only select what authentication requires — not the full row. +// User is the minimal projection of the users table needed for auth +// We only select what authentication requires no need for all fields type User struct { - ID uuid.UUID - CompanyID uuid.UUID + ID int64 + CompanyId int64 Email string Role Role - PasswordHash *string // nullable — magic-link users have no password - DefaultLocationID *uuid.UUID + PasswordHash *string + DefaultLocationID *int64 } -// MagicLinkToken represents a pending magic-link login request. +// MagicLinkToken represents a pending magic-link login request type MagicLinkToken struct { - ID uuid.UUID - UserID uuid.UUID + ID int64 + UserID int64 TokenHash string ExpiresAt time.Time UsedAt *time.Time } -// RefreshToken represents a stored refresh token record. -// We store the hash, never the raw token. +// RefreshToken represents a stored refresh token record type RefreshToken struct { - ID uuid.UUID - UserID uuid.UUID + ID int64 + UserID int64 TokenHash string ExpiresAt time.Time RevokedAt *time.Time } -// repository handles all database operations for the auth package. +// repository handles all database operations for the auth package type repository struct { db *pgxpool.Pool } @@ -63,10 +60,7 @@ func newRepository(db *pgxpool.Pool) *repository { return &repository{db: db} } -// ─── User queries ───────────────────────────────────────────────── - -// getUserByEmail fetches a user by email address. -// Returns ErrNotFound if the user does not exist. +// getUserByEmail fetches a user by email address func (r *repository) getUserByEmail(ctx context.Context, email string) (*User, error) { const q = ` SELECT id, company_id, email, role, password_hash, default_location_id @@ -77,7 +71,7 @@ func (r *repository) getUserByEmail(ctx context.Context, email string) (*User, e var u User err := r.db.QueryRow(ctx, q, email).Scan( &u.ID, - &u.CompanyID, + &u.CompanyId, &u.Email, &u.Role, &u.PasswordHash, @@ -92,8 +86,8 @@ func (r *repository) getUserByEmail(ctx context.Context, email string) (*User, e return &u, nil } -// getUserByID fetches a user by primary key. -func (r *repository) getUserByID(ctx context.Context, id uuid.UUID) (*User, error) { +// getUserByID fetches a user by primary key +func (r *repository) getUserByID(ctx context.Context, id int64) (*User, error) { const q = ` SELECT id, company_id, email, role, password_hash, default_location_id FROM users @@ -103,7 +97,7 @@ func (r *repository) getUserByID(ctx context.Context, id uuid.UUID) (*User, erro var u User err := r.db.QueryRow(ctx, q, id).Scan( &u.ID, - &u.CompanyID, + &u.CompanyId, &u.Email, &u.Role, &u.PasswordHash, @@ -118,9 +112,8 @@ func (r *repository) getUserByID(ctx context.Context, id uuid.UUID) (*User, erro return &u, nil } -// updateLastLogin records the current timestamp as the user's last login. -// Called after every successful authentication. -func (r *repository) updateLastLogin(ctx context.Context, userID uuid.UUID) error { +// updateLastLogin records the current timestamp as the user's last login +func (r *repository) updateLastLogin(ctx context.Context, userID int64) error { const q = `UPDATE users SET last_login_at = NOW() WHERE id = $1` _, err := r.db.Exec(ctx, q, userID) if err != nil { @@ -129,15 +122,15 @@ func (r *repository) updateLastLogin(ctx context.Context, userID uuid.UUID) erro return nil } -// getLocationIDsForUser returns the list of location IDs accessible to a user. -// - For employees and location managers: their default location only (for now). -// Phase 2 adds a user_location_assignments join table for multi-location access. -// - For technicians: their assigned locations (same logic for now). -// - For ops_manager and admin: empty slice (Hasura applies no location filter). +// getLocationIDsForUser returns the list of location IDs accessible to a user +// - For employees and location managers: their default location only (for now) +// Phase 2 adds a user_location_assignments join table for multi-location access +// - For technicians: their assigned locations +// - For ops_manager and admin: empty slice (Hasura applies no location filter) func (r *repository) getLocationIDsForUser(ctx context.Context, user *User) ([]string, error) { switch user.Role { - case RoleOpsManager, RoleAdmin, RoleSuperAdmin: - // These roles see all locations — no location filter in JWT claims. + case RoleOpsManager, RoleAdmin: + // These roles see all locations — no location filter in JWT claims return nil, nil } @@ -146,23 +139,20 @@ func (r *repository) getLocationIDsForUser(ctx context.Context, user *User) ([]s } // Phase 1: single default location. - // Phase 2: query user_location_assignments for multi-location list. - return []string{user.DefaultLocationID.String()}, nil + // Phase 2: query user_location_assignments for multi-location list (we don't have for now) + return []string{fmt.Sprintf("%d", *user.DefaultLocationID)}, nil } -// ─── Refresh token queries ───────────────────────────────────────── - -// createRefreshToken inserts a new refresh token record. -// Only the SHA-256 hash of the token is stored — never the raw value. +// createRefreshToken inserts a new refresh token record func (r *repository) createRefreshToken( ctx context.Context, - userID uuid.UUID, + userID int64, tokenHash string, expiresAt time.Time, ) error { const q = ` - INSERT INTO refresh_tokens (id, user_id, token_hash, expires_at) - VALUES (gen_random_uuid(), $1, $2, $3)` + INSERT INTO refresh_tokens (user_id, token_hash, expires_at) + VALUES ($1, $2, $3)` _, err := r.db.Exec(ctx, q, userID, tokenHash, expiresAt) if err != nil { @@ -172,8 +162,6 @@ func (r *repository) createRefreshToken( } // getRefreshToken fetches a refresh token by its hash. -// Returns ErrNotFound if absent, ErrTokenExpired if past expiry, -// ErrTokenRevoked if already used. func (r *repository) getRefreshToken(ctx context.Context, tokenHash string) (*RefreshToken, error) { const q = ` SELECT id, user_id, token_hash, expires_at, revoked_at @@ -206,13 +194,11 @@ func (r *repository) getRefreshToken(ctx context.Context, tokenHash string) (*Re return &rt, nil } -// rotateRefreshToken revokes the old token and creates a new one atomically. -// Rotation on every use means a stolen token can only be used once — -// the next use by the legitimate user revokes it and reveals the theft. +// rotateRefreshToken revokes the old token and creates a new one atomically func (r *repository) rotateRefreshToken( ctx context.Context, oldTokenHash string, - userID uuid.UUID, + userID int64, newTokenHash string, expiresAt time.Time, ) error { @@ -233,8 +219,8 @@ func (r *repository) rotateRefreshToken( // Insert the new token const insert = ` - INSERT INTO refresh_tokens (id, user_id, token_hash, expires_at) - VALUES (gen_random_uuid(), $1, $2, $3)` + INSERT INTO refresh_tokens (user_id, token_hash, expires_at) + VALUES ($1, $2, $3)` if _, err := tx.Exec(ctx, insert, userID, newTokenHash, expiresAt); err != nil { return fmt.Errorf("rotate refresh token: insert new: %w", err) } @@ -245,9 +231,9 @@ func (r *repository) rotateRefreshToken( return nil } -// revokeAllRefreshTokens invalidates every active refresh token for a user. -// Called on logout to ensure the session is fully terminated. -func (r *repository) revokeAllRefreshTokens(ctx context.Context, userID uuid.UUID) error { +// revokeAllRefreshTokens invalidates every active refresh token for a user +// Called on logout to ensure the session is fully terminated +func (r *repository) revokeAllRefreshTokens(ctx context.Context, userID int64) error { const q = ` UPDATE refresh_tokens SET revoked_at = NOW() @@ -259,17 +245,15 @@ func (r *repository) revokeAllRefreshTokens(ctx context.Context, userID uuid.UUI return nil } -// ─── Magic link queries ──────────────────────────────────────────── - -// createMagicLinkToken stores a magic-link token hash with a 15-minute expiry. +// createMagicLinkToken stores a magic-link token hash with a 15-minute expiry func (r *repository) createMagicLinkToken( ctx context.Context, - userID uuid.UUID, + userID int64, tokenHash string, ) error { const q = ` - INSERT INTO magic_link_tokens (id, user_id, token_hash, expires_at) - VALUES (gen_random_uuid(), $1, $2, NOW() + INTERVAL '15 minutes')` + INSERT INTO magic_link_tokens (user_id, token_hash, expires_at) + VALUES ($1, $2, NOW() + INTERVAL '15 minutes')` _, err := r.db.Exec(ctx, q, userID, tokenHash) if err != nil { @@ -278,16 +262,11 @@ func (r *repository) createMagicLinkToken( return nil } -// consumeMagicLinkToken validates and marks a magic-link token as used. -// Returns the associated user ID if valid. -// A token can only be used once — subsequent attempts return ErrTokenRevoked. -func (r *repository) consumeMagicLinkToken( - ctx context.Context, - tokenHash string, -) (uuid.UUID, error) { +// consumeMagicLinkToken validates and marks a magic-link token as used +func (r *repository) consumeMagicLinkToken(ctx context.Context, tokenHash string) (int64, error) { tx, err := r.db.Begin(ctx) if err != nil { - return uuid.Nil, fmt.Errorf("consume magic link: begin tx: %w", err) + return 0, fmt.Errorf("consume magic link: begin tx: %w", err) } defer tx.Rollback(ctx) @@ -305,27 +284,27 @@ func (r *repository) consumeMagicLinkToken( &token.UsedAt, ) if errors.Is(err, pgx.ErrNoRows) { - return uuid.Nil, ErrNotFound + return 0, ErrNotFound } if err != nil { - return uuid.Nil, fmt.Errorf("consume magic link: fetch: %w", err) + return 0, fmt.Errorf("consume magic link: fetch: %w", err) } if token.UsedAt != nil { - return uuid.Nil, ErrTokenRevoked + return 0, ErrTokenRevoked } if time.Now().UTC().After(token.ExpiresAt) { - return uuid.Nil, ErrTokenExpired + return 0, ErrTokenExpired } // Mark as used const mark = `UPDATE magic_link_tokens SET used_at = NOW() WHERE id = $1` if _, err := tx.Exec(ctx, mark, token.ID); err != nil { - return uuid.Nil, fmt.Errorf("consume magic link: mark used: %w", err) + return 0, fmt.Errorf("consume magic link: mark used: %w", err) } if err := tx.Commit(ctx); err != nil { - return uuid.Nil, fmt.Errorf("consume magic link: commit: %w", err) + return 0, fmt.Errorf("consume magic link: commit: %w", err) } return token.UserID, nil diff --git a/api/internal/auth/service.go b/api/internal/auth/service.go index cb321a1..f2f9f0b 100644 --- a/api/internal/auth/service.go +++ b/api/internal/auth/service.go @@ -6,7 +6,6 @@ import ( "fmt" "time" - "github.com/google/uuid" "github.com/jackc/pgx/v5/pgxpool" "golang.org/x/crypto/bcrypt" ) @@ -72,7 +71,6 @@ func (s *Service) Login(ctx context.Context, input LoginInput) (*LoginResult, er if err := bcrypt.CompareHashAndPassword([]byte(*user.PasswordHash), []byte(input.Password)); err != nil { return nil, ErrUnauthorized } - return s.issueSession(ctx, user) } @@ -133,7 +131,7 @@ func (s *Service) Refresh(ctx context.Context, rawRefreshToken string) (*LoginRe // This is the correct trade-off — revoking JWTs requires a blocklist // (Redis or DB lookup on every request), which adds latency. // For this scale, 15-minute max exposure on logout is acceptable. -func (s *Service) Logout(ctx context.Context, userID uuid.UUID) error { +func (s *Service) Logout(ctx context.Context, userID int64) error { if err := s.repo.revokeAllRefreshTokens(ctx, userID); err != nil { return fmt.Errorf("logout: %w", err) } @@ -143,7 +141,7 @@ func (s *Service) Logout(ctx context.Context, userID uuid.UUID) error { // Me // Me returns the currently authenticated user's profile. // userID is extracted from the validated JWT by the auth middleware. -func (s *Service) Me(ctx context.Context, userID uuid.UUID) (*User, error) { +func (s *Service) Me(ctx context.Context, userID int64) (*User, error) { user, err := s.repo.getUserByID(ctx, userID) if err != nil { return nil, fmt.Errorf("me: %w", err) @@ -163,10 +161,10 @@ type SendMagicLinkInput struct { func (s *Service) SendMagicLink(ctx context.Context, input SendMagicLinkInput) (token string, err error) { user, err := s.repo.getUserByEmail(ctx, input.Email) if err != nil { + // do not reveal whether the email is registered if errors.Is(err, ErrNotFound) { - // Do not reveal whether the email is registered. - // Return a dummy token to maintain consistent response time. - return "", nil + // return empty token + return "", fmt.Errorf("magic link user: %w", err) } return "", fmt.Errorf("send magic link: %w", err) } diff --git a/api/internal/auth/token.go b/api/internal/auth/token.go index 65e06a6..361264c 100644 --- a/api/internal/auth/token.go +++ b/api/internal/auth/token.go @@ -8,55 +8,49 @@ import ( "time" "github.com/golang-jwt/jwt/v5" - "github.com/google/uuid" ) -// HasuraClaims is the custom namespace Hasura reads from the JWT. +// HasuraClaims is the custom namespace Hasura reads from the JWT // Every field maps directly to a Hasura session variable used in // row-level permission rules across all tables. -// // Hasura permission example for issues table: // // { "company_id": { "_eq": "X-Hasura-Company-Id" } } type HasuraClaims struct { AllowedRoles []string `json:"x-hasura-allowed-roles"` DefaultRole string `json:"x-hasura-default-role"` - UserID string `json:"x-hasura-user-id"` - CompanyID string `json:"x-hasura-company-id"` + UserId string `json:"x-hasura-user-id"` + CompanyId string `json:"x-hasura-company-id"` // LocationIDs is a Postgres array literal: "{loc-01,loc-02}" // Hasura reads this for location-scoped roles (location_manager, technician) - // who can only see data from their assigned locations. - // For ops_manager and admin this is omitted — they see all locations. + // who can only see data from their assigned locations + // For ops_manager and admin this is omitted: they see all locations LocationIDs string `json:"x-hasura-location-ids"` } -// Claims is the full JWT payload — standard registered claims plus -// the Hasura namespace required for row-level security enforcement. +// Claims is the full JWT payload type Claims struct { jwt.RegisteredClaims - // Hasura reads this exact namespace key from the JWT. - // The key must be "https://hasura.io/jwt/claims" — not configurable. + // Hasura reads this exact namespace key from the JWT HasuraClaims HasuraClaims `json:"https://hasura.io/jwt/claims"` } // TokenPair is the result of a successful authentication. -// AccessToken is short-lived and sent in the Authorization header. -// RefreshToken is long-lived and stored in an HttpOnly cookie. type TokenPair struct { - AccessToken string + // AccessToken is short lived and sent in the Authorization header + AccessToken string + // RefreshToken is long lived and stored in an HttpOnly cookie RefreshToken string - - // RefreshTokenHash is stored in the database — never the raw token. - // On refresh we hash the incoming token and compare to this value. + // the hash token in the db RefreshTokenHash string AccessExpiresAt time.Time RefreshExpiresAt time.Time } -// tokenService handles JWT signing and verification. +// signature structure type tokenService struct { secret []byte accessExpiry time.Duration @@ -71,23 +65,44 @@ func newTokenService(secret string, accessExpiry, refreshExpiry time.Duration) * } } -// issueTokenPair creates a new access + refresh token pair for the given user. -// Called on login and on magic-link verification. +// buildHasuraClaims constructs the Hasura permission claims based on role +func (ts *tokenService) buildHasuraClaims(user *User, locationIDs []string) HasuraClaims { + claims := HasuraClaims{ + AllowedRoles: []string{string(user.Role)}, + DefaultRole: string(user.Role), + UserId: fmt.Sprintf("%d", user.ID), + CompanyId: fmt.Sprintf("%d", user.CompanyId), + } + + // location-scoped roles get an explicit list of accessible locations + switch user.Role { + case RoleLocationManager, RoleTechnician, RoleEmployee: + if len(locationIDs) > 0 { + claims.LocationIDs = toPGArray(locationIDs) + } + } + + return claims +} + +// issueTokenPair creates a new access + refresh token pair for the given user +// Called on login and on magic-link verification func (ts *tokenService) issueTokenPair(user *User, locationIDs []string) (*TokenPair, error) { now := time.Now().UTC() accessExp := now.Add(ts.accessExpiry) refreshExp := now.Add(ts.refreshExpiry) - // Build Hasura claims from the user's role and location assignments + // build Hasura claims from the user's role and location assignments hasuraClaims := ts.buildHasuraClaims(user, locationIDs) - // Sign the access token + // sign the access token accessToken, err := ts.signAccessToken(user.ID, hasuraClaims, now, accessExp) if err != nil { return nil, fmt.Errorf("issue token pair: sign access token: %w", err) } - // Generate a cryptographically random refresh token + // random cryptographically refresh token + // this refresh token allows us to refresh the token easily rawRefresh, err := generateSecureToken(32) if err != nil { return nil, fmt.Errorf("issue token pair: generate refresh token: %w", err) @@ -102,15 +117,15 @@ func (ts *tokenService) issueTokenPair(user *User, locationIDs []string) (*Token }, nil } -// signAccessToken builds and signs the JWT with HS256. +// signAccessToken builds and signs the JWT func (ts *tokenService) signAccessToken( - userID uuid.UUID, + userID int64, hasuraClaims HasuraClaims, now, exp time.Time, ) (string, error) { claims := Claims{ RegisteredClaims: jwt.RegisteredClaims{ - Subject: userID.String(), + Subject: fmt.Sprintf("%d", userID), IssuedAt: jwt.NewNumericDate(now), ExpiresAt: jwt.NewNumericDate(exp), Issuer: "operafix-api", @@ -126,16 +141,16 @@ func (ts *tokenService) signAccessToken( return signed, nil } -// verify parses and validates a JWT string, returning the claims if valid. +// verify parses and validates a JWT string, returning the claims if valid func (ts *tokenService) verify(tokenString string) (*Claims, error) { token, err := jwt.ParseWithClaims( tokenString, &Claims{}, func(t *jwt.Token) (any, error) { - // Reject tokens signed with any algorithm other than HS256. + // Reject tokens signed with any algorithm other than HS256 // Prevents the "algorithm confusion" attack where an attacker // switches to RS256 and tricks the server into accepting a - // token signed with the public key as the HMAC secret. + // token signed with the public key as the HMAC secret if _, ok := t.Method.(*jwt.SigningMethodHMAC); !ok { return nil, fmt.Errorf("unexpected signing method: %v", t.Header["alg"]) } @@ -154,32 +169,8 @@ func (ts *tokenService) verify(tokenString string) (*Claims, error) { return claims, nil } -// buildHasuraClaims constructs the Hasura permission claims based on role. -// The claims determine what data the user can read and write via GraphQL. -func (ts *tokenService) buildHasuraClaims(user *User, locationIDs []string) HasuraClaims { - claims := HasuraClaims{ - AllowedRoles: []string{string(user.Role)}, - DefaultRole: string(user.Role), - UserID: user.ID.String(), - CompanyID: user.CompanyID.String(), - } - - // Location-scoped roles get an explicit list of accessible location IDs. - // ops_manager and admin see all locations — no location filter applied. - switch user.Role { - case RoleLocationManager, RoleTechnician, RoleEmployee: - if len(locationIDs) > 0 { - claims.LocationIDs = toPGArray(locationIDs) - } - } - - return claims -} - -// ─── helpers ────────────────────────────────────────────────────── - // generateSecureToken returns a cryptographically random hex string -// of the given byte length (output is 2× bytes in hex chars). +// of the given byte length (output is 2x bytes in hex chars) func generateSecureToken(bytes int) (string, error) { b := make([]byte, bytes) if _, err := rand.Read(b); err != nil { @@ -188,17 +179,15 @@ func generateSecureToken(bytes int) (string, error) { return hex.EncodeToString(b), nil } -// hashToken SHA-256 hashes a token for safe storage in the database. -// We never store raw refresh tokens — only their hashes. -// On verification: hash the incoming token and compare to the stored hash. +// hashToken, hashes a token for safe storage in the database func hashToken(token string) string { h := sha256.Sum256([]byte(token)) return hex.EncodeToString(h[:]) } -// toPGArray converts a Go string slice to a Postgres array literal. +// toPGArray converts a Go string slice to a Postgres array literal // e.g. ["a","b"] → "{a,b}" -// This format is what Hasura expects for x-hasura-location-ids. +// This format is what Hasura expects for x-hasura-location-ids func toPGArray(ids []string) string { if len(ids) == 0 { return "{}" diff --git a/api/internal/docs/handler.go b/api/internal/docs/handler.go index 1705c55..1c26ded 100644 --- a/api/internal/docs/handler.go +++ b/api/internal/docs/handler.go @@ -2,7 +2,6 @@ package docs import ( "encoding/json" - "fmt" "net/http" ) @@ -16,38 +15,9 @@ func NewHandler(isProd bool) *Handler { func (h *Handler) RegisterRoutes(mux *http.ServeMux) { // TODO: In production we should disable or password-protect these - mux.HandleFunc("GET /docs", h.scalar) - mux.HandleFunc("GET /docs/openapi.json", h.spec) + mux.HandleFunc("GET /docs", h.spec) } -func (h *Handler) scalar(w http.ResponseWriter, r *http.Request) { - spec, err := json.Marshal(openAPISpec()) - if err != nil { - http.Error(w, "failed to generate spec", http.StatusInternalServerError) - return - } - - w.Header().Set("Content-Type", "text/html; charset=utf-8") - w.WriteHeader(http.StatusOK) - fmt.Fprintf(w, ` - - - Operafix API - - - - - - - -`, string(spec)) -} - -// spec serves the raw OpenAPI JSON for external tools (Postman, Insomnia, etc.) func (h *Handler) spec(w http.ResponseWriter, r *http.Request) { w.Header().Set("Content-Type", "application/json") w.WriteHeader(http.StatusOK) @@ -78,6 +48,7 @@ func openAPISpec() map[string]any { "tags": []map[string]any{ {"name": "health", "description": "Service health"}, {"name": "auth", "description": "Authentication — login, logout, token refresh, magic-link"}, + {"name": "users", "description": "User management — invite, list, update, deactivate"}, }, "paths": map[string]any{ "/health": map[string]any{ @@ -98,6 +69,8 @@ func openAPISpec() map[string]any { }, }, }, + + // auth "/auth/login": map[string]any{ "post": map[string]any{ "tags": []string{"auth"}, @@ -259,29 +232,175 @@ func openAPISpec() map[string]any { "get": map[string]any{ "tags": []string{"auth"}, "summary": "Verify a magic login link", - "description": "Validates the token from a magic-link email and issues a full session. Tokens expire after 15 minutes and can only be used once.", + "description": "Validates the token, sets the refresh cookie, and redirects to the frontend. Tokens expire after 15 minutes and can only be used once.", "operationId": "verifyMagicLink", "parameters": []map[string]any{ { "in": "query", "name": "token", "required": true, - "description": "The raw token from the magic-link URL", + "description": "The raw token from the magic-link email", "schema": map[string]any{"type": "string"}, }, }, + "responses": map[string]any{ + "303": map[string]any{ + "description": "Redirects to frontend /auth/verify (success) or /auth/verify?error=... (failure)", + "headers": map[string]any{ + "Location": map[string]any{"schema": map[string]any{"type": "string"}}, + "Set-Cookie": refreshCookieHeader()["Set-Cookie"], + }, + }, + "400": errorResponse("Missing token"), + }, + }, + }, + + // user + "/users": map[string]any{ + "post": map[string]any{ + "tags": []string{"users"}, + "summary": "Invite a new user", + "description": "Creates a user record and sends a magic-link invite email. Admins can create any role. Location managers can only create employees and technicians at their own location.", + "operationId": "inviteUser", + "security": []map[string]any{{"bearerAuth": []string{}}}, + "requestBody": map[string]any{ + "required": true, + "content": map[string]any{ + "application/json": map[string]any{ + "schema": ref("InviteUserRequest"), + "example": map[string]any{ + "name": "Maria Silva", + "email": "maria.silva@grupotasca.pt", + "role": "employee", + "default_location_id": 1, + }, + }, + }, + }, + "responses": map[string]any{ + "201": map[string]any{ + "description": "User created and invite sent", + "content": map[string]any{ + "application/json": map[string]any{ + "schema": ref("UserDetail"), + }, + }, + }, + "400": errorResponse("Name, email and role are required"), + "401": errorResponse("Missing or invalid token"), + "403": errorResponse("Insufficient permissions"), + "409": errorResponse("Email already in use"), + "500": errorResponse("Failed to create user"), + }, + }, + "get": map[string]any{ + "tags": []string{"users"}, + "summary": "List users", + "description": "Returns all active users in the company. Location managers only see users at their own location.", + "operationId": "listUsers", + "security": []map[string]any{{"bearerAuth": []string{}}}, "responses": map[string]any{ "200": map[string]any{ - "description": "Magic link verified — session issued", - "headers": refreshCookieHeader(), + "description": "List of users", "content": map[string]any{ "application/json": map[string]any{ - "schema": ref("AuthResponse"), + "schema": map[string]any{ + "type": "object", + "properties": map[string]any{ + "users": map[string]any{ + "type": "array", + "items": ref("UserDetail"), + }, + }, + }, }, }, }, - "400": errorResponse("Missing token"), - "401": errorResponse("Invalid or expired link"), + "401": errorResponse("Missing or invalid token"), + "403": errorResponse("Insufficient permissions"), + }, + }, + }, + "/users/{id}": map[string]any{ + "get": map[string]any{ + "tags": []string{"users"}, + "summary": "Get a user", + "description": "Returns a single user by ID. Scoped to the requester's company.", + "operationId": "getUser", + "security": []map[string]any{{"bearerAuth": []string{}}}, + "parameters": []map[string]any{userIDParam()}, + "responses": map[string]any{ + "200": map[string]any{ + "description": "User found", + "content": map[string]any{ + "application/json": map[string]any{ + "schema": ref("UserDetail"), + }, + }, + }, + "401": errorResponse("Missing or invalid token"), + "403": errorResponse("Insufficient permissions"), + "404": errorResponse("User not found"), + }, + }, + "put": map[string]any{ + "tags": []string{"users"}, + "summary": "Update a user", + "description": "Updates a user's name, role, phone, or default location. Admin only. All fields are optional — only provided fields are updated.", + "operationId": "updateUser", + "security": []map[string]any{{"bearerAuth": []string{}}}, + "parameters": []map[string]any{userIDParam()}, + "requestBody": map[string]any{ + "required": true, + "content": map[string]any{ + "application/json": map[string]any{ + "schema": ref("UpdateUserRequest"), + "example": map[string]any{ + "role": "location_manager", + }, + }, + }, + }, + "responses": map[string]any{ + "200": map[string]any{ + "description": "User updated", + "content": map[string]any{ + "application/json": map[string]any{ + "schema": ref("UserDetail"), + }, + }, + }, + "400": errorResponse("Invalid request body"), + "401": errorResponse("Missing or invalid token"), + "403": errorResponse("Insufficient permissions"), + "404": errorResponse("User not found"), + }, + }, + "delete": map[string]any{ + "tags": []string{"users"}, + "summary": "Deactivate a user", + "description": "Soft-deletes a user — preserves all history. The user can no longer log in. Admin only.", + "operationId": "deactivateUser", + "security": []map[string]any{{"bearerAuth": []string{}}}, + "parameters": []map[string]any{userIDParam()}, + "responses": map[string]any{ + "200": map[string]any{ + "description": "User deactivated", + "content": map[string]any{ + "application/json": map[string]any{ + "schema": map[string]any{ + "type": "object", + "properties": map[string]any{ + "message": map[string]any{"type": "string", "example": "user deactivated"}, + }, + }, + }, + }, + }, + "401": errorResponse("Missing or invalid token"), + "403": errorResponse("Insufficient permissions"), + "404": errorResponse("User not found"), }, }, }, @@ -331,16 +450,50 @@ func openAPISpec() map[string]any { "type": "object", "required": []string{"id", "company_id", "email", "role"}, "properties": map[string]any{ - "id": map[string]any{"type": "string", "format": "uuid", "example": "018e2f3a-1b2c-7d4e-8f5a-9b0c1d2e3f4a"}, - "company_id": map[string]any{"type": "string", "format": "uuid", "example": "018e2f3a-0000-7d4e-8f5a-9b0c1d2e3f4a"}, + "id": map[string]any{"type": "integer", "example": 1}, + "company_id": map[string]any{"type": "integer", "example": 1}, "email": map[string]any{"type": "string", "format": "email", "example": "admin@test.com"}, "role": map[string]any{ "type": "string", - "enum": []string{"employee", "technician", "location_manager", "ops_manager", "admin", "super_admin"}, + "enum": []string{"employee", "technician", "location_manager", "ops_manager", "admin"}, "example": "admin", }, }, }, + "UserDetail": map[string]any{ + "type": "object", + "required": []string{"id", "company_id", "name", "email", "role", "is_active"}, + "properties": map[string]any{ + "id": map[string]any{"type": "integer", "example": 1}, + "company_id": map[string]any{"type": "integer", "example": 1}, + "name": map[string]any{"type": "string", "example": "Maria Silva"}, + "email": map[string]any{"type": "string", "format": "email", "example": "maria.silva@grupotasca.pt"}, + "phone": map[string]any{"type": "string", "nullable": true, "example": "+351912000001"}, + "role": map[string]any{"type": "string", "enum": []string{"employee", "technician", "location_manager", "ops_manager", "admin"}, "example": "employee"}, + "default_location_id": map[string]any{"type": "integer", "nullable": true, "example": 1}, + "is_active": map[string]any{"type": "boolean", "example": true}, + }, + }, + "InviteUserRequest": map[string]any{ + "type": "object", + "required": []string{"name", "email", "role"}, + "properties": map[string]any{ + "name": map[string]any{"type": "string", "example": "Maria Silva"}, + "email": map[string]any{"type": "string", "format": "email", "example": "maria.silva@grupotasca.pt"}, + "phone": map[string]any{"type": "string", "nullable": true, "example": "+351912000001"}, + "role": map[string]any{"type": "string", "enum": []string{"employee", "technician", "location_manager", "ops_manager", "admin"}, "example": "employee"}, + "default_location_id": map[string]any{"type": "integer", "nullable": true, "example": 1}, + }, + }, + "UpdateUserRequest": map[string]any{ + "type": "object", + "properties": map[string]any{ + "name": map[string]any{"type": "string", "example": "Maria Silva"}, + "phone": map[string]any{"type": "string", "nullable": true, "example": "+351912000001"}, + "role": map[string]any{"type": "string", "enum": []string{"employee", "technician", "location_manager", "ops_manager", "admin"}, "example": "location_manager"}, + "default_location_id": map[string]any{"type": "integer", "nullable": true, "example": 2}, + }, + }, "ErrorResponse": map[string]any{ "type": "object", "required": []string{"error"}, @@ -378,3 +531,13 @@ func refreshCookieHeader() map[string]any { }, } } + +func userIDParam() map[string]any { + return map[string]any{ + "in": "path", + "name": "id", + "required": true, + "description": "User ID", + "schema": map[string]any{"type": "integer"}, + } +} diff --git a/api/internal/user/handler.go b/api/internal/user/handler.go new file mode 100644 index 0000000..073b79f --- /dev/null +++ b/api/internal/user/handler.go @@ -0,0 +1,257 @@ +package user + +import ( + "context" + "encoding/json" + "errors" + "net/http" + "strconv" + + "api/internal/auth" +) + +type Handler struct { + svc *Service + auth *auth.Middleware +} + +type userDTO struct { + ID int64 `json:"id"` + CompanyID int64 `json:"company_id"` + Name string `json:"name"` + Email string `json:"email"` + Phone *string `json:"phone"` + Role string `json:"role"` + DefaultLocationID *int64 `json:"default_location_id"` + IsActive bool `json:"is_active"` +} + +func toUserDTO(u *User) userDTO { + return userDTO{ + ID: u.ID, + CompanyID: u.CompanyID, + Name: u.Name, + Email: u.Email, + Phone: u.Phone, + Role: u.Role, + DefaultLocationID: u.DefaultLocationID, + IsActive: u.IsActive, + } +} + +func writeJSON(w http.ResponseWriter, status int, v any) { + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(status) + json.NewEncoder(w).Encode(v) +} + +func writeError(w http.ResponseWriter, status int, msg string) { + writeJSON(w, status, map[string]string{"error": msg}) +} + +func parseID(s string) (int64, error) { + return strconv.ParseInt(s, 10, 64) +} + +// locationIDFromContext reads the user's default location from the JWT claims +// returns nil for roles that have no location scope (admin, ops_manager) +func locationIDFromContext(ctx context.Context) *int64 { + return auth.LocationIDFromContext(ctx) +} + +func NewHandler(svc *Service, authMiddleware *auth.Middleware) *Handler { + return &Handler{svc: svc, auth: authMiddleware} +} + +func (h *Handler) RegisterRoutes(mux *http.ServeMux) { + mux.Handle("POST /users", + h.auth.Require( + h.auth.RequireRole(auth.RoleAdmin, auth.RoleLocationManager)( + http.HandlerFunc(h.invite), + ), + ), + ) + + mux.Handle("GET /users", + h.auth.Require( + h.auth.RequireRole(auth.RoleAdmin, auth.RoleOpsManager, auth.RoleLocationManager)( + http.HandlerFunc(h.list), + ), + ), + ) + + mux.Handle("GET /users/{id}", + h.auth.Require( + h.auth.RequireRole(auth.RoleAdmin, auth.RoleOpsManager)( + http.HandlerFunc(h.get), + ), + ), + ) + + mux.Handle("PUT /users/{id}", + h.auth.Require( + h.auth.RequireRole(auth.RoleAdmin)( + http.HandlerFunc(h.update), + ), + ), + ) + + mux.Handle("DELETE /users/{id}", + h.auth.Require( + h.auth.RequireRole(auth.RoleAdmin)( + http.HandlerFunc(h.deactivate), + ), + ), + ) +} + +// POST /users, create the user +type inviteRequest struct { + Name string `json:"name"` + Email string `json:"email"` + Phone *string `json:"phone"` + Role string `json:"role"` + DefaultLocationID *int64 `json:"default_location_id"` +} + +func (h *Handler) invite(w http.ResponseWriter, r *http.Request) { + var req inviteRequest + if err := json.NewDecoder(r.Body).Decode(&req); err != nil { + writeError(w, http.StatusBadRequest, "invalid request body") + return + } + if req.Name == "" || req.Email == "" || req.Role == "" { + writeError(w, http.StatusBadRequest, "name, email and role are required") + return + } + + companyID := auth.CompanyIDFromContext(r.Context()) + requesterRole := auth.RoleFromContext(r.Context()) + requesterLocationID := locationIDFromContext(r.Context()) + + result, err := h.svc.Invite(r.Context(), InviteInput{ + CompanyID: companyID, + InviterRole: string(requesterRole), + InviterLocationID: requesterLocationID, + Name: req.Name, + Email: req.Email, + Phone: req.Phone, + Role: req.Role, + DefaultLocationID: req.DefaultLocationID, + }) + + if err != nil { + switch { + case errors.Is(err, ErrEmailTaken): + writeError(w, http.StatusConflict, "email already in use") + case errors.Is(err, ErrForbidden): + writeError(w, http.StatusForbidden, "insufficient permissions") + default: + writeError(w, http.StatusInternalServerError, "failed to create user") + } + return + } + writeJSON(w, http.StatusCreated, toUserDTO(result.User)) +} + +// GET /users, gets the list of users, having in mind the company and location +func (h *Handler) list(w http.ResponseWriter, r *http.Request) { + companyID := auth.CompanyIDFromContext(r.Context()) + requesterRole := auth.RoleFromContext(r.Context()) + requesterLocationID := locationIDFromContext(r.Context()) + + users, err := h.svc.List(r.Context(), companyID, string(requesterRole), requesterLocationID) + if err != nil { + writeError(w, http.StatusInternalServerError, "failed to fetch users") + return + } + + dtos := make([]userDTO, len(users)) + for i, u := range users { + dtos[i] = toUserDTO(u) + } + writeJSON(w, http.StatusOK, map[string]any{"users": dtos}) +} + +// GET /users/{id} +func (h *Handler) get(w http.ResponseWriter, r *http.Request) { + id, err := parseID(r.PathValue("id")) + if err != nil { + writeError(w, http.StatusBadRequest, "invalid user id") + return + } + + companyID := auth.CompanyIDFromContext(r.Context()) + + user, err := h.svc.Get(r.Context(), id, companyID) + if err != nil { + if errors.Is(err, ErrNotFound) { + writeError(w, http.StatusNotFound, "user not found") + return + } + writeError(w, http.StatusInternalServerError, "failed to fetch user") + return + } + writeJSON(w, http.StatusOK, toUserDTO(user)) +} + +// PUT /users/{id} +type updateRequest struct { + Name *string `json:"name"` + Role *string `json:"role"` + Phone *string `json:"phone"` + DefaultLocationID *int64 `json:"default_location_id"` +} + +func (h *Handler) update(w http.ResponseWriter, r *http.Request) { + id, err := parseID(r.PathValue("id")) + if err != nil { + writeError(w, http.StatusBadRequest, "invalid user id") + return + } + + var req updateRequest + if err := json.NewDecoder(r.Body).Decode(&req); err != nil { + writeError(w, http.StatusBadRequest, "invalid request body") + return + } + + companyID := auth.CompanyIDFromContext(r.Context()) + + user, err := h.svc.Update(r.Context(), id, companyID, UpdateUserInput{ + Name: req.Name, + Role: req.Role, + Phone: req.Phone, + DefaultLocationID: req.DefaultLocationID, + }) + if err != nil { + if errors.Is(err, ErrNotFound) { + writeError(w, http.StatusNotFound, "user not found") + return + } + writeError(w, http.StatusInternalServerError, "failed to update user") + return + } + writeJSON(w, http.StatusOK, toUserDTO(user)) +} + +// DELETE /users/{id}, for now we would do a soft delete, but maybe we want to fully delete? +func (h *Handler) deactivate(w http.ResponseWriter, r *http.Request) { + id, err := parseID(r.PathValue("id")) + if err != nil { + writeError(w, http.StatusBadRequest, "invalid user id") + return + } + + companyID := auth.CompanyIDFromContext(r.Context()) + + if err := h.svc.Deactivate(r.Context(), id, companyID); err != nil { + if errors.Is(err, ErrNotFound) { + writeError(w, http.StatusNotFound, "user not found") + return + } + writeError(w, http.StatusInternalServerError, "failed to deactivate user") + return + } + writeJSON(w, http.StatusOK, map[string]string{"message": "user deactivated"}) +} diff --git a/api/internal/user/repository.go b/api/internal/user/repository.go new file mode 100644 index 0000000..9a22845 --- /dev/null +++ b/api/internal/user/repository.go @@ -0,0 +1,285 @@ +package user + +import ( + "context" + "errors" + "fmt" + "time" + + "github.com/jackc/pgx/v5" + "github.com/jackc/pgx/v5/pgxpool" +) + +type User struct { + ID int64 + CompanyID int64 + Name string + Email string + Phone *string + Role string + DefaultLocationID *int64 + NotificationPrefs map[string]any + CreatedAt time.Time + LastLoginAt *time.Time + IsActive bool +} + +type CreateUserInput struct { + CompanyID int64 + Name string + Email string + Phone *string + Role string + DefaultLocationID *int64 +} + +type UpdateUserInput struct { + Name *string + Role *string + DefaultLocationID *int64 + Phone *string +} + +type repository struct { + db *pgxpool.Pool +} + +func newRepository(db *pgxpool.Pool) *repository { + return &repository{db: db} +} + +func (r *repository) create(ctx context.Context, input CreateUserInput) (*User, error) { + const query = ` + INSERT INTO users (company_id, name, email, phone, role, default_location_id) + VALUES ($1, $2, $3, $4, $5, $6) + RETURNING id, company_id, name, email, phone, role, default_location_id, created_at, is_active + ` + + var u User + err := r.db.QueryRow(ctx, query, + input.CompanyID, + input.Name, + input.Email, + input.Phone, + input.Role, + input.DefaultLocationID, + ).Scan( + &u.ID, + &u.CompanyID, + &u.Name, + &u.Email, + &u.Phone, + &u.Role, + &u.DefaultLocationID, + &u.CreatedAt, + &u.IsActive, + ) + + if err != nil { + return nil, fmt.Errorf("create user: %w", err) + } + + return &u, nil +} + +func (r *repository) getByEmail(ctx context.Context, email string, companyID int64) (*User, error) { + const query = ` + SELECT + id, + company_id, + name, + email, + phone, + role, + default_location_id, + created_at, + last_login_at, + is_active + FROM users + WHERE email = $1 AND company_id = $2 + LIMIT 1` + + var u User + err := r.db.QueryRow(ctx, query, email, companyID).Scan( + &u.ID, + &u.CompanyID, + &u.Name, + &u.Email, + &u.Phone, + &u.Role, + &u.DefaultLocationID, + &u.CreatedAt, + &u.LastLoginAt, + &u.IsActive, + ) + if errors.Is(err, pgx.ErrNoRows) { + return nil, ErrNotFound + } + if err != nil { + return nil, fmt.Errorf("get user by id: %w", err) + } + return &u, nil +} + +func (r *repository) getByID(ctx context.Context, id int64, companyID int64) (*User, error) { + const query = ` + SELECT + id, + company_id, + name, + email, + phone, + role, + default_location_id, + created_at, + last_login_at, + is_active + FROM users + WHERE id = $1 AND company_id = $2 + LIMIT 1` + + var u User + err := r.db.QueryRow(ctx, query, id, companyID).Scan( + &u.ID, + &u.CompanyID, + &u.Name, + &u.Email, + &u.Phone, + &u.Role, + &u.DefaultLocationID, + &u.CreatedAt, + &u.LastLoginAt, + &u.IsActive, + ) + if errors.Is(err, pgx.ErrNoRows) { + return nil, ErrNotFound + } + if err != nil { + return nil, fmt.Errorf("get user by id: %w", err) + } + return &u, nil +} + +// list returns all active users scoped to the company +func (r *repository) list(ctx context.Context, companyID int64, locationID *int64) ([]*User, error) { + query := ` + SELECT + id, + company_id, + name, + email, + phone, + role, + default_location_id, + created_at, + last_login_at, + is_active + FROM users + WHERE company_id = $1 AND is_active = true +` + + args := []any{companyID} + + if locationID != nil { + query += ` AND default_location_id = $2` + args = append(args, *locationID) + } + + query += ` ORDER BY name ASC` + + rows, err := r.db.Query(ctx, query, args...) + if err != nil { + return nil, fmt.Errorf("list users: %w", err) + } + defer rows.Close() + + var users []*User + for rows.Next() { + var u User + if err := rows.Scan( + &u.ID, + &u.CompanyID, + &u.Name, + &u.Email, + &u.Phone, + &u.Role, + &u.DefaultLocationID, + &u.CreatedAt, + &u.LastLoginAt, + &u.IsActive, + ); err != nil { + return nil, fmt.Errorf("list users: scan: %w", err) + } + users = append(users, &u) + } + return users, nil +} + +func (r *repository) update(ctx context.Context, id int64, companyID int64, input UpdateUserInput) (*User, error) { + const q = ` + UPDATE users + SET + name = COALESCE($3, name), + role = COALESCE($6, role), + default_location_id = COALESCE($7, default_location_id), + phone = COALESCE($5, phone) + WHERE id = $1 AND company_id = $2 + RETURNING + id, + company_id, + name, + email, + phone, + role, + default_location_id, + created_at, + last_login_at, + is_active` + + var u User + err := r.db.QueryRow(ctx, q, + id, + companyID, + input.Name, + input.Role, + input.DefaultLocationID, + input.Phone, + ).Scan( + &u.ID, + &u.CompanyID, + &u.Name, + &u.Email, + &u.Phone, + &u.Role, + &u.DefaultLocationID, + &u.CreatedAt, + &u.LastLoginAt, + &u.IsActive, + ) + if errors.Is(err, pgx.ErrNoRows) { + return nil, ErrNotFound + } + if err != nil { + return nil, fmt.Errorf("update user: %w", err) + } + return &u, nil +} + +// TODO: do we want to soft delete the user are remove him for ever??? +// deactivate soft-deletes a user, preserves all history +func (r *repository) deactivate(ctx context.Context, id int64, companyID int64) error { + const query = ` + UPDATE users + SET is_active = false + WHERE id = $1 AND company_id = $2 +` + + tag, err := r.db.Exec(ctx, query, id, companyID) + if err != nil { + return fmt.Errorf("deactivate user: %w", err) + } + if tag.RowsAffected() == 0 { + return ErrNotFound + } + return nil +} diff --git a/api/internal/user/service.go b/api/internal/user/service.go new file mode 100644 index 0000000..ea4af1a --- /dev/null +++ b/api/internal/user/service.go @@ -0,0 +1,136 @@ +package user + +import ( + "context" + "errors" + "fmt" + + "api/internal/auth" + "github.com/jackc/pgx/v5/pgxpool" +) + +var ( + ErrNotFound = errors.New("user not found") + ErrEmailTaken = errors.New("email already in use") + ErrForbidden = errors.New("insufficient permissions") +) + +type Service struct { + repo *repository + auth *auth.Service +} + +func NewService(db *pgxpool.Pool, authService *auth.Service) *Service { + return &Service{ + repo: newRepository(db), + auth: authService, + } +} + +type InviteInput struct { + CompanyID int64 + InviterRole string + InviterLocationID *int64 + Name string + Email string + Phone *string + Role string + DefaultLocationID *int64 +} + +type InviteResult struct { + User *User +} + +func dereferenceInt64(v *int64) any { + if v == nil { + return nil + } + return *v +} +func (s *Service) Invite(ctx context.Context, input InviteInput) (*InviteResult, error) { + // location manager can only create employees and technicias + if input.InviterRole == string(auth.RoleLocationManager) { + if input.Role != string(auth.RoleEmployee) && input.Role != string(auth.RoleTechnician) { + return nil, ErrForbidden + } + + // default to inviters location if not explicitly set + if input.DefaultLocationID == nil { + input.DefaultLocationID = input.InviterLocationID + } + + if input.InviterLocationID == nil || + *input.InviterLocationID != *input.DefaultLocationID { + return nil, ErrForbidden + } + } + // prevent duplicate emails within the company + _, err := s.repo.getByEmail(ctx, input.Email, input.CompanyID) + if err == nil { + return nil, ErrEmailTaken + } + if !errors.Is(err, ErrNotFound) { + return nil, fmt.Errorf("invite: check email: %w", err) + } + + user, err := s.repo.create(ctx, CreateUserInput{ + CompanyID: input.CompanyID, + Name: input.Name, + Email: input.Email, + Phone: input.Phone, + Role: input.Role, + DefaultLocationID: input.DefaultLocationID, + }) + + if err != nil { + return nil, fmt.Errorf("invite: create user: %w", err) + } + + // use our magic link system to send an invitation link to the user + _, err = s.auth.SendMagicLink(ctx, auth.SendMagicLinkInput{Email: user.Email}) + if err != nil { + // TODO: log this properly when logger is injected + // not fatal issue, user is created, invite email can be resent + fmt.Println("error magic link", err) + } + + return &InviteResult{User: user}, nil +} + +func (s *Service) List(ctx context.Context, companyID int64, requesterRole string, requesterLocationID *int64) ([]*User, error) { + // location managers only see their own locations users + var locationFilter *int64 + if requesterRole == string(auth.RoleLocationManager) { + locationFilter = requesterLocationID + } + + users, err := s.repo.list(ctx, companyID, locationFilter) + if err != nil { + return nil, fmt.Errorf("list users: %w", err) + } + return users, nil +} + +func (s *Service) Get(ctx context.Context, id int64, companyID int64) (*User, error) { + user, err := s.repo.getByID(ctx, id, companyID) + if err != nil { + return nil, fmt.Errorf("get user: %w", err) + } + return user, nil +} + +func (s *Service) Update(ctx context.Context, id int64, companyID int64, input UpdateUserInput) (*User, error) { + user, err := s.repo.update(ctx, id, companyID, input) + if err != nil { + return nil, fmt.Errorf("update user: %w", err) + } + return user, nil +} + +func (s *Service) Deactivate(ctx context.Context, id int64, companyID int64) error { + if err := s.repo.deactivate(ctx, id, companyID); err != nil { + return fmt.Errorf("deactivate user: %w", err) + } + return nil +} diff --git a/api/pkg/config/config.go b/api/pkg/config/config.go index 7b28729..f59135d 100644 --- a/api/pkg/config/config.go +++ b/api/pkg/config/config.go @@ -25,6 +25,9 @@ type Config struct { JWTAccessExpiry time.Duration JWTRefreshExpiry time.Duration + CORSAllowedOrigin string + + FrontendURL string // // Email (Postmark) // PostmarkAPIKey string // PostmarkFrom string @@ -45,6 +48,8 @@ func Load() *Config { JWTSecret: require("JWT_SECRET"), JWTAccessExpiry: parseDuration("JWT_ACCESS_EXPIRY", 15*time.Minute), JWTRefreshExpiry: parseDuration("JWT_REFRESH_EXPIRY", 7*24*time.Hour), + CORSAllowedOrigin: getEnv("CORS_ALLOWED_ORIGIN", "http://localhost:5173"), + FrontendURL: getEnv("FRONTEND_URL", "http://localhost:5173"), // // External services — optional locally, required in production. // // The service checks these at call time and skips gracefully if empty. diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index 141275a..2ccb7b0 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -20,7 +20,7 @@ services: - postgres_data:/var/lib/postgresql # init-postgres.sql runs ONCE on first boot (when the volume is empty) # it enables PostgreSQL extensions that require superuser privileges: - # pgcrypto → gen_random_uuid() used by every table's PK default + # pgcrypto → gen_random_uuid() used for the equipment table # pg_trgm → fast fuzzy search on equipment names and issue titles # btree_gist → exclusion constraints for PM schedule overlap prevention - ./scripts/init-postgres.sql:/docker-entrypoint-initdb.d/00-init.sql:ro @@ -112,6 +112,8 @@ services: # 7 days, stored in HttpOnly cookie JWT_REFRESH_EXPIRY: ${JWT_REFRESH_EXPIRY:-168h} APP_ENV: development + CORS_ALLOWED_ORIGIN: ${CORS_ALLOWED_ORIGIN:-http://localhost:5173} + FRONTEND_URL: ${FRONTEND_URL:-http://localhost:5173} LOG_LEVEL: debug PORT: 8080 # # External services — leave blank locally unless actively testing diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index db28436..40f1c3c 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -97,6 +97,7 @@ services: JWT_SECRET: ${JWT_SECRET} JWT_ACCESS_EXPIRY: ${JWT_ACCESS_EXPIRY:-15m} JWT_REFRESH_EXPIRY: ${JWT_REFRESH_EXPIRY:-168h} + CORS_ALLOWED_ORIGIN: ${CORS_ALLOWED_ORIGIN:-http://localhost:5173} APP_ENV: production LOG_LEVEL: info PORT: 8080 diff --git a/front/package-lock.json b/front/package-lock.json index 5aae6b2..7ab0fd9 100644 --- a/front/package-lock.json +++ b/front/package-lock.json @@ -8,9 +8,12 @@ "name": "operafix", "version": "1.0.0", "dependencies": { + "@urql/exchange-auth": "^3.0.0", + "@urql/exchange-graphcache": "^9.0.0", "@vitejs/plugin-react": "^4.3.4", "clsx": "^2.1.1", "framer-motion": "^12.38.0", + "graphql": "^16.13.2", "i18next": "^26.0.4", "i18next-browser-languagedetector": "^8.2.1", "lucide-react": "^0.477.0", @@ -21,6 +24,7 @@ "react-router-dom": "^7.13.2", "recharts": "^2.15.4", "tailwind-merge": "^3.5.0", + "urql": "^5.0.2", "vite": "^6.4.2", "vite-plugin-pwa": "^1.2.0" }, @@ -34,6 +38,20 @@ "typescript": "^5.9.3" } }, + "node_modules/@0no-co/graphql.web": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@0no-co/graphql.web/-/graphql.web-1.2.0.tgz", + "integrity": "sha512-/1iHy9TTr63gE1YcR5idjx8UREz1s0kFhydf3bBLCXyqjhkIc6igAzTOx3zPifCwFR87tsh/4Pa9cNts6d2otw==", + "license": "MIT", + "peerDependencies": { + "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0" + }, + "peerDependenciesMeta": { + "graphql": { + "optional": true + } + } + }, "node_modules/@alloc/quick-lru": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz", @@ -91,6 +109,7 @@ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.0.tgz", "integrity": "sha512-CGOfOJqWjg2qW/Mb6zNsDm+u5vFQ8DxXfbM09z69p5Z6+mE1ikP2jUXw+j42Pf1XTYED2Rni5f95npYeuwMDQA==", "license": "MIT", + "peer": true, "dependencies": { "@babel/code-frame": "^7.29.0", "@babel/generator": "^7.29.0", @@ -2566,6 +2585,7 @@ "integrity": "sha512-F0R/h2+dsy5wJAUe3tAU6oqa2qbWY5TpNfL/RGmo1y38hiyO1w3x2jPtt76wmuaJI4DQnOBu21cNXQ2STIUUWg==", "devOptional": true, "license": "MIT", + "peer": true, "dependencies": { "undici-types": "~6.21.0" } @@ -2576,6 +2596,7 @@ "integrity": "sha512-ilcTH/UniCkMdtexkoCN0bI7pMcJDvmQFPvuPvmEaYA/NSfFTAgdUSLAoVjaRJm7+6PvcM+q1zYOwS4wTYMF9w==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "csstype": "^3.2.2" } @@ -2602,6 +2623,43 @@ "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==", "license": "MIT" }, + "node_modules/@urql/core": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@urql/core/-/core-6.0.1.tgz", + "integrity": "sha512-FZDiQk6jxbj5hixf2rEPv0jI+IZz0EqqGW8mJBEug68/zHTtT+f34guZDmyjJZyiWbj0vL165LoMr/TkeDHaug==", + "license": "MIT", + "dependencies": { + "@0no-co/graphql.web": "^1.0.13", + "wonka": "^6.3.2" + } + }, + "node_modules/@urql/exchange-auth": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@urql/exchange-auth/-/exchange-auth-3.0.0.tgz", + "integrity": "sha512-tj09xiOR2f1J2h8TE9uZWjRZipCdmDoTewEytOacDQ+0Teo+yIZxm3ppHxolQtiA51OHrGYiNTkMte8HtfvaBw==", + "license": "MIT", + "dependencies": { + "@urql/core": "^6.0.0", + "wonka": "^6.3.2" + }, + "peerDependencies": { + "@urql/core": "^6.0.0" + } + }, + "node_modules/@urql/exchange-graphcache": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/@urql/exchange-graphcache/-/exchange-graphcache-9.0.0.tgz", + "integrity": "sha512-5ACktvMFdnD5JC6DaSUrlj345c1JIUi7PwgvmnkwVOWsCRt/Vo9946UaG+sg69ku8seESMBK4xkeI41M39Dd5A==", + "license": "MIT", + "dependencies": { + "@0no-co/graphql.web": "^1.0.13", + "@urql/core": "^6.0.1", + "wonka": "^6.3.2" + }, + "peerDependencies": { + "@urql/core": "^6.0.0" + } + }, "node_modules/@vitejs/plugin-react": { "version": "4.3.4", "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.3.4.tgz", @@ -2638,6 +2696,7 @@ "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.18.0.tgz", "integrity": "sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==", "license": "MIT", + "peer": true, "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", @@ -2920,6 +2979,7 @@ } ], "license": "MIT", + "peer": true, "dependencies": { "baseline-browser-mapping": "^2.9.0", "caniuse-lite": "^1.0.30001759", @@ -4082,6 +4142,16 @@ "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", "license": "ISC" }, + "node_modules/graphql": { + "version": "16.13.2", + "resolved": "https://registry.npmjs.org/graphql/-/graphql-16.13.2.tgz", + "integrity": "sha512-5bJ+nf/UCpAjHM8i06fl7eLyVC9iuNAjm9qzkiu2ZGhM0VscSvS6WDPfAwkdkBuoXGM9FJSbKl6wylMwP9Ktig==", + "license": "MIT", + "peer": true, + "engines": { + "node": "^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0" + } + }, "node_modules/has-bigints": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.1.0.tgz", @@ -4188,6 +4258,7 @@ } ], "license": "MIT", + "peer": true, "dependencies": { "@babel/runtime": "^7.29.2" }, @@ -4707,6 +4778,7 @@ "integrity": "sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==", "devOptional": true, "license": "MIT", + "peer": true, "bin": { "jiti": "bin/jiti.js" } @@ -5224,6 +5296,7 @@ } ], "license": "MIT", + "peer": true, "dependencies": { "nanoid": "^3.3.11", "picocolors": "^1.1.1", @@ -5440,6 +5513,7 @@ "resolved": "https://registry.npmjs.org/react/-/react-19.2.4.tgz", "integrity": "sha512-9nfp2hYpCwOjAN+8TZFGhtWEwgvWHXqESH8qT89AT/lWklpLON22Lc8pEtnpsZz7VmawabSU0gCjnj8aC0euHQ==", "license": "MIT", + "peer": true, "engines": { "node": ">=0.10.0" } @@ -5449,6 +5523,7 @@ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.4.tgz", "integrity": "sha512-AXJdLo8kgMbimY95O2aKQqsz2iWi9jMgKJhRBAxECE4IFxfcazB2LmzloIoibJI3C12IlY20+KFaLv+71bUJeQ==", "license": "MIT", + "peer": true, "dependencies": { "scheduler": "^0.27.0" }, @@ -6392,6 +6467,7 @@ "resolved": "https://registry.npmjs.org/terser/-/terser-5.46.1.tgz", "integrity": "sha512-vzCjQO/rgUuK9sf8VJZvjqiqiHFaZLnOiimmUuOKODxWL8mm/xua7viT7aqX7dgPY60otQjUotzFMmCB4VdmqQ==", "license": "BSD-2-Clause", + "peer": true, "dependencies": { "@jridgewell/source-map": "^0.3.3", "acorn": "^8.15.0", @@ -6577,6 +6653,7 @@ "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", "devOptional": true, "license": "Apache-2.0", + "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -6711,6 +6788,20 @@ "browserslist": ">= 4.21.0" } }, + "node_modules/urql": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/urql/-/urql-5.0.2.tgz", + "integrity": "sha512-hiBR9GNbMPMZpv9Yd40EMCc94d8eAkGcmt5jcrKVfp26ScjluAQLCEKetJ4SXLy5DJG59Y6gbuA+2yquzh20/w==", + "license": "MIT", + "dependencies": { + "@urql/core": "^6.0.1", + "wonka": "^6.3.2" + }, + "peerDependencies": { + "@urql/core": "^6.0.0", + "react": ">= 16.8.0" + } + }, "node_modules/use-sync-external-store": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.6.0.tgz", @@ -6754,6 +6845,7 @@ "resolved": "https://registry.npmjs.org/vite/-/vite-6.4.2.tgz", "integrity": "sha512-2N/55r4JDJ4gdrCvGgINMy+HH3iRpNIz8K6SFwVsA+JbQScLiC+clmAxBgwiSPgcG9U15QmvqCGWzMbqda5zGQ==", "license": "MIT", + "peer": true, "dependencies": { "esbuild": "^0.25.0", "fdir": "^6.4.4", @@ -6979,6 +7071,12 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/wonka": { + "version": "6.3.6", + "resolved": "https://registry.npmjs.org/wonka/-/wonka-6.3.6.tgz", + "integrity": "sha512-MXH+6mDHAZ2GuMpgKS055FR6v0xVP3XwquxIMYXgiW+FejHQlMGlvVRZT4qMCxR+bEo/FCtIdKxwej9WV3YQag==", + "license": "MIT" + }, "node_modules/workbox-background-sync": { "version": "7.4.0", "resolved": "https://registry.npmjs.org/workbox-background-sync/-/workbox-background-sync-7.4.0.tgz", @@ -7140,6 +7238,7 @@ "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.80.0.tgz", "integrity": "sha512-cIFJOD1DESzpjOBl763Kp1AH7UE/0fcdHe6rZXUdQ9c50uvgigvW97u3IcSeBwOkgqL/PXPBktBCh0KEu5L8XQ==", "license": "MIT", + "peer": true, "bin": { "rollup": "dist/bin/rollup" }, diff --git a/front/package.json b/front/package.json index 7ac674a..34a151b 100644 --- a/front/package.json +++ b/front/package.json @@ -9,9 +9,12 @@ "preview": "vite preview" }, "dependencies": { + "@urql/exchange-auth": "^3.0.0", + "@urql/exchange-graphcache": "^9.0.0", "@vitejs/plugin-react": "^4.3.4", "clsx": "^2.1.1", "framer-motion": "^12.38.0", + "graphql": "^16.13.2", "i18next": "^26.0.4", "i18next-browser-languagedetector": "^8.2.1", "lucide-react": "^0.477.0", @@ -22,6 +25,7 @@ "react-router-dom": "^7.13.2", "recharts": "^2.15.4", "tailwind-merge": "^3.5.0", + "urql": "^5.0.2", "vite": "^6.4.2", "vite-plugin-pwa": "^1.2.0" }, diff --git a/front/src/App.tsx b/front/src/App.tsx index 48982d4..61bb6c0 100644 --- a/front/src/App.tsx +++ b/front/src/App.tsx @@ -16,6 +16,7 @@ import { ReportsList } from './pages/Reports/ReportsList.tsx' import { QRScanner } from './pages/QRScanner.tsx' import { TechnicianAssignment } from './pages/Technicians/TechnicianAssignment.tsx' import { Analytics } from './pages/Analytics.tsx' +import { AuthVerify } from './pages/AuthVerify.tsx' import { PreventiveList } from './pages/Preventive/PreventiveList.tsx' import { PWAInstallPrompt } from './components/PWAInstallPrompt.tsx' import { Docs } from './pages/Docs/index.tsx' @@ -69,6 +70,8 @@ function App() { {/* Public Routes */} } /> + } /> + } /> {/* Protected Routes wrapped with Layout */} void - logout: () => void + login: (email: string, password: string) => Promise + logout: () => Promise isLoading: boolean + error: string | null } const AuthContext = createContext(undefined) -/** - * Handles user authentication state and session persistence. - */ export const AuthProvider: FC<{ children: ReactNode }> = ({ children }) => { const [user, setUser] = useState(null) const [isLoading, setIsLoading] = useState(true) + const [error, setError] = useState(null) /** - * Attempt to restore user session from localStorage on initial load. + * On mount, attempt a silent token refresh. + * The HttpOnly refresh token cookie is sent automatically. + * If it fails, the user is unauthenticated — no redirect, just clear state. */ useEffect(() => { - const savedUser = localStorage.getItem('operafix-user') - if (savedUser) { - setUser(JSON.parse(savedUser)) - } - setIsLoading(false) + authApi + .refresh() + .then(({ access_token, user }) => { + tokenStore.set(access_token) + setUser(user) + }) + .catch(() => { + // Expired or no session — expected, not an error + // TODO: we should probably not clean the token for PWA offline + tokenStore.clear() + setUser(null) + }) + .finally(() => setIsLoading(false)) }, []) - /** - * Find user in mock data and save to session. - */ - const login = (id: string) => { - const foundUser = USERS.find((u) => u.id === id) - if (foundUser) { - setUser(foundUser) - localStorage.setItem('operafix-user', JSON.stringify(foundUser)) + const login = async (email: string, password: string) => { + setError(null) + try { + const { access_token, user } = await authApi.login(email, password) + tokenStore.set(access_token) + setUser(user) + } catch (err) { + const message = isApiError(err) + ? err.status === 401 ? 'Invalid email or password.' : err.message + : 'Network error. Please try again.' + + setError(message) + throw err // let the form handle loading state } } - /** - * Clear user session. - */ - const logout = () => { + const logout = async () => { + await authApi.logout().catch(() => { + console.log('something when here!!!!!!!!!!!!!!!!!') + }) + tokenStore.clear() setUser(null) - localStorage.removeItem('operafix-user') } return ( - + {children} ) } -/** - * Custom hook to access authentication state. - */ export const useAuth = () => { - const context = useContext(AuthContext) - if (!context) throw new Error('useAuth must be used within AuthProvider') - return context + const ctx = useContext(AuthContext) + if (!ctx) throw new Error('useAuth must be used within AuthProvider') + return ctx } diff --git a/front/src/context/ToastContext.tsx b/front/src/context/ToastContext.tsx index a5827b0..0be8549 100644 --- a/front/src/context/ToastContext.tsx +++ b/front/src/context/ToastContext.tsx @@ -1,7 +1,7 @@ import type { FC, ReactNode } from 'react' import { createContext, useCallback, useContext, useState } from 'react' import { AnimatePresence, motion } from 'framer-motion' -import { AlertCircle, CheckCircle2, Info } from 'lucide-react' +import { CheckCircle2, CircleAlert, Info } from 'lucide-react' import { cn } from '../lib/utils.ts' /** @@ -61,7 +61,7 @@ export const ToastProvider: FC<{ children: ReactNode }> = ({ children }) => { )} > {t.type === 'success' && } - {t.type === 'error' && } + {t.type === 'error' && } {t.type === 'info' && } {t.message} diff --git a/front/src/lib/api/auth.ts b/front/src/lib/api/auth.ts new file mode 100644 index 0000000..518b3df --- /dev/null +++ b/front/src/lib/api/auth.ts @@ -0,0 +1,77 @@ +import type { User } from '../../types/index.ts' + +const BASE = import.meta.env.VITE_API_URL ?? '' + +// In-memory access token — never touches localStorage/sessionStorage +let _accessToken: string | null = null + +export const tokenStore = { + get: () => _accessToken, + set: (t: string | null) => { + _accessToken = t + }, + clear: () => { + _accessToken = null + }, +} + +const request = async (path: string, init: RequestInit = {}): Promise => { + const res = await fetch(`${BASE}${path}`, { + ...init, + credentials: 'include', + headers: { + 'Content-Type': 'application/json', + ...(tokenStore.get() ? { Authorization: `Bearer ${tokenStore.get()}` } : {}), + ...init.headers, + }, + }) + + if (!res.ok) { + const body = await res.json().catch(() => ({})) + throw createApiError(res.status, body.message ?? res.statusText) + } + + return res.json() as Promise +} + +export type ApiError = { + name: 'ApiError' + status: number + message: string +} + +export const createApiError = (status: number, message: string): ApiError => ({ + name: 'ApiError', + status, + message, +}) + +export const isApiError = (err: unknown): err is ApiError => + typeof err === 'object' && + err !== null && + (err as ApiError).name === 'ApiError' + +interface LoginResponse { + access_token: string + user: User +} + +export const authApi = { + login: (email: string, password: string) => + request('/auth/login', { + method: 'POST', + body: JSON.stringify({ email, password }), + }), + + refresh: () => request('/auth/refresh', { method: 'POST' }), + + me: () => request('/auth/me'), + + logout: () => request('/auth/logout', { method: 'POST' }), + + magicLink: (email: string) => + request('/auth/magic-link', { + method: 'POST', + body: JSON.stringify({ email }), + }), +} diff --git a/front/src/lib/api/user.ts b/front/src/lib/api/user.ts new file mode 100644 index 0000000..c6e4eaf --- /dev/null +++ b/front/src/lib/api/user.ts @@ -0,0 +1,65 @@ +import type { User } from '../../types/index.ts' +import { tokenStore } from './auth.ts' + +const BASE = import.meta.env.VITE_API_URL ?? '' + +const request = async (path: string, init: RequestInit = {}): Promise => { + const res = await fetch(`${BASE}${path}`, { + ...init, + credentials: 'include', + headers: { + 'Content-Type': 'application/json', + ...(tokenStore.get() ? { Authorization: `Bearer ${tokenStore.get()}` } : {}), + ...init.headers, + }, + }) + if (!res.ok) { + const body = await res.json().catch(() => ({})) + throw new Error(body.error ?? res.statusText) + } + return res.json() as Promise +} + +export type UserDetail = { + id: number + company_id: number + name: string + email: string + phone: string | null + role: User['role'] + default_location_id: number | null + is_active: boolean +} + +export type InviteUserPayload = { + name: string + email: string + phone?: string + role: string + default_location_id?: number | null +} + +export type UpdateUserPayload = { + name?: string + role?: string + phone?: string + default_location_id?: number | null +} + +export const usersApi = { + list: () => request<{ users: UserDetail[] }>('/users').then((r) => r.users), + + invite: (payload: InviteUserPayload) => + request('/users', { + method: 'POST', + body: JSON.stringify(payload), + }), + + update: (id: number, payload: UpdateUserPayload) => + request(`/users/${id}`, { + method: 'PUT', + body: JSON.stringify(payload), + }), + + deactivate: (id: number) => request<{ message: string }>(`/users/${id}`, { method: 'DELETE' }), +} diff --git a/front/src/lib/equipment.ts b/front/src/lib/equipment.ts new file mode 100644 index 0000000..5a0d472 --- /dev/null +++ b/front/src/lib/equipment.ts @@ -0,0 +1,72 @@ +import { gql, useQuery, type UseQueryArgs } from 'urql' + +export interface EquipmentRow { + id: string + name: string + serial_number: string + status: 'active' | 'under_repair' | 'decommissioned' + install_date: string + location: { id: number; name: string } + equipment_category: { id: number; name: string } +} + +interface EquipmentListData { + equipment: EquipmentRow[] +} + +interface EquipmentListVariables { + where: Record +} + +interface EquipmentCategory { + id: number + name: string +} + +interface EquipmentCategoriesData { + equipment_categories: EquipmentCategory[] +} + +interface EquipmentCategoriesVariables { + company_id: number +} + +const EQUIPMENT_LIST_QUERY = gql` + query EquipmentList($where: equipment_bool_exp!) { + equipment(where: $where, order_by: { name: asc }) { + id + name + serial_number + status + install_date + location { id name } + equipment_category { id name } + } + }` + +const EQUIPMENT_CATEGORIES_QUERY = gql` + query EquipmentCategories($company_id: Int!) { + equipment_categories( + where: { company_id: { _eq: $company_id } } + order_by: { name: asc } + ) { + id + name + } + }` + +export const useGetEquipmentList = ( + props: Omit, 'query'>, +) => + useQuery({ + query: EQUIPMENT_LIST_QUERY, + ...props, + }) + +export const useGetEquipmentCategories = ( + props: Omit, 'query'>, +) => + useQuery({ + query: EQUIPMENT_CATEGORIES_QUERY, + ...props, + }) diff --git a/front/src/lib/gql/graphql-client.ts b/front/src/lib/gql/graphql-client.ts new file mode 100644 index 0000000..872a182 --- /dev/null +++ b/front/src/lib/gql/graphql-client.ts @@ -0,0 +1,101 @@ +import { Client, createClient, fetchExchange } from 'urql' +// NOTE: because of using the platform with PWA offline we need to be able to cache the queries +// therefore this package is basically that +// also it queues the queries +import { cacheExchange } from '@urql/exchange-graphcache' +import { makeDefaultStorage } from '@urql/exchange-graphcache/default-storage' +import { authExchange } from '@urql/exchange-auth' +import { authApi, tokenStore } from './../api/auth.ts' +import schema from './schema.json' + +// cache +const storage = makeDefaultStorage({ + idbName: 'luso-point-equipemnts-cache', + // TODO: check if we could put less? + maxAge: 7, +}) + +const graphcache = cacheExchange({ + schema: schema as never, + storage, + keys: { + // every queryable type needs this so updates propagate + companies: (d) => String(d.id), + locations: (d) => String(d.id), + location_types: (d) => String(d.id), + equipment: (d) => String(d.id), + equipment_categories: (d) => String(d.id), + equipment_photos: (d) => String(d.id), + issues: (d) => String(d.id), + issue_photos: (d) => String(d.id), + issue_comments: (d) => String(d.id), + maintenance_actions: (d) => String(d.id), + parts_used: (d) => String(d.id), + preventive_tasks: (d) => String(d.id), + preventive_schedules: (d) => String(d.id), + users: (d) => String(d.id), + + // Aggregate / computed result types have no id, embed inline + locations_aggregate: () => null, + locations_aggregate_fields: () => null, + equipment_aggregate: () => null, + equipment_aggregate_fields: () => null, + issues_aggregate: () => null, + issues_aggregate_fields: () => null, + }, + updates: { + Mutation: { + // TODO: should we handle mutations? at least for the ones they can change + // insert_locations_one(_r, _a, cache) { + // cache.invalidate('Query', 'locations') + // }, + // delete_locations_by_pk(_r, args, cache) { + // cache.invalidate({ __typename: 'locations', id: String(args.id) }) + // }, + // insert_equipment_one(_r, _a, cache) { + // cache.invalidate('Query', 'equipment') + // }, + }, + }, +}) + +const auth = authExchange(async (utils) => { + return { + addAuthToOperation(operation) { + const token = tokenStore.get() + if (!token) return operation + return utils.appendHeaders(operation, { + Authorization: `Bearer ${token}`, + }) + }, + + didAuthError(error) { + // returns 200 with `errors[0].extensions.code === 'invalid-jwt'` + // for expired tokens, also catch raw 401 from gateway + return ( + error.response?.status === 401 || + error.graphQLErrors.some( + (e) => e.extensions?.code === 'invalid-jwt', + ) + ) + }, + + async refreshAuth() { + try { + const { access_token } = await authApi.refresh() + tokenStore.set(access_token) + } catch { + // refresh failed, clear and let the application auth context redirect to login + tokenStore.clear() + // do not throw, let the original op fail with the auth error + } + }, + } +}) + +export const gqlClient: Client = createClient({ + url: import.meta.env.VITE_GRAPHQL_URL, + exchanges: [graphcache, auth, fetchExchange], + preferGetMethod: false, + // suspense: false // default; flip if you adopt React Suspense for queries +}) diff --git a/front/src/lib/gql/schema.json b/front/src/lib/gql/schema.json new file mode 100644 index 0000000..595aeec --- /dev/null +++ b/front/src/lib/gql/schema.json @@ -0,0 +1,86054 @@ +{ + "__schema": { + "queryType": { + "name": "query_root" + }, + "mutationType": { + "name": "mutation_root" + }, + "subscriptionType": { + "name": "subscription_root" + }, + "types": [ + { + "kind": "SCALAR", + "name": "Boolean", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "Boolean_comparison_exp", + "description": "Boolean expression to compare columns of type \"Boolean\". All fields are combined with logical 'AND'.", + "fields": null, + "inputFields": [ + { + "name": "_eq", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_gt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_gte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_in", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "_is_null", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_lt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_lte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_neq", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_nin", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "Float", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "Int", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "description": "Boolean expression to compare columns of type \"Int\". All fields are combined with logical 'AND'.", + "fields": null, + "inputFields": [ + { + "name": "_eq", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_gt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_gte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_in", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "_is_null", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_lt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_lte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_neq", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_nin", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "String", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "description": "Boolean expression to compare columns of type \"String\". All fields are combined with logical 'AND'.", + "fields": null, + "inputFields": [ + { + "name": "_eq", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_gt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_gte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_ilike", + "description": "does the column match the given case-insensitive pattern", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_in", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "_iregex", + "description": "does the column match the given POSIX regular expression, case insensitive", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_is_null", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_like", + "description": "does the column match the given pattern", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_lt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_lte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_neq", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_nilike", + "description": "does the column NOT match the given case-insensitive pattern", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_nin", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "_niregex", + "description": "does the column NOT match the given POSIX regular expression, case insensitive", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_nlike", + "description": "does the column NOT match the given pattern", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_nregex", + "description": "does the column NOT match the given POSIX regular expression, case sensitive", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_nsimilar", + "description": "does the column NOT match the given SQL regular expression", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_regex", + "description": "does the column match the given POSIX regular expression, case sensitive", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_similar", + "description": "does the column match the given SQL regular expression", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "__Directive", + "description": null, + "fields": [ + { + "name": "args", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "__InputValue", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "isRepeatable", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locations", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "__EnumValue", + "description": null, + "fields": [ + { + "name": "deprecationReason", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "isDeprecated", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "__Field", + "description": null, + "fields": [ + { + "name": "args", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "__InputValue", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deprecationReason", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "isDeprecated", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "type", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "__InputValue", + "description": null, + "fields": [ + { + "name": "defaultValue", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "type", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "__Schema", + "description": null, + "fields": [ + { + "name": "description", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "directives", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "__Directive", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mutationType", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "queryType", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subscriptionType", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "types", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "__Type", + "description": null, + "fields": [ + { + "name": "description", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "enumValues", + "description": null, + "args": [ + { + "name": "includeDeprecated", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": "false" + } + ], + "type": { + "kind": "OBJECT", + "name": "__EnumValue", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "fields", + "description": null, + "args": [ + { + "name": "includeDeprecated", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": "false" + } + ], + "type": { + "kind": "OBJECT", + "name": "__Field", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "inputFields", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "__InputValue", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "interfaces", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "kind", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "__TypeKind", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ofType", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "possibleTypes", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "__TypeKind", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ENUM", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INPUT_OBJECT", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INTERFACE", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LIST", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NON_NULL", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "OBJECT", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SCALAR", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UNION", + "description": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "bigint", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "bigint_comparison_exp", + "description": "Boolean expression to compare columns of type \"bigint\". All fields are combined with logical 'AND'.", + "fields": null, + "inputFields": [ + { + "name": "_eq", + "description": null, + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_gt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_gte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_in", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "_is_null", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_lt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_lte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_neq", + "description": null, + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_nin", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + } + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "companies", + "description": "columns and relationships of \"companies\"", + "fields": [ + { + "name": "branding", + "description": null, + "args": [ + { + "name": "path", + "description": "JSON select path", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_categories", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_categories_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment_categories", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_categories_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_categories_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment_categories_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "industry", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_categories", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issue_categories_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issue_categories", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_categories_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issue_categories_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issue_categories_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issues", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issues_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issues_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issues", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issues_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issues_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issues_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issues_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_types", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "location_types_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "location_types_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "location_types", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_types_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "location_types_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "location_types_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "location_types_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locations", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "locations_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "locations_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "locations", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locations_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "locations_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "locations_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "locations_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notifications_logs", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "notifications_log_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "notifications_log", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notifications_logs_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "notifications_log_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "notifications_log_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "plan", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "preventive_tasks", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "preventive_tasks_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "preventive_tasks", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "preventive_tasks_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "preventive_tasks_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "preventive_tasks_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "severity_levels", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "severity_levels_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "severity_levels", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "severity_levels_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "severity_levels_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "severity_levels_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "slug", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "timezone", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "users", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "users_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "users_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "users", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "users_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "users_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "users_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "users_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "companies_aggregate", + "description": "aggregated selection of \"companies\"", + "fields": [ + { + "name": "aggregate", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "companies_aggregate_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "companies", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "companies_aggregate_fields", + "description": "aggregate fields of \"companies\"", + "fields": [ + { + "name": "avg", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "companies_avg_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "count", + "description": null, + "args": [ + { + "name": "columns", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "companies_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "max", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "companies_max_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "min", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "companies_min_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "companies_stddev_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "companies_stddev_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "companies_stddev_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sum", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "companies_sum_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "companies_var_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "companies_var_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variance", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "companies_variance_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "companies_append_input", + "description": "append existing jsonb value of filtered columns with new jsonb value", + "fields": null, + "inputFields": [ + { + "name": "branding", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "companies_avg_fields", + "description": "aggregate avg on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "companies_bool_exp", + "description": "Boolean expression to filter rows from the table \"companies\". All fields are combined with a logical 'AND'.", + "fields": null, + "inputFields": [ + { + "name": "_and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "companies_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "_not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "companies_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "branding", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "jsonb_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_categories", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_categories_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "industry", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_categories", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_categories_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issues", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issues_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_types", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_types_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "locations", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "locations_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "notifications_logs", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "notifications_logs_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "plan", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "preventive_tasks", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "preventive_tasks_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "severity_levels", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "severity_levels_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "slug", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "timezone", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "users", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "users_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "companies_constraint", + "description": "unique or primary key constraints on table \"companies\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "companies_pkey", + "description": "unique or primary key constraint on columns \"id\"", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "companies_slug_key", + "description": "unique or primary key constraint on columns \"slug\"", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "companies_delete_at_path_input", + "description": "delete the field or element with specified path (for JSON arrays, negative integers count from the end)", + "fields": null, + "inputFields": [ + { + "name": "branding", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "companies_delete_elem_input", + "description": "delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array", + "fields": null, + "inputFields": [ + { + "name": "branding", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "companies_delete_key_input", + "description": "delete key/value pair or string element. key/value pairs are matched based on their key value", + "fields": null, + "inputFields": [ + { + "name": "branding", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "companies_inc_input", + "description": "input type for incrementing numeric columns in table \"companies\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "companies_insert_input", + "description": "input type for inserting data into table \"companies\"", + "fields": null, + "inputFields": [ + { + "name": "branding", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_categories", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "industry", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_categories", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issues", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_types", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "locations", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "notifications_logs", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "plan", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "preventive_tasks", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "severity_levels", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "slug", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "timezone", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "users", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "companies_max_fields", + "description": "aggregate max on columns", + "fields": [ + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "industry", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "plan", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "slug", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "timezone", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "companies_min_fields", + "description": "aggregate min on columns", + "fields": [ + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "industry", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "plan", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "slug", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "timezone", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "companies_mutation_response", + "description": "response of any mutation on the table \"companies\"", + "fields": [ + { + "name": "affected_rows", + "description": "number of rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "returning", + "description": "data from the rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "companies", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "companies_obj_rel_insert_input", + "description": "input type for inserting object relation for remote table \"companies\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "companies_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "companies_on_conflict", + "description": "on_conflict condition type for table \"companies\"", + "fields": null, + "inputFields": [ + { + "name": "constraint", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "companies_constraint", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "update_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "companies_update_column", + "ofType": null + } + } + } + }, + "defaultValue": "[]" + }, + { + "name": "where", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "companies_order_by", + "description": "Ordering options when selecting data from \"companies\".", + "fields": null, + "inputFields": [ + { + "name": "branding", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_categories_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "industry", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_categories_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issues_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_types_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "locations_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "notifications_logs_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "plan", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "preventive_tasks_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "severity_levels_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "slug", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "timezone", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "users_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "companies_pk_columns_input", + "description": "primary key columns input for table: companies", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "companies_prepend_input", + "description": "prepend existing jsonb value of filtered columns with new jsonb value", + "fields": null, + "inputFields": [ + { + "name": "branding", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "companies_select_column", + "description": "select columns of table \"companies\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "branding", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "industry", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "plan", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "slug", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "timezone", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "companies_set_input", + "description": "input type for updating data in table \"companies\"", + "fields": null, + "inputFields": [ + { + "name": "branding", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "industry", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "plan", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "slug", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "timezone", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "companies_stddev_fields", + "description": "aggregate stddev on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "companies_stddev_pop_fields", + "description": "aggregate stddev_pop on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "companies_stddev_samp_fields", + "description": "aggregate stddev_samp on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "companies_stream_cursor_input", + "description": "Streaming cursor of the table \"companies\"", + "fields": null, + "inputFields": [ + { + "name": "initial_value", + "description": "Stream column input with initial value", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "companies_stream_cursor_value_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "ordering", + "description": "cursor ordering", + "type": { + "kind": "ENUM", + "name": "cursor_ordering", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "companies_stream_cursor_value_input", + "description": "Initial value of the column from where the streaming should start", + "fields": null, + "inputFields": [ + { + "name": "branding", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "industry", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "plan", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "slug", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "timezone", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "companies_sum_fields", + "description": "aggregate sum on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "companies_update_column", + "description": "update columns of table \"companies\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "branding", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "industry", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "plan", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "slug", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "timezone", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "companies_updates", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "_append", + "description": "append existing jsonb value of filtered columns with new jsonb value", + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_append_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_delete_at_path", + "description": "delete the field or element with specified path (for JSON arrays, negative integers count from the end)", + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_delete_at_path_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_delete_elem", + "description": "delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array", + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_delete_elem_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_delete_key", + "description": "delete key/value pair or string element. key/value pairs are matched based on their key value", + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_delete_key_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_prepend", + "description": "prepend existing jsonb value of filtered columns with new jsonb value", + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_prepend_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "companies_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "companies_var_pop_fields", + "description": "aggregate var_pop on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "companies_var_samp_fields", + "description": "aggregate var_samp on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "companies_variance_fields", + "description": "aggregate variance on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "cursor_ordering", + "description": "ordering argument of a cursor", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "ASC", + "description": "ascending ordering of the cursor", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "DESC", + "description": "descending ordering of the cursor", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "date", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "date_comparison_exp", + "description": "Boolean expression to compare columns of type \"date\". All fields are combined with logical 'AND'.", + "fields": null, + "inputFields": [ + { + "name": "_eq", + "description": null, + "type": { + "kind": "SCALAR", + "name": "date", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_gt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "date", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_gte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "date", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_in", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "date", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "_is_null", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_lt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "date", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_lte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "date", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_neq", + "description": null, + "type": { + "kind": "SCALAR", + "name": "date", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_nin", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "date", + "ofType": null + } + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment", + "description": "columns and relationships of \"equipment\"", + "fields": [ + { + "name": "category_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "companies", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment", + "description": "An object relationship", + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipmentByParentEquipmentId", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipmentByParentEquipmentId_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_analytics", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_analytics_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment_analytics", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_analytics_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_analytics_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment_analytics_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_category", + "description": "An object relationship", + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment_categories", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_photos", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_photos_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment_photos", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_photos_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_photos_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment_photos_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expected_lifespan_years", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "install_date", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "date", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "is_component", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issues", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issues_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issues_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issues", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issues_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issues_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issues_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issues_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "locations", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "manufacturer", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "model", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "parent_equipment_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "preventive_tasks", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "preventive_tasks_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "preventive_tasks", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "preventive_tasks_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "preventive_tasks_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "preventive_tasks_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "purchase_cost_cents", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "serial_number", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "warranty_expiry", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "date", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_aggregate", + "description": "aggregated selection of \"equipment\"", + "fields": [ + { + "name": "aggregate", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment_aggregate_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_aggregate_bool_exp", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "bool_and", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_aggregate_bool_exp_bool_and", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "bool_or", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_aggregate_bool_exp_bool_or", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "count", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_aggregate_bool_exp_count", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_aggregate_bool_exp_bool_and", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "arguments", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_select_column_equipment_aggregate_bool_exp_bool_and_arguments_columns", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "filter", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "predicate", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Boolean_comparison_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_aggregate_bool_exp_bool_or", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "arguments", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_select_column_equipment_aggregate_bool_exp_bool_or_arguments_columns", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "filter", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "predicate", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Boolean_comparison_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_aggregate_bool_exp_count", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "arguments", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "filter", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "predicate", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_aggregate_fields", + "description": "aggregate fields of \"equipment\"", + "fields": [ + { + "name": "avg", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment_avg_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "count", + "description": null, + "args": [ + { + "name": "columns", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "max", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment_max_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "min", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment_min_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment_stddev_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment_stddev_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment_stddev_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sum", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment_sum_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment_var_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment_var_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variance", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment_variance_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_aggregate_order_by", + "description": "order by aggregate values of table \"equipment\"", + "fields": null, + "inputFields": [ + { + "name": "avg", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_avg_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "count", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "max", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_max_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "min", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_min_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_stddev_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev_pop", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_stddev_pop_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev_samp", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_stddev_samp_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sum", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_sum_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "var_pop", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_var_pop_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "var_samp", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_var_samp_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "variance", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_variance_order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_analytics", + "description": "columns and relationships of \"equipment_analytics\"", + "fields": [ + { + "name": "calculated_at", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "downtime_minutes", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "health_score", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "numeric", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_count", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mtbf_days", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mttr_hours", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "period_date", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "date", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "total_cost_cents", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_analytics_aggregate", + "description": "aggregated selection of \"equipment_analytics\"", + "fields": [ + { + "name": "aggregate", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment_analytics_aggregate_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment_analytics", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_aggregate_bool_exp", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "count", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_aggregate_bool_exp_count", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_aggregate_bool_exp_count", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "arguments", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_analytics_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "filter", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "predicate", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_analytics_aggregate_fields", + "description": "aggregate fields of \"equipment_analytics\"", + "fields": [ + { + "name": "avg", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment_analytics_avg_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "count", + "description": null, + "args": [ + { + "name": "columns", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_analytics_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "max", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment_analytics_max_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "min", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment_analytics_min_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment_analytics_stddev_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment_analytics_stddev_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment_analytics_stddev_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sum", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment_analytics_sum_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment_analytics_var_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment_analytics_var_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variance", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment_analytics_variance_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_aggregate_order_by", + "description": "order by aggregate values of table \"equipment_analytics\"", + "fields": null, + "inputFields": [ + { + "name": "avg", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_avg_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "count", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "max", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_max_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "min", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_min_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_stddev_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev_pop", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_stddev_pop_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev_samp", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_stddev_samp_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sum", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_sum_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "var_pop", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_var_pop_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "var_samp", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_var_samp_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "variance", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_variance_order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_arr_rel_insert_input", + "description": "input type for inserting array relation for remote table \"equipment_analytics\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_analytics_avg_fields", + "description": "aggregate avg on columns", + "fields": [ + { + "name": "downtime_minutes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "health_score", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_count", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mtbf_days", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mttr_hours", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "total_cost_cents", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_avg_order_by", + "description": "order by avg() on columns of table \"equipment_analytics\"", + "fields": null, + "inputFields": [ + { + "name": "downtime_minutes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "health_score", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_count", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "mtbf_days", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "mttr_hours", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "total_cost_cents", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_bool_exp", + "description": "Boolean expression to filter rows from the table \"equipment_analytics\". All fields are combined with a logical 'AND'.", + "fields": null, + "inputFields": [ + { + "name": "_and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "_not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "calculated_at", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "downtime_minutes", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "health_score", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "numeric_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_count", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "mtbf_days", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "mttr_hours", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "period_date", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "date_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "total_cost_cents", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "equipment_analytics_constraint", + "description": "unique or primary key constraints on table \"equipment_analytics\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "equipment_analytics_pkey", + "description": "unique or primary key constraint on columns \"id\"", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "uq_analytics_equipment_period", + "description": "unique or primary key constraint on columns \"period_date\", \"equipment_id\"", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_inc_input", + "description": "input type for incrementing numeric columns in table \"equipment_analytics\"", + "fields": null, + "inputFields": [ + { + "name": "downtime_minutes", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "health_score", + "description": null, + "type": { + "kind": "SCALAR", + "name": "numeric", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_count", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "mtbf_days", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "mttr_hours", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "total_cost_cents", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_insert_input", + "description": "input type for inserting data into table \"equipment_analytics\"", + "fields": null, + "inputFields": [ + { + "name": "calculated_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "downtime_minutes", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "health_score", + "description": null, + "type": { + "kind": "SCALAR", + "name": "numeric", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_count", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "mtbf_days", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "mttr_hours", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "period_date", + "description": null, + "type": { + "kind": "SCALAR", + "name": "date", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "total_cost_cents", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_analytics_max_fields", + "description": "aggregate max on columns", + "fields": [ + { + "name": "calculated_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "downtime_minutes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "health_score", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "numeric", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_count", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mtbf_days", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mttr_hours", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "period_date", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "date", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "total_cost_cents", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_max_order_by", + "description": "order by max() on columns of table \"equipment_analytics\"", + "fields": null, + "inputFields": [ + { + "name": "calculated_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "downtime_minutes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "health_score", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_count", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "mtbf_days", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "mttr_hours", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "period_date", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "total_cost_cents", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_analytics_min_fields", + "description": "aggregate min on columns", + "fields": [ + { + "name": "calculated_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "downtime_minutes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "health_score", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "numeric", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_count", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mtbf_days", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mttr_hours", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "period_date", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "date", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "total_cost_cents", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_min_order_by", + "description": "order by min() on columns of table \"equipment_analytics\"", + "fields": null, + "inputFields": [ + { + "name": "calculated_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "downtime_minutes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "health_score", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_count", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "mtbf_days", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "mttr_hours", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "period_date", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "total_cost_cents", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_analytics_mutation_response", + "description": "response of any mutation on the table \"equipment_analytics\"", + "fields": [ + { + "name": "affected_rows", + "description": "number of rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "returning", + "description": "data from the rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment_analytics", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_on_conflict", + "description": "on_conflict condition type for table \"equipment_analytics\"", + "fields": null, + "inputFields": [ + { + "name": "constraint", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_analytics_constraint", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "update_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_analytics_update_column", + "ofType": null + } + } + } + }, + "defaultValue": "[]" + }, + { + "name": "where", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_order_by", + "description": "Ordering options when selecting data from \"equipment_analytics\".", + "fields": null, + "inputFields": [ + { + "name": "calculated_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "downtime_minutes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "health_score", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_count", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "mtbf_days", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "mttr_hours", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "period_date", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "total_cost_cents", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_pk_columns_input", + "description": "primary key columns input for table: equipment_analytics", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "equipment_analytics_select_column", + "description": "select columns of table \"equipment_analytics\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "calculated_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "downtime_minutes", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "health_score", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_count", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mtbf_days", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mttr_hours", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "period_date", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "total_cost_cents", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_set_input", + "description": "input type for updating data in table \"equipment_analytics\"", + "fields": null, + "inputFields": [ + { + "name": "calculated_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "downtime_minutes", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "health_score", + "description": null, + "type": { + "kind": "SCALAR", + "name": "numeric", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_count", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "mtbf_days", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "mttr_hours", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "period_date", + "description": null, + "type": { + "kind": "SCALAR", + "name": "date", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "total_cost_cents", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_analytics_stddev_fields", + "description": "aggregate stddev on columns", + "fields": [ + { + "name": "downtime_minutes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "health_score", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_count", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mtbf_days", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mttr_hours", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "total_cost_cents", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_stddev_order_by", + "description": "order by stddev() on columns of table \"equipment_analytics\"", + "fields": null, + "inputFields": [ + { + "name": "downtime_minutes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "health_score", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_count", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "mtbf_days", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "mttr_hours", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "total_cost_cents", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_analytics_stddev_pop_fields", + "description": "aggregate stddev_pop on columns", + "fields": [ + { + "name": "downtime_minutes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "health_score", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_count", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mtbf_days", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mttr_hours", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "total_cost_cents", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_stddev_pop_order_by", + "description": "order by stddev_pop() on columns of table \"equipment_analytics\"", + "fields": null, + "inputFields": [ + { + "name": "downtime_minutes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "health_score", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_count", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "mtbf_days", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "mttr_hours", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "total_cost_cents", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_analytics_stddev_samp_fields", + "description": "aggregate stddev_samp on columns", + "fields": [ + { + "name": "downtime_minutes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "health_score", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_count", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mtbf_days", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mttr_hours", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "total_cost_cents", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_stddev_samp_order_by", + "description": "order by stddev_samp() on columns of table \"equipment_analytics\"", + "fields": null, + "inputFields": [ + { + "name": "downtime_minutes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "health_score", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_count", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "mtbf_days", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "mttr_hours", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "total_cost_cents", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_stream_cursor_input", + "description": "Streaming cursor of the table \"equipment_analytics\"", + "fields": null, + "inputFields": [ + { + "name": "initial_value", + "description": "Stream column input with initial value", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_stream_cursor_value_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "ordering", + "description": "cursor ordering", + "type": { + "kind": "ENUM", + "name": "cursor_ordering", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_stream_cursor_value_input", + "description": "Initial value of the column from where the streaming should start", + "fields": null, + "inputFields": [ + { + "name": "calculated_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "downtime_minutes", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "health_score", + "description": null, + "type": { + "kind": "SCALAR", + "name": "numeric", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_count", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "mtbf_days", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "mttr_hours", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "period_date", + "description": null, + "type": { + "kind": "SCALAR", + "name": "date", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "total_cost_cents", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_analytics_sum_fields", + "description": "aggregate sum on columns", + "fields": [ + { + "name": "downtime_minutes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "health_score", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "numeric", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_count", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mtbf_days", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mttr_hours", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "total_cost_cents", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_sum_order_by", + "description": "order by sum() on columns of table \"equipment_analytics\"", + "fields": null, + "inputFields": [ + { + "name": "downtime_minutes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "health_score", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_count", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "mtbf_days", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "mttr_hours", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "total_cost_cents", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "equipment_analytics_update_column", + "description": "update columns of table \"equipment_analytics\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "calculated_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "downtime_minutes", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "health_score", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_count", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mtbf_days", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mttr_hours", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "period_date", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "total_cost_cents", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_updates", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_analytics_var_pop_fields", + "description": "aggregate var_pop on columns", + "fields": [ + { + "name": "downtime_minutes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "health_score", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_count", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mtbf_days", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mttr_hours", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "total_cost_cents", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_var_pop_order_by", + "description": "order by var_pop() on columns of table \"equipment_analytics\"", + "fields": null, + "inputFields": [ + { + "name": "downtime_minutes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "health_score", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_count", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "mtbf_days", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "mttr_hours", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "total_cost_cents", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_analytics_var_samp_fields", + "description": "aggregate var_samp on columns", + "fields": [ + { + "name": "downtime_minutes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "health_score", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_count", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mtbf_days", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mttr_hours", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "total_cost_cents", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_var_samp_order_by", + "description": "order by var_samp() on columns of table \"equipment_analytics\"", + "fields": null, + "inputFields": [ + { + "name": "downtime_minutes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "health_score", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_count", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "mtbf_days", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "mttr_hours", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "total_cost_cents", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_analytics_variance_fields", + "description": "aggregate variance on columns", + "fields": [ + { + "name": "downtime_minutes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "health_score", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_count", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mtbf_days", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mttr_hours", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "total_cost_cents", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_variance_order_by", + "description": "order by variance() on columns of table \"equipment_analytics\"", + "fields": null, + "inputFields": [ + { + "name": "downtime_minutes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "health_score", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_count", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "mtbf_days", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "mttr_hours", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "total_cost_cents", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_arr_rel_insert_input", + "description": "input type for inserting array relation for remote table \"equipment\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_avg_fields", + "description": "aggregate avg on columns", + "fields": [ + { + "name": "category_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expected_lifespan_years", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "purchase_cost_cents", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_avg_order_by", + "description": "order by avg() on columns of table \"equipment\"", + "fields": null, + "inputFields": [ + { + "name": "category_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expected_lifespan_years", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "purchase_cost_cents", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_bool_exp", + "description": "Boolean expression to filter rows from the table \"equipment\". All fields are combined with a logical 'AND'.", + "fields": null, + "inputFields": [ + { + "name": "_and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "_not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "category_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipmentByParentEquipmentId", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipmentByParentEquipmentId_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_analytics", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_analytics_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_category", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_photos", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_photos_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expected_lifespan_years", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "install_date", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "date_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "is_component", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Boolean_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issues", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issues_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "manufacturer", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "model", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "notes", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "parent_equipment_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "preventive_tasks", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "preventive_tasks_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "purchase_cost_cents", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "serial_number", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "status", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "warranty_expiry", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "date_comparison_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_categories", + "description": "columns and relationships of \"equipment_categories\"", + "fields": [ + { + "name": "company", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "companies", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_pm_interval_days", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "icon", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_categories_aggregate", + "description": "aggregated selection of \"equipment_categories\"", + "fields": [ + { + "name": "aggregate", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment_categories_aggregate_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment_categories", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_aggregate_bool_exp", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "count", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_aggregate_bool_exp_count", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_aggregate_bool_exp_count", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "arguments", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_categories_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "filter", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "predicate", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_categories_aggregate_fields", + "description": "aggregate fields of \"equipment_categories\"", + "fields": [ + { + "name": "avg", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment_categories_avg_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "count", + "description": null, + "args": [ + { + "name": "columns", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_categories_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "max", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment_categories_max_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "min", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment_categories_min_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment_categories_stddev_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment_categories_stddev_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment_categories_stddev_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sum", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment_categories_sum_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment_categories_var_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment_categories_var_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variance", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment_categories_variance_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_aggregate_order_by", + "description": "order by aggregate values of table \"equipment_categories\"", + "fields": null, + "inputFields": [ + { + "name": "avg", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_avg_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "count", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "max", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_max_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "min", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_min_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_stddev_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev_pop", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_stddev_pop_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev_samp", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_stddev_samp_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sum", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_sum_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "var_pop", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_var_pop_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "var_samp", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_var_samp_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "variance", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_variance_order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_arr_rel_insert_input", + "description": "input type for inserting array relation for remote table \"equipment_categories\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_categories_avg_fields", + "description": "aggregate avg on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_pm_interval_days", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_avg_order_by", + "description": "order by avg() on columns of table \"equipment_categories\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_pm_interval_days", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_bool_exp", + "description": "Boolean expression to filter rows from the table \"equipment_categories\". All fields are combined with a logical 'AND'.", + "fields": null, + "inputFields": [ + { + "name": "_and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "_not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "company", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_pm_interval_days", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "icon", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "equipment_categories_constraint", + "description": "unique or primary key constraints on table \"equipment_categories\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "equipment_categories_pkey", + "description": "unique or primary key constraint on columns \"id\"", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_inc_input", + "description": "input type for incrementing numeric columns in table \"equipment_categories\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_pm_interval_days", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_insert_input", + "description": "input type for inserting data into table \"equipment_categories\"", + "fields": null, + "inputFields": [ + { + "name": "company", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_pm_interval_days", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "icon", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_categories_max_fields", + "description": "aggregate max on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_pm_interval_days", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "icon", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_max_order_by", + "description": "order by max() on columns of table \"equipment_categories\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_pm_interval_days", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "icon", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_categories_min_fields", + "description": "aggregate min on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_pm_interval_days", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "icon", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_min_order_by", + "description": "order by min() on columns of table \"equipment_categories\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_pm_interval_days", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "icon", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_categories_mutation_response", + "description": "response of any mutation on the table \"equipment_categories\"", + "fields": [ + { + "name": "affected_rows", + "description": "number of rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "returning", + "description": "data from the rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment_categories", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_obj_rel_insert_input", + "description": "input type for inserting object relation for remote table \"equipment_categories\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_on_conflict", + "description": "on_conflict condition type for table \"equipment_categories\"", + "fields": null, + "inputFields": [ + { + "name": "constraint", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_categories_constraint", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "update_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_categories_update_column", + "ofType": null + } + } + } + }, + "defaultValue": "[]" + }, + { + "name": "where", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_order_by", + "description": "Ordering options when selecting data from \"equipment_categories\".", + "fields": null, + "inputFields": [ + { + "name": "company", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_pm_interval_days", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "icon", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_pk_columns_input", + "description": "primary key columns input for table: equipment_categories", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "equipment_categories_select_column", + "description": "select columns of table \"equipment_categories\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "company_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_pm_interval_days", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "icon", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_set_input", + "description": "input type for updating data in table \"equipment_categories\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_pm_interval_days", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "icon", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_categories_stddev_fields", + "description": "aggregate stddev on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_pm_interval_days", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_stddev_order_by", + "description": "order by stddev() on columns of table \"equipment_categories\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_pm_interval_days", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_categories_stddev_pop_fields", + "description": "aggregate stddev_pop on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_pm_interval_days", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_stddev_pop_order_by", + "description": "order by stddev_pop() on columns of table \"equipment_categories\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_pm_interval_days", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_categories_stddev_samp_fields", + "description": "aggregate stddev_samp on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_pm_interval_days", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_stddev_samp_order_by", + "description": "order by stddev_samp() on columns of table \"equipment_categories\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_pm_interval_days", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_stream_cursor_input", + "description": "Streaming cursor of the table \"equipment_categories\"", + "fields": null, + "inputFields": [ + { + "name": "initial_value", + "description": "Stream column input with initial value", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_stream_cursor_value_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "ordering", + "description": "cursor ordering", + "type": { + "kind": "ENUM", + "name": "cursor_ordering", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_stream_cursor_value_input", + "description": "Initial value of the column from where the streaming should start", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_pm_interval_days", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "icon", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_categories_sum_fields", + "description": "aggregate sum on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_pm_interval_days", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_sum_order_by", + "description": "order by sum() on columns of table \"equipment_categories\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_pm_interval_days", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "equipment_categories_update_column", + "description": "update columns of table \"equipment_categories\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "company_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_pm_interval_days", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "icon", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_updates", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_categories_var_pop_fields", + "description": "aggregate var_pop on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_pm_interval_days", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_var_pop_order_by", + "description": "order by var_pop() on columns of table \"equipment_categories\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_pm_interval_days", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_categories_var_samp_fields", + "description": "aggregate var_samp on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_pm_interval_days", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_var_samp_order_by", + "description": "order by var_samp() on columns of table \"equipment_categories\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_pm_interval_days", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_categories_variance_fields", + "description": "aggregate variance on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_pm_interval_days", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_variance_order_by", + "description": "order by variance() on columns of table \"equipment_categories\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_pm_interval_days", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "equipment_constraint", + "description": "unique or primary key constraints on table \"equipment\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "equipment_pkey", + "description": "unique or primary key constraint on columns \"id\"", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_inc_input", + "description": "input type for incrementing numeric columns in table \"equipment\"", + "fields": null, + "inputFields": [ + { + "name": "category_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expected_lifespan_years", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "purchase_cost_cents", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_insert_input", + "description": "input type for inserting data into table \"equipment\"", + "fields": null, + "inputFields": [ + { + "name": "category_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipmentByParentEquipmentId", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_analytics", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_category", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_photos", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expected_lifespan_years", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "install_date", + "description": null, + "type": { + "kind": "SCALAR", + "name": "date", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "is_component", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issues", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "manufacturer", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "model", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "notes", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "parent_equipment_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "preventive_tasks", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "purchase_cost_cents", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "serial_number", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "status", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "warranty_expiry", + "description": null, + "type": { + "kind": "SCALAR", + "name": "date", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_max_fields", + "description": "aggregate max on columns", + "fields": [ + { + "name": "category_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expected_lifespan_years", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "install_date", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "date", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "manufacturer", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "model", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "parent_equipment_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "purchase_cost_cents", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "serial_number", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "warranty_expiry", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "date", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_max_order_by", + "description": "order by max() on columns of table \"equipment\"", + "fields": null, + "inputFields": [ + { + "name": "category_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expected_lifespan_years", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "install_date", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "manufacturer", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "model", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "notes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "parent_equipment_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "purchase_cost_cents", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "serial_number", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "status", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "warranty_expiry", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_min_fields", + "description": "aggregate min on columns", + "fields": [ + { + "name": "category_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expected_lifespan_years", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "install_date", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "date", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "manufacturer", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "model", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "parent_equipment_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "purchase_cost_cents", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "serial_number", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "warranty_expiry", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "date", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_min_order_by", + "description": "order by min() on columns of table \"equipment\"", + "fields": null, + "inputFields": [ + { + "name": "category_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expected_lifespan_years", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "install_date", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "manufacturer", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "model", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "notes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "parent_equipment_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "purchase_cost_cents", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "serial_number", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "status", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "warranty_expiry", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_mutation_response", + "description": "response of any mutation on the table \"equipment\"", + "fields": [ + { + "name": "affected_rows", + "description": "number of rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "returning", + "description": "data from the rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_obj_rel_insert_input", + "description": "input type for inserting object relation for remote table \"equipment\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_on_conflict", + "description": "on_conflict condition type for table \"equipment\"", + "fields": null, + "inputFields": [ + { + "name": "constraint", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_constraint", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "update_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_update_column", + "ofType": null + } + } + } + }, + "defaultValue": "[]" + }, + { + "name": "where", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_order_by", + "description": "Ordering options when selecting data from \"equipment\".", + "fields": null, + "inputFields": [ + { + "name": "category_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipmentByParentEquipmentId_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_analytics_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_category", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_photos_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expected_lifespan_years", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "install_date", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "is_component", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issues_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "manufacturer", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "model", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "notes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "parent_equipment_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "preventive_tasks_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "purchase_cost_cents", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "serial_number", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "status", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "warranty_expiry", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_photos", + "description": "columns and relationships of \"equipment_photos\"", + "fields": [ + { + "name": "caption", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "is_primary", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "storage_url", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "uploaded_at", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_photos_aggregate", + "description": "aggregated selection of \"equipment_photos\"", + "fields": [ + { + "name": "aggregate", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment_photos_aggregate_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment_photos", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_aggregate_bool_exp", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "bool_and", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_aggregate_bool_exp_bool_and", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "bool_or", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_aggregate_bool_exp_bool_or", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "count", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_aggregate_bool_exp_count", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_aggregate_bool_exp_bool_and", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "arguments", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_photos_select_column_equipment_photos_aggregate_bool_exp_bool_and_arguments_columns", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "filter", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "predicate", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Boolean_comparison_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_aggregate_bool_exp_bool_or", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "arguments", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_photos_select_column_equipment_photos_aggregate_bool_exp_bool_or_arguments_columns", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "filter", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "predicate", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Boolean_comparison_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_aggregate_bool_exp_count", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "arguments", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_photos_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "filter", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "predicate", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_photos_aggregate_fields", + "description": "aggregate fields of \"equipment_photos\"", + "fields": [ + { + "name": "count", + "description": null, + "args": [ + { + "name": "columns", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_photos_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "max", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment_photos_max_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "min", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "equipment_photos_min_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_aggregate_order_by", + "description": "order by aggregate values of table \"equipment_photos\"", + "fields": null, + "inputFields": [ + { + "name": "count", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "max", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_max_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "min", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_min_order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_arr_rel_insert_input", + "description": "input type for inserting array relation for remote table \"equipment_photos\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_bool_exp", + "description": "Boolean expression to filter rows from the table \"equipment_photos\". All fields are combined with a logical 'AND'.", + "fields": null, + "inputFields": [ + { + "name": "_and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "_not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "caption", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "is_primary", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Boolean_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "storage_url", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "uploaded_at", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "equipment_photos_constraint", + "description": "unique or primary key constraints on table \"equipment_photos\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "equipment_photos_pkey", + "description": "unique or primary key constraint on columns \"id\"", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_insert_input", + "description": "input type for inserting data into table \"equipment_photos\"", + "fields": null, + "inputFields": [ + { + "name": "caption", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "is_primary", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "storage_url", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "uploaded_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_photos_max_fields", + "description": "aggregate max on columns", + "fields": [ + { + "name": "caption", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "storage_url", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "uploaded_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_max_order_by", + "description": "order by max() on columns of table \"equipment_photos\"", + "fields": null, + "inputFields": [ + { + "name": "caption", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "storage_url", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "uploaded_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_photos_min_fields", + "description": "aggregate min on columns", + "fields": [ + { + "name": "caption", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "storage_url", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "uploaded_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_min_order_by", + "description": "order by min() on columns of table \"equipment_photos\"", + "fields": null, + "inputFields": [ + { + "name": "caption", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "storage_url", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "uploaded_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_photos_mutation_response", + "description": "response of any mutation on the table \"equipment_photos\"", + "fields": [ + { + "name": "affected_rows", + "description": "number of rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "returning", + "description": "data from the rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment_photos", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_on_conflict", + "description": "on_conflict condition type for table \"equipment_photos\"", + "fields": null, + "inputFields": [ + { + "name": "constraint", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_photos_constraint", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "update_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_photos_update_column", + "ofType": null + } + } + } + }, + "defaultValue": "[]" + }, + { + "name": "where", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_order_by", + "description": "Ordering options when selecting data from \"equipment_photos\".", + "fields": null, + "inputFields": [ + { + "name": "caption", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "is_primary", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "storage_url", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "uploaded_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_pk_columns_input", + "description": "primary key columns input for table: equipment_photos", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "equipment_photos_select_column", + "description": "select columns of table \"equipment_photos\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "caption", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "is_primary", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "storage_url", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "uploaded_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "equipment_photos_select_column_equipment_photos_aggregate_bool_exp_bool_and_arguments_columns", + "description": "select \"equipment_photos_aggregate_bool_exp_bool_and_arguments_columns\" columns of table \"equipment_photos\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "is_primary", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "equipment_photos_select_column_equipment_photos_aggregate_bool_exp_bool_or_arguments_columns", + "description": "select \"equipment_photos_aggregate_bool_exp_bool_or_arguments_columns\" columns of table \"equipment_photos\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "is_primary", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_set_input", + "description": "input type for updating data in table \"equipment_photos\"", + "fields": null, + "inputFields": [ + { + "name": "caption", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "is_primary", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "storage_url", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "uploaded_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_stream_cursor_input", + "description": "Streaming cursor of the table \"equipment_photos\"", + "fields": null, + "inputFields": [ + { + "name": "initial_value", + "description": "Stream column input with initial value", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_stream_cursor_value_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "ordering", + "description": "cursor ordering", + "type": { + "kind": "ENUM", + "name": "cursor_ordering", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_stream_cursor_value_input", + "description": "Initial value of the column from where the streaming should start", + "fields": null, + "inputFields": [ + { + "name": "caption", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "is_primary", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "storage_url", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "uploaded_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "equipment_photos_update_column", + "description": "update columns of table \"equipment_photos\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "caption", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "is_primary", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "storage_url", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "uploaded_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_updates", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_pk_columns_input", + "description": "primary key columns input for table: equipment", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "equipment_select_column", + "description": "select columns of table \"equipment\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "category_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expected_lifespan_years", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "install_date", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "is_component", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "manufacturer", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "model", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notes", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "parent_equipment_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "purchase_cost_cents", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "serial_number", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "warranty_expiry", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "equipment_select_column_equipment_aggregate_bool_exp_bool_and_arguments_columns", + "description": "select \"equipment_aggregate_bool_exp_bool_and_arguments_columns\" columns of table \"equipment\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "is_component", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "equipment_select_column_equipment_aggregate_bool_exp_bool_or_arguments_columns", + "description": "select \"equipment_aggregate_bool_exp_bool_or_arguments_columns\" columns of table \"equipment\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "is_component", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_set_input", + "description": "input type for updating data in table \"equipment\"", + "fields": null, + "inputFields": [ + { + "name": "category_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expected_lifespan_years", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "install_date", + "description": null, + "type": { + "kind": "SCALAR", + "name": "date", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "is_component", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "manufacturer", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "model", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "notes", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "parent_equipment_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "purchase_cost_cents", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "serial_number", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "status", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "warranty_expiry", + "description": null, + "type": { + "kind": "SCALAR", + "name": "date", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_stddev_fields", + "description": "aggregate stddev on columns", + "fields": [ + { + "name": "category_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expected_lifespan_years", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "purchase_cost_cents", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_stddev_order_by", + "description": "order by stddev() on columns of table \"equipment\"", + "fields": null, + "inputFields": [ + { + "name": "category_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expected_lifespan_years", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "purchase_cost_cents", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_stddev_pop_fields", + "description": "aggregate stddev_pop on columns", + "fields": [ + { + "name": "category_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expected_lifespan_years", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "purchase_cost_cents", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_stddev_pop_order_by", + "description": "order by stddev_pop() on columns of table \"equipment\"", + "fields": null, + "inputFields": [ + { + "name": "category_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expected_lifespan_years", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "purchase_cost_cents", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_stddev_samp_fields", + "description": "aggregate stddev_samp on columns", + "fields": [ + { + "name": "category_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expected_lifespan_years", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "purchase_cost_cents", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_stddev_samp_order_by", + "description": "order by stddev_samp() on columns of table \"equipment\"", + "fields": null, + "inputFields": [ + { + "name": "category_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expected_lifespan_years", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "purchase_cost_cents", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_stream_cursor_input", + "description": "Streaming cursor of the table \"equipment\"", + "fields": null, + "inputFields": [ + { + "name": "initial_value", + "description": "Stream column input with initial value", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_stream_cursor_value_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "ordering", + "description": "cursor ordering", + "type": { + "kind": "ENUM", + "name": "cursor_ordering", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_stream_cursor_value_input", + "description": "Initial value of the column from where the streaming should start", + "fields": null, + "inputFields": [ + { + "name": "category_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expected_lifespan_years", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "install_date", + "description": null, + "type": { + "kind": "SCALAR", + "name": "date", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "is_component", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "manufacturer", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "model", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "notes", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "parent_equipment_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "purchase_cost_cents", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "serial_number", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "status", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "warranty_expiry", + "description": null, + "type": { + "kind": "SCALAR", + "name": "date", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_sum_fields", + "description": "aggregate sum on columns", + "fields": [ + { + "name": "category_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expected_lifespan_years", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "purchase_cost_cents", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_sum_order_by", + "description": "order by sum() on columns of table \"equipment\"", + "fields": null, + "inputFields": [ + { + "name": "category_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expected_lifespan_years", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "purchase_cost_cents", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "equipment_update_column", + "description": "update columns of table \"equipment\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "category_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expected_lifespan_years", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "install_date", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "is_component", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "manufacturer", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "model", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notes", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "parent_equipment_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "purchase_cost_cents", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "serial_number", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "warranty_expiry", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_updates", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_var_pop_fields", + "description": "aggregate var_pop on columns", + "fields": [ + { + "name": "category_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expected_lifespan_years", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "purchase_cost_cents", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_var_pop_order_by", + "description": "order by var_pop() on columns of table \"equipment\"", + "fields": null, + "inputFields": [ + { + "name": "category_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expected_lifespan_years", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "purchase_cost_cents", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_var_samp_fields", + "description": "aggregate var_samp on columns", + "fields": [ + { + "name": "category_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expected_lifespan_years", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "purchase_cost_cents", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_var_samp_order_by", + "description": "order by var_samp() on columns of table \"equipment\"", + "fields": null, + "inputFields": [ + { + "name": "category_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expected_lifespan_years", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "purchase_cost_cents", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "equipment_variance_fields", + "description": "aggregate variance on columns", + "fields": [ + { + "name": "category_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expected_lifespan_years", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "purchase_cost_cents", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "equipment_variance_order_by", + "description": "order by variance() on columns of table \"equipment\"", + "fields": null, + "inputFields": [ + { + "name": "category_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expected_lifespan_years", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "purchase_cost_cents", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "industry_templates", + "description": "columns and relationships of \"industry_templates\"", + "fields": [ + { + "name": "default_equipment_categories", + "description": null, + "args": [ + { + "name": "path", + "description": "JSON select path", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_issue_categories", + "description": null, + "args": [ + { + "name": "path", + "description": "JSON select path", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_location_types", + "description": null, + "args": [ + { + "name": "path", + "description": "JSON select path", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_pm_tasks", + "description": null, + "args": [ + { + "name": "path", + "description": "JSON select path", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_severity_levels", + "description": null, + "args": [ + { + "name": "path", + "description": "JSON select path", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "industry", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "industry_templates_aggregate", + "description": "aggregated selection of \"industry_templates\"", + "fields": [ + { + "name": "aggregate", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "industry_templates_aggregate_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "industry_templates", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "industry_templates_aggregate_fields", + "description": "aggregate fields of \"industry_templates\"", + "fields": [ + { + "name": "avg", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "industry_templates_avg_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "count", + "description": null, + "args": [ + { + "name": "columns", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "industry_templates_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "max", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "industry_templates_max_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "min", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "industry_templates_min_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "industry_templates_stddev_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "industry_templates_stddev_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "industry_templates_stddev_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sum", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "industry_templates_sum_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "industry_templates_var_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "industry_templates_var_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variance", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "industry_templates_variance_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "industry_templates_append_input", + "description": "append existing jsonb value of filtered columns with new jsonb value", + "fields": null, + "inputFields": [ + { + "name": "default_equipment_categories", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_issue_categories", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_location_types", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_pm_tasks", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_severity_levels", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "industry_templates_avg_fields", + "description": "aggregate avg on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "industry_templates_bool_exp", + "description": "Boolean expression to filter rows from the table \"industry_templates\". All fields are combined with a logical 'AND'.", + "fields": null, + "inputFields": [ + { + "name": "_and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "_not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "default_equipment_categories", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "jsonb_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_issue_categories", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "jsonb_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_location_types", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "jsonb_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_pm_tasks", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "jsonb_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_severity_levels", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "jsonb_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "industry", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "industry_templates_constraint", + "description": "unique or primary key constraints on table \"industry_templates\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "industry_templates_industry_key", + "description": "unique or primary key constraint on columns \"industry\"", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "industry_templates_pkey", + "description": "unique or primary key constraint on columns \"id\"", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "industry_templates_delete_at_path_input", + "description": "delete the field or element with specified path (for JSON arrays, negative integers count from the end)", + "fields": null, + "inputFields": [ + { + "name": "default_equipment_categories", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "default_issue_categories", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "default_location_types", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "default_pm_tasks", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "default_severity_levels", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "industry_templates_delete_elem_input", + "description": "delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array", + "fields": null, + "inputFields": [ + { + "name": "default_equipment_categories", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_issue_categories", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_location_types", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_pm_tasks", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_severity_levels", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "industry_templates_delete_key_input", + "description": "delete key/value pair or string element. key/value pairs are matched based on their key value", + "fields": null, + "inputFields": [ + { + "name": "default_equipment_categories", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_issue_categories", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_location_types", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_pm_tasks", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_severity_levels", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "industry_templates_inc_input", + "description": "input type for incrementing numeric columns in table \"industry_templates\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "industry_templates_insert_input", + "description": "input type for inserting data into table \"industry_templates\"", + "fields": null, + "inputFields": [ + { + "name": "default_equipment_categories", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_issue_categories", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_location_types", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_pm_tasks", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_severity_levels", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "industry", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "industry_templates_max_fields", + "description": "aggregate max on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "industry", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "industry_templates_min_fields", + "description": "aggregate min on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "industry", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "industry_templates_mutation_response", + "description": "response of any mutation on the table \"industry_templates\"", + "fields": [ + { + "name": "affected_rows", + "description": "number of rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "returning", + "description": "data from the rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "industry_templates", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "industry_templates_on_conflict", + "description": "on_conflict condition type for table \"industry_templates\"", + "fields": null, + "inputFields": [ + { + "name": "constraint", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "industry_templates_constraint", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "update_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "industry_templates_update_column", + "ofType": null + } + } + } + }, + "defaultValue": "[]" + }, + { + "name": "where", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "industry_templates_order_by", + "description": "Ordering options when selecting data from \"industry_templates\".", + "fields": null, + "inputFields": [ + { + "name": "default_equipment_categories", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_issue_categories", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_location_types", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_pm_tasks", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_severity_levels", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "industry", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "industry_templates_pk_columns_input", + "description": "primary key columns input for table: industry_templates", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "industry_templates_prepend_input", + "description": "prepend existing jsonb value of filtered columns with new jsonb value", + "fields": null, + "inputFields": [ + { + "name": "default_equipment_categories", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_issue_categories", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_location_types", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_pm_tasks", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_severity_levels", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "industry_templates_select_column", + "description": "select columns of table \"industry_templates\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "default_equipment_categories", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_issue_categories", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_location_types", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_pm_tasks", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_severity_levels", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "industry", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "industry_templates_set_input", + "description": "input type for updating data in table \"industry_templates\"", + "fields": null, + "inputFields": [ + { + "name": "default_equipment_categories", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_issue_categories", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_location_types", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_pm_tasks", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_severity_levels", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "industry", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "industry_templates_stddev_fields", + "description": "aggregate stddev on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "industry_templates_stddev_pop_fields", + "description": "aggregate stddev_pop on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "industry_templates_stddev_samp_fields", + "description": "aggregate stddev_samp on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "industry_templates_stream_cursor_input", + "description": "Streaming cursor of the table \"industry_templates\"", + "fields": null, + "inputFields": [ + { + "name": "initial_value", + "description": "Stream column input with initial value", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_stream_cursor_value_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "ordering", + "description": "cursor ordering", + "type": { + "kind": "ENUM", + "name": "cursor_ordering", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "industry_templates_stream_cursor_value_input", + "description": "Initial value of the column from where the streaming should start", + "fields": null, + "inputFields": [ + { + "name": "default_equipment_categories", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_issue_categories", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_location_types", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_pm_tasks", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_severity_levels", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "industry", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "industry_templates_sum_fields", + "description": "aggregate sum on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "industry_templates_update_column", + "description": "update columns of table \"industry_templates\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "default_equipment_categories", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_issue_categories", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_location_types", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_pm_tasks", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_severity_levels", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "industry", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "industry_templates_updates", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "_append", + "description": "append existing jsonb value of filtered columns with new jsonb value", + "type": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_append_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_delete_at_path", + "description": "delete the field or element with specified path (for JSON arrays, negative integers count from the end)", + "type": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_delete_at_path_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_delete_elem", + "description": "delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array", + "type": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_delete_elem_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_delete_key", + "description": "delete key/value pair or string element. key/value pairs are matched based on their key value", + "type": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_delete_key_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_prepend", + "description": "prepend existing jsonb value of filtered columns with new jsonb value", + "type": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_prepend_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "industry_templates_var_pop_fields", + "description": "aggregate var_pop on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "industry_templates_var_samp_fields", + "description": "aggregate var_samp on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "industry_templates_variance_fields", + "description": "aggregate variance on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_categories", + "description": "columns and relationships of \"issue_categories\"", + "fields": [ + { + "name": "company", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "companies", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_severity_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "icon", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issues", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issues_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issues_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issues", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issues_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issues_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issues_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issues_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "severity_level", + "description": "An object relationship", + "args": [], + "type": { + "kind": "OBJECT", + "name": "severity_levels", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_categories_aggregate", + "description": "aggregated selection of \"issue_categories\"", + "fields": [ + { + "name": "aggregate", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issue_categories_aggregate_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issue_categories", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_categories_aggregate_bool_exp", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "count", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_aggregate_bool_exp_count", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_categories_aggregate_bool_exp_count", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "arguments", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issue_categories_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "filter", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "predicate", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_categories_aggregate_fields", + "description": "aggregate fields of \"issue_categories\"", + "fields": [ + { + "name": "avg", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issue_categories_avg_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "count", + "description": null, + "args": [ + { + "name": "columns", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issue_categories_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "max", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issue_categories_max_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "min", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issue_categories_min_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issue_categories_stddev_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issue_categories_stddev_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issue_categories_stddev_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sum", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issue_categories_sum_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issue_categories_var_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issue_categories_var_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variance", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issue_categories_variance_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_categories_aggregate_order_by", + "description": "order by aggregate values of table \"issue_categories\"", + "fields": null, + "inputFields": [ + { + "name": "avg", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_avg_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "count", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "max", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_max_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "min", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_min_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_stddev_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev_pop", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_stddev_pop_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev_samp", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_stddev_samp_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sum", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_sum_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "var_pop", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_var_pop_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "var_samp", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_var_samp_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "variance", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_variance_order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_categories_arr_rel_insert_input", + "description": "input type for inserting array relation for remote table \"issue_categories\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_categories_avg_fields", + "description": "aggregate avg on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_severity_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_categories_avg_order_by", + "description": "order by avg() on columns of table \"issue_categories\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_severity_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_categories_bool_exp", + "description": "Boolean expression to filter rows from the table \"issue_categories\". All fields are combined with a logical 'AND'.", + "fields": null, + "inputFields": [ + { + "name": "_and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "_not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "company", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_severity_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "icon", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issues", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issues_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "severity_level", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "issue_categories_constraint", + "description": "unique or primary key constraints on table \"issue_categories\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "issue_categories_pkey", + "description": "unique or primary key constraint on columns \"id\"", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_categories_inc_input", + "description": "input type for incrementing numeric columns in table \"issue_categories\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_severity_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_categories_insert_input", + "description": "input type for inserting data into table \"issue_categories\"", + "fields": null, + "inputFields": [ + { + "name": "company", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_severity_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "icon", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issues", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "severity_level", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_categories_max_fields", + "description": "aggregate max on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_severity_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "icon", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_categories_max_order_by", + "description": "order by max() on columns of table \"issue_categories\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_severity_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "icon", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_categories_min_fields", + "description": "aggregate min on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_severity_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "icon", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_categories_min_order_by", + "description": "order by min() on columns of table \"issue_categories\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_severity_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "icon", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_categories_mutation_response", + "description": "response of any mutation on the table \"issue_categories\"", + "fields": [ + { + "name": "affected_rows", + "description": "number of rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "returning", + "description": "data from the rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issue_categories", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_categories_obj_rel_insert_input", + "description": "input type for inserting object relation for remote table \"issue_categories\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_categories_on_conflict", + "description": "on_conflict condition type for table \"issue_categories\"", + "fields": null, + "inputFields": [ + { + "name": "constraint", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issue_categories_constraint", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "update_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issue_categories_update_column", + "ofType": null + } + } + } + }, + "defaultValue": "[]" + }, + { + "name": "where", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_categories_order_by", + "description": "Ordering options when selecting data from \"issue_categories\".", + "fields": null, + "inputFields": [ + { + "name": "company", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_severity_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "icon", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issues_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "severity_level", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_categories_pk_columns_input", + "description": "primary key columns input for table: issue_categories", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "issue_categories_select_column", + "description": "select columns of table \"issue_categories\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "company_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_severity_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "icon", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_categories_set_input", + "description": "input type for updating data in table \"issue_categories\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_severity_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "icon", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_categories_stddev_fields", + "description": "aggregate stddev on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_severity_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_categories_stddev_order_by", + "description": "order by stddev() on columns of table \"issue_categories\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_severity_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_categories_stddev_pop_fields", + "description": "aggregate stddev_pop on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_severity_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_categories_stddev_pop_order_by", + "description": "order by stddev_pop() on columns of table \"issue_categories\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_severity_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_categories_stddev_samp_fields", + "description": "aggregate stddev_samp on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_severity_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_categories_stddev_samp_order_by", + "description": "order by stddev_samp() on columns of table \"issue_categories\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_severity_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_categories_stream_cursor_input", + "description": "Streaming cursor of the table \"issue_categories\"", + "fields": null, + "inputFields": [ + { + "name": "initial_value", + "description": "Stream column input with initial value", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_stream_cursor_value_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "ordering", + "description": "cursor ordering", + "type": { + "kind": "ENUM", + "name": "cursor_ordering", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_categories_stream_cursor_value_input", + "description": "Initial value of the column from where the streaming should start", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_severity_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "icon", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_categories_sum_fields", + "description": "aggregate sum on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_severity_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_categories_sum_order_by", + "description": "order by sum() on columns of table \"issue_categories\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_severity_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "issue_categories_update_column", + "description": "update columns of table \"issue_categories\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "company_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_severity_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "icon", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_categories_updates", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_categories_var_pop_fields", + "description": "aggregate var_pop on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_severity_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_categories_var_pop_order_by", + "description": "order by var_pop() on columns of table \"issue_categories\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_severity_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_categories_var_samp_fields", + "description": "aggregate var_samp on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_severity_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_categories_var_samp_order_by", + "description": "order by var_samp() on columns of table \"issue_categories\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_severity_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_categories_variance_fields", + "description": "aggregate variance on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_severity_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_categories_variance_order_by", + "description": "order by variance() on columns of table \"issue_categories\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_severity_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_comments", + "description": "columns and relationships of \"issue_comments\"", + "fields": [ + { + "name": "author_id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "body", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issues", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "users", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_comments_aggregate", + "description": "aggregated selection of \"issue_comments\"", + "fields": [ + { + "name": "aggregate", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issue_comments_aggregate_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issue_comments", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_comments_aggregate_bool_exp", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "count", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_aggregate_bool_exp_count", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_comments_aggregate_bool_exp_count", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "arguments", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issue_comments_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "filter", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "predicate", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_comments_aggregate_fields", + "description": "aggregate fields of \"issue_comments\"", + "fields": [ + { + "name": "avg", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issue_comments_avg_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "count", + "description": null, + "args": [ + { + "name": "columns", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issue_comments_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "max", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issue_comments_max_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "min", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issue_comments_min_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issue_comments_stddev_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issue_comments_stddev_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issue_comments_stddev_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sum", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issue_comments_sum_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issue_comments_var_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issue_comments_var_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variance", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issue_comments_variance_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_comments_aggregate_order_by", + "description": "order by aggregate values of table \"issue_comments\"", + "fields": null, + "inputFields": [ + { + "name": "avg", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_avg_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "count", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "max", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_max_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "min", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_min_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_stddev_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev_pop", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_stddev_pop_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev_samp", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_stddev_samp_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sum", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_sum_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "var_pop", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_var_pop_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "var_samp", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_var_samp_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "variance", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_variance_order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_comments_arr_rel_insert_input", + "description": "input type for inserting array relation for remote table \"issue_comments\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_comments_avg_fields", + "description": "aggregate avg on columns", + "fields": [ + { + "name": "author_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_comments_avg_order_by", + "description": "order by avg() on columns of table \"issue_comments\"", + "fields": null, + "inputFields": [ + { + "name": "author_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_comments_bool_exp", + "description": "Boolean expression to filter rows from the table \"issue_comments\". All fields are combined with a logical 'AND'.", + "fields": null, + "inputFields": [ + { + "name": "_and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "_not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "author_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "body", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "issue_comments_constraint", + "description": "unique or primary key constraints on table \"issue_comments\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "issue_comments_pkey", + "description": "unique or primary key constraint on columns \"id\"", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_comments_inc_input", + "description": "input type for incrementing numeric columns in table \"issue_comments\"", + "fields": null, + "inputFields": [ + { + "name": "author_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_comments_insert_input", + "description": "input type for inserting data into table \"issue_comments\"", + "fields": null, + "inputFields": [ + { + "name": "author_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "body", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_comments_max_fields", + "description": "aggregate max on columns", + "fields": [ + { + "name": "author_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "body", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_comments_max_order_by", + "description": "order by max() on columns of table \"issue_comments\"", + "fields": null, + "inputFields": [ + { + "name": "author_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "body", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_comments_min_fields", + "description": "aggregate min on columns", + "fields": [ + { + "name": "author_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "body", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_comments_min_order_by", + "description": "order by min() on columns of table \"issue_comments\"", + "fields": null, + "inputFields": [ + { + "name": "author_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "body", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_comments_mutation_response", + "description": "response of any mutation on the table \"issue_comments\"", + "fields": [ + { + "name": "affected_rows", + "description": "number of rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "returning", + "description": "data from the rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issue_comments", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_comments_on_conflict", + "description": "on_conflict condition type for table \"issue_comments\"", + "fields": null, + "inputFields": [ + { + "name": "constraint", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issue_comments_constraint", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "update_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issue_comments_update_column", + "ofType": null + } + } + } + }, + "defaultValue": "[]" + }, + { + "name": "where", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_comments_order_by", + "description": "Ordering options when selecting data from \"issue_comments\".", + "fields": null, + "inputFields": [ + { + "name": "author_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "body", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_comments_pk_columns_input", + "description": "primary key columns input for table: issue_comments", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "issue_comments_select_column", + "description": "select columns of table \"issue_comments\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "author_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "body", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_comments_set_input", + "description": "input type for updating data in table \"issue_comments\"", + "fields": null, + "inputFields": [ + { + "name": "author_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "body", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_comments_stddev_fields", + "description": "aggregate stddev on columns", + "fields": [ + { + "name": "author_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_comments_stddev_order_by", + "description": "order by stddev() on columns of table \"issue_comments\"", + "fields": null, + "inputFields": [ + { + "name": "author_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_comments_stddev_pop_fields", + "description": "aggregate stddev_pop on columns", + "fields": [ + { + "name": "author_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_comments_stddev_pop_order_by", + "description": "order by stddev_pop() on columns of table \"issue_comments\"", + "fields": null, + "inputFields": [ + { + "name": "author_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_comments_stddev_samp_fields", + "description": "aggregate stddev_samp on columns", + "fields": [ + { + "name": "author_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_comments_stddev_samp_order_by", + "description": "order by stddev_samp() on columns of table \"issue_comments\"", + "fields": null, + "inputFields": [ + { + "name": "author_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_comments_stream_cursor_input", + "description": "Streaming cursor of the table \"issue_comments\"", + "fields": null, + "inputFields": [ + { + "name": "initial_value", + "description": "Stream column input with initial value", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_stream_cursor_value_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "ordering", + "description": "cursor ordering", + "type": { + "kind": "ENUM", + "name": "cursor_ordering", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_comments_stream_cursor_value_input", + "description": "Initial value of the column from where the streaming should start", + "fields": null, + "inputFields": [ + { + "name": "author_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "body", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_comments_sum_fields", + "description": "aggregate sum on columns", + "fields": [ + { + "name": "author_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_comments_sum_order_by", + "description": "order by sum() on columns of table \"issue_comments\"", + "fields": null, + "inputFields": [ + { + "name": "author_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "issue_comments_update_column", + "description": "update columns of table \"issue_comments\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "author_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "body", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_comments_updates", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_comments_var_pop_fields", + "description": "aggregate var_pop on columns", + "fields": [ + { + "name": "author_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_comments_var_pop_order_by", + "description": "order by var_pop() on columns of table \"issue_comments\"", + "fields": null, + "inputFields": [ + { + "name": "author_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_comments_var_samp_fields", + "description": "aggregate var_samp on columns", + "fields": [ + { + "name": "author_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_comments_var_samp_order_by", + "description": "order by var_samp() on columns of table \"issue_comments\"", + "fields": null, + "inputFields": [ + { + "name": "author_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_comments_variance_fields", + "description": "aggregate variance on columns", + "fields": [ + { + "name": "author_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_comments_variance_order_by", + "description": "order by variance() on columns of table \"issue_comments\"", + "fields": null, + "inputFields": [ + { + "name": "author_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_photos", + "description": "columns and relationships of \"issue_photos\"", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issues", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stage", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "storage_url", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "uploaded_at", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "uploaded_by", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "users", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_photos_aggregate", + "description": "aggregated selection of \"issue_photos\"", + "fields": [ + { + "name": "aggregate", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issue_photos_aggregate_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issue_photos", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_photos_aggregate_bool_exp", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "count", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_aggregate_bool_exp_count", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_photos_aggregate_bool_exp_count", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "arguments", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issue_photos_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "filter", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "predicate", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_photos_aggregate_fields", + "description": "aggregate fields of \"issue_photos\"", + "fields": [ + { + "name": "avg", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issue_photos_avg_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "count", + "description": null, + "args": [ + { + "name": "columns", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issue_photos_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "max", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issue_photos_max_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "min", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issue_photos_min_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issue_photos_stddev_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issue_photos_stddev_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issue_photos_stddev_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sum", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issue_photos_sum_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issue_photos_var_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issue_photos_var_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variance", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issue_photos_variance_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_photos_aggregate_order_by", + "description": "order by aggregate values of table \"issue_photos\"", + "fields": null, + "inputFields": [ + { + "name": "avg", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_avg_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "count", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "max", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_max_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "min", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_min_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_stddev_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev_pop", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_stddev_pop_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev_samp", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_stddev_samp_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sum", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_sum_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "var_pop", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_var_pop_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "var_samp", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_var_samp_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "variance", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_variance_order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_photos_arr_rel_insert_input", + "description": "input type for inserting array relation for remote table \"issue_photos\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_photos_avg_fields", + "description": "aggregate avg on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "uploaded_by", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_photos_avg_order_by", + "description": "order by avg() on columns of table \"issue_photos\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "uploaded_by", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_photos_bool_exp", + "description": "Boolean expression to filter rows from the table \"issue_photos\". All fields are combined with a logical 'AND'.", + "fields": null, + "inputFields": [ + { + "name": "_and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "_not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stage", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "storage_url", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "uploaded_at", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "uploaded_by", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "issue_photos_constraint", + "description": "unique or primary key constraints on table \"issue_photos\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "issue_photos_pkey", + "description": "unique or primary key constraint on columns \"id\"", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_photos_inc_input", + "description": "input type for incrementing numeric columns in table \"issue_photos\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "uploaded_by", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_photos_insert_input", + "description": "input type for inserting data into table \"issue_photos\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stage", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "storage_url", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "uploaded_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "uploaded_by", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_photos_max_fields", + "description": "aggregate max on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stage", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "storage_url", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "uploaded_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "uploaded_by", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_photos_max_order_by", + "description": "order by max() on columns of table \"issue_photos\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stage", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "storage_url", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "uploaded_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "uploaded_by", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_photos_min_fields", + "description": "aggregate min on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stage", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "storage_url", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "uploaded_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "uploaded_by", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_photos_min_order_by", + "description": "order by min() on columns of table \"issue_photos\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stage", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "storage_url", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "uploaded_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "uploaded_by", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_photos_mutation_response", + "description": "response of any mutation on the table \"issue_photos\"", + "fields": [ + { + "name": "affected_rows", + "description": "number of rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "returning", + "description": "data from the rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issue_photos", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_photos_on_conflict", + "description": "on_conflict condition type for table \"issue_photos\"", + "fields": null, + "inputFields": [ + { + "name": "constraint", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issue_photos_constraint", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "update_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issue_photos_update_column", + "ofType": null + } + } + } + }, + "defaultValue": "[]" + }, + { + "name": "where", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_photos_order_by", + "description": "Ordering options when selecting data from \"issue_photos\".", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stage", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "storage_url", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "uploaded_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "uploaded_by", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_photos_pk_columns_input", + "description": "primary key columns input for table: issue_photos", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "issue_photos_select_column", + "description": "select columns of table \"issue_photos\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stage", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "storage_url", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "uploaded_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "uploaded_by", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_photos_set_input", + "description": "input type for updating data in table \"issue_photos\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stage", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "storage_url", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "uploaded_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "uploaded_by", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_photos_stddev_fields", + "description": "aggregate stddev on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "uploaded_by", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_photos_stddev_order_by", + "description": "order by stddev() on columns of table \"issue_photos\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "uploaded_by", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_photos_stddev_pop_fields", + "description": "aggregate stddev_pop on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "uploaded_by", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_photos_stddev_pop_order_by", + "description": "order by stddev_pop() on columns of table \"issue_photos\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "uploaded_by", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_photos_stddev_samp_fields", + "description": "aggregate stddev_samp on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "uploaded_by", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_photos_stddev_samp_order_by", + "description": "order by stddev_samp() on columns of table \"issue_photos\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "uploaded_by", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_photos_stream_cursor_input", + "description": "Streaming cursor of the table \"issue_photos\"", + "fields": null, + "inputFields": [ + { + "name": "initial_value", + "description": "Stream column input with initial value", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_stream_cursor_value_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "ordering", + "description": "cursor ordering", + "type": { + "kind": "ENUM", + "name": "cursor_ordering", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_photos_stream_cursor_value_input", + "description": "Initial value of the column from where the streaming should start", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stage", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "storage_url", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "uploaded_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "uploaded_by", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_photos_sum_fields", + "description": "aggregate sum on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "uploaded_by", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_photos_sum_order_by", + "description": "order by sum() on columns of table \"issue_photos\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "uploaded_by", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "issue_photos_update_column", + "description": "update columns of table \"issue_photos\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stage", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "storage_url", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "uploaded_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "uploaded_by", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_photos_updates", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_photos_var_pop_fields", + "description": "aggregate var_pop on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "uploaded_by", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_photos_var_pop_order_by", + "description": "order by var_pop() on columns of table \"issue_photos\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "uploaded_by", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_photos_var_samp_fields", + "description": "aggregate var_samp on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "uploaded_by", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_photos_var_samp_order_by", + "description": "order by var_samp() on columns of table \"issue_photos\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "uploaded_by", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issue_photos_variance_fields", + "description": "aggregate variance on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "uploaded_by", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issue_photos_variance_order_by", + "description": "order by variance() on columns of table \"issue_photos\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "uploaded_by", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issues", + "description": "columns and relationships of \"issues\"", + "fields": [ + { + "name": "assigned_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "assigned_to", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "category_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "closed_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "companies", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_category", + "description": "An object relationship", + "args": [], + "type": { + "kind": "OBJECT", + "name": "issue_categories", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_comments", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issue_comments_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issue_comments", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_comments_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issue_comments_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issue_comments_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_photos", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issue_photos_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issue_photos", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_photos_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issue_photos_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issue_photos_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "locations", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maintenance_actions", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "maintenance_actions_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "maintenance_actions", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maintenance_actions_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "maintenance_actions_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "maintenance_actions_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notifications_logs", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "notifications_log_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "notifications_log", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notifications_logs_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "notifications_log_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "notifications_log_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reported_at", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reporter_id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "resolution_notes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "resolved_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "severity_id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "severity_level", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "severity_levels", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sla_deadline", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user", + "description": "An object relationship", + "args": [], + "type": { + "kind": "OBJECT", + "name": "users", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "userByReporterId", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "users", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issues_aggregate", + "description": "aggregated selection of \"issues\"", + "fields": [ + { + "name": "aggregate", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issues_aggregate_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issues", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issues_aggregate_bool_exp", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "count", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_aggregate_bool_exp_count", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issues_aggregate_bool_exp_count", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "arguments", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issues_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "filter", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "predicate", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issues_aggregate_fields", + "description": "aggregate fields of \"issues\"", + "fields": [ + { + "name": "avg", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issues_avg_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "count", + "description": null, + "args": [ + { + "name": "columns", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issues_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "max", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issues_max_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "min", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issues_min_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issues_stddev_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issues_stddev_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issues_stddev_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sum", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issues_sum_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issues_var_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issues_var_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variance", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "issues_variance_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issues_aggregate_order_by", + "description": "order by aggregate values of table \"issues\"", + "fields": null, + "inputFields": [ + { + "name": "avg", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_avg_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "count", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "max", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_max_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "min", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_min_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_stddev_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev_pop", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_stddev_pop_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev_samp", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_stddev_samp_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sum", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_sum_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "var_pop", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_var_pop_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "var_samp", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_var_samp_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "variance", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_variance_order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issues_arr_rel_insert_input", + "description": "input type for inserting array relation for remote table \"issues\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issues_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issues_avg_fields", + "description": "aggregate avg on columns", + "fields": [ + { + "name": "assigned_to", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "category_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reporter_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "severity_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issues_avg_order_by", + "description": "order by avg() on columns of table \"issues\"", + "fields": null, + "inputFields": [ + { + "name": "assigned_to", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "category_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "reporter_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "severity_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "description": "Boolean expression to filter rows from the table \"issues\". All fields are combined with a logical 'AND'.", + "fields": null, + "inputFields": [ + { + "name": "_and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "_not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "assigned_at", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "assigned_to", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "category_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "closed_at", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "description", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_category", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_comments", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_comments_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_photos", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_photos_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "maintenance_actions", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "maintenance_actions_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "notifications_logs", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "notifications_logs_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "reported_at", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "reporter_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "resolution_notes", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "resolved_at", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "severity_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "severity_level", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sla_deadline", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "status", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "title", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "userByReporterId", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "issues_constraint", + "description": "unique or primary key constraints on table \"issues\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "issues_pkey", + "description": "unique or primary key constraint on columns \"id\"", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issues_inc_input", + "description": "input type for incrementing numeric columns in table \"issues\"", + "fields": null, + "inputFields": [ + { + "name": "assigned_to", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "category_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "reporter_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "severity_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issues_insert_input", + "description": "input type for inserting data into table \"issues\"", + "fields": null, + "inputFields": [ + { + "name": "assigned_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "assigned_to", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "category_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "closed_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "description", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_category", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_comments", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_photos", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "maintenance_actions", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "notifications_logs", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "reported_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "reporter_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "resolution_notes", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "resolved_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "severity_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "severity_level", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sla_deadline", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "status", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "title", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "userByReporterId", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issues_max_fields", + "description": "aggregate max on columns", + "fields": [ + { + "name": "assigned_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "assigned_to", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "category_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "closed_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reported_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reporter_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "resolution_notes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "resolved_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "severity_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sla_deadline", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issues_max_order_by", + "description": "order by max() on columns of table \"issues\"", + "fields": null, + "inputFields": [ + { + "name": "assigned_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "assigned_to", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "category_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "closed_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "description", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "reported_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "reporter_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "resolution_notes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "resolved_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "severity_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sla_deadline", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "status", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "title", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issues_min_fields", + "description": "aggregate min on columns", + "fields": [ + { + "name": "assigned_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "assigned_to", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "category_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "closed_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reported_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reporter_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "resolution_notes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "resolved_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "severity_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sla_deadline", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issues_min_order_by", + "description": "order by min() on columns of table \"issues\"", + "fields": null, + "inputFields": [ + { + "name": "assigned_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "assigned_to", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "category_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "closed_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "description", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "reported_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "reporter_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "resolution_notes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "resolved_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "severity_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sla_deadline", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "status", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "title", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issues_mutation_response", + "description": "response of any mutation on the table \"issues\"", + "fields": [ + { + "name": "affected_rows", + "description": "number of rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "returning", + "description": "data from the rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issues", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issues_obj_rel_insert_input", + "description": "input type for inserting object relation for remote table \"issues\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issues_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issues_on_conflict", + "description": "on_conflict condition type for table \"issues\"", + "fields": null, + "inputFields": [ + { + "name": "constraint", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issues_constraint", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "update_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issues_update_column", + "ofType": null + } + } + } + }, + "defaultValue": "[]" + }, + { + "name": "where", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issues_order_by", + "description": "Ordering options when selecting data from \"issues\".", + "fields": null, + "inputFields": [ + { + "name": "assigned_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "assigned_to", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "category_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "closed_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "description", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_category", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_comments_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_photos_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "maintenance_actions_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "notifications_logs_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "reported_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "reporter_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "resolution_notes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "resolved_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "severity_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "severity_level", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sla_deadline", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "status", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "title", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "userByReporterId", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issues_pk_columns_input", + "description": "primary key columns input for table: issues", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "issues_select_column", + "description": "select columns of table \"issues\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "assigned_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "assigned_to", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "category_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "closed_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reported_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reporter_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "resolution_notes", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "resolved_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "severity_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sla_deadline", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issues_set_input", + "description": "input type for updating data in table \"issues\"", + "fields": null, + "inputFields": [ + { + "name": "assigned_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "assigned_to", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "category_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "closed_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "description", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "reported_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "reporter_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "resolution_notes", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "resolved_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "severity_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sla_deadline", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "status", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "title", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issues_stddev_fields", + "description": "aggregate stddev on columns", + "fields": [ + { + "name": "assigned_to", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "category_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reporter_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "severity_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issues_stddev_order_by", + "description": "order by stddev() on columns of table \"issues\"", + "fields": null, + "inputFields": [ + { + "name": "assigned_to", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "category_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "reporter_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "severity_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issues_stddev_pop_fields", + "description": "aggregate stddev_pop on columns", + "fields": [ + { + "name": "assigned_to", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "category_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reporter_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "severity_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issues_stddev_pop_order_by", + "description": "order by stddev_pop() on columns of table \"issues\"", + "fields": null, + "inputFields": [ + { + "name": "assigned_to", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "category_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "reporter_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "severity_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issues_stddev_samp_fields", + "description": "aggregate stddev_samp on columns", + "fields": [ + { + "name": "assigned_to", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "category_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reporter_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "severity_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issues_stddev_samp_order_by", + "description": "order by stddev_samp() on columns of table \"issues\"", + "fields": null, + "inputFields": [ + { + "name": "assigned_to", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "category_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "reporter_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "severity_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issues_stream_cursor_input", + "description": "Streaming cursor of the table \"issues\"", + "fields": null, + "inputFields": [ + { + "name": "initial_value", + "description": "Stream column input with initial value", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issues_stream_cursor_value_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "ordering", + "description": "cursor ordering", + "type": { + "kind": "ENUM", + "name": "cursor_ordering", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issues_stream_cursor_value_input", + "description": "Initial value of the column from where the streaming should start", + "fields": null, + "inputFields": [ + { + "name": "assigned_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "assigned_to", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "category_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "closed_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "description", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "reported_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "reporter_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "resolution_notes", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "resolved_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "severity_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sla_deadline", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "status", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "title", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issues_sum_fields", + "description": "aggregate sum on columns", + "fields": [ + { + "name": "assigned_to", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "category_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reporter_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "severity_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issues_sum_order_by", + "description": "order by sum() on columns of table \"issues\"", + "fields": null, + "inputFields": [ + { + "name": "assigned_to", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "category_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "reporter_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "severity_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "issues_update_column", + "description": "update columns of table \"issues\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "assigned_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "assigned_to", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "category_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "closed_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reported_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reporter_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "resolution_notes", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "resolved_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "severity_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sla_deadline", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issues_updates", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issues_var_pop_fields", + "description": "aggregate var_pop on columns", + "fields": [ + { + "name": "assigned_to", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "category_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reporter_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "severity_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issues_var_pop_order_by", + "description": "order by var_pop() on columns of table \"issues\"", + "fields": null, + "inputFields": [ + { + "name": "assigned_to", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "category_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "reporter_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "severity_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issues_var_samp_fields", + "description": "aggregate var_samp on columns", + "fields": [ + { + "name": "assigned_to", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "category_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reporter_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "severity_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issues_var_samp_order_by", + "description": "order by var_samp() on columns of table \"issues\"", + "fields": null, + "inputFields": [ + { + "name": "assigned_to", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "category_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "reporter_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "severity_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "issues_variance_fields", + "description": "aggregate variance on columns", + "fields": [ + { + "name": "assigned_to", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "category_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reporter_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "severity_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "issues_variance_order_by", + "description": "order by variance() on columns of table \"issues\"", + "fields": null, + "inputFields": [ + { + "name": "assigned_to", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "category_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "reporter_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "severity_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "jsonb", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "jsonb_cast_exp", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "String", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "jsonb_comparison_exp", + "description": "Boolean expression to compare columns of type \"jsonb\". All fields are combined with logical 'AND'.", + "fields": null, + "inputFields": [ + { + "name": "_cast", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "jsonb_cast_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_contained_in", + "description": "is the column contained in the given json value", + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_contains", + "description": "does the column contain the given json value at the top level", + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_eq", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_gt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_gte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_has_key", + "description": "does the string exist as a top-level key in the column", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_has_keys_all", + "description": "do all of these strings exist as top-level keys in the column", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "_has_keys_any", + "description": "do any of these strings exist as top-level keys in the column", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "_in", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "_is_null", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_lt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_lte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_neq", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_nin", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + } + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "location_types", + "description": "columns and relationships of \"location_types\"", + "fields": [ + { + "name": "company", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "companies", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expected_depth", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "icon", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locations", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "locations_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "locations_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "locations", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locations_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "locations_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "locations_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "locations_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "location_types_aggregate", + "description": "aggregated selection of \"location_types\"", + "fields": [ + { + "name": "aggregate", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "location_types_aggregate_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "location_types", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "location_types_aggregate_bool_exp", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "count", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_aggregate_bool_exp_count", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "location_types_aggregate_bool_exp_count", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "arguments", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "location_types_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "filter", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "predicate", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "location_types_aggregate_fields", + "description": "aggregate fields of \"location_types\"", + "fields": [ + { + "name": "avg", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "location_types_avg_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "count", + "description": null, + "args": [ + { + "name": "columns", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "location_types_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "max", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "location_types_max_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "min", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "location_types_min_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "location_types_stddev_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "location_types_stddev_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "location_types_stddev_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sum", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "location_types_sum_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "location_types_var_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "location_types_var_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variance", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "location_types_variance_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "location_types_aggregate_order_by", + "description": "order by aggregate values of table \"location_types\"", + "fields": null, + "inputFields": [ + { + "name": "avg", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_avg_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "count", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "max", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_max_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "min", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_min_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_stddev_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev_pop", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_stddev_pop_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev_samp", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_stddev_samp_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sum", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_sum_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "var_pop", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_var_pop_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "var_samp", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_var_samp_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "variance", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_variance_order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "location_types_arr_rel_insert_input", + "description": "input type for inserting array relation for remote table \"location_types\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "location_types_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "location_types_avg_fields", + "description": "aggregate avg on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expected_depth", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "location_types_avg_order_by", + "description": "order by avg() on columns of table \"location_types\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expected_depth", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "location_types_bool_exp", + "description": "Boolean expression to filter rows from the table \"location_types\". All fields are combined with a logical 'AND'.", + "fields": null, + "inputFields": [ + { + "name": "_and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "location_types_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "_not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "location_types_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "company", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expected_depth", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "icon", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "locations", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "locations_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "location_types_constraint", + "description": "unique or primary key constraints on table \"location_types\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "location_types_pkey", + "description": "unique or primary key constraint on columns \"id\"", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "location_types_inc_input", + "description": "input type for incrementing numeric columns in table \"location_types\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expected_depth", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "location_types_insert_input", + "description": "input type for inserting data into table \"location_types\"", + "fields": null, + "inputFields": [ + { + "name": "company", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expected_depth", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "icon", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "locations", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "location_types_max_fields", + "description": "aggregate max on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expected_depth", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "icon", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "location_types_max_order_by", + "description": "order by max() on columns of table \"location_types\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expected_depth", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "icon", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "location_types_min_fields", + "description": "aggregate min on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expected_depth", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "icon", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "location_types_min_order_by", + "description": "order by min() on columns of table \"location_types\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expected_depth", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "icon", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "location_types_mutation_response", + "description": "response of any mutation on the table \"location_types\"", + "fields": [ + { + "name": "affected_rows", + "description": "number of rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "returning", + "description": "data from the rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "location_types", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "location_types_obj_rel_insert_input", + "description": "input type for inserting object relation for remote table \"location_types\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "location_types_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "location_types_on_conflict", + "description": "on_conflict condition type for table \"location_types\"", + "fields": null, + "inputFields": [ + { + "name": "constraint", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "location_types_constraint", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "update_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "location_types_update_column", + "ofType": null + } + } + } + }, + "defaultValue": "[]" + }, + { + "name": "where", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "location_types_order_by", + "description": "Ordering options when selecting data from \"location_types\".", + "fields": null, + "inputFields": [ + { + "name": "company", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expected_depth", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "icon", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "locations_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "location_types_pk_columns_input", + "description": "primary key columns input for table: location_types", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "location_types_select_column", + "description": "select columns of table \"location_types\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "company_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expected_depth", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "icon", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "location_types_set_input", + "description": "input type for updating data in table \"location_types\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expected_depth", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "icon", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "location_types_stddev_fields", + "description": "aggregate stddev on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expected_depth", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "location_types_stddev_order_by", + "description": "order by stddev() on columns of table \"location_types\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expected_depth", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "location_types_stddev_pop_fields", + "description": "aggregate stddev_pop on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expected_depth", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "location_types_stddev_pop_order_by", + "description": "order by stddev_pop() on columns of table \"location_types\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expected_depth", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "location_types_stddev_samp_fields", + "description": "aggregate stddev_samp on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expected_depth", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "location_types_stddev_samp_order_by", + "description": "order by stddev_samp() on columns of table \"location_types\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expected_depth", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "location_types_stream_cursor_input", + "description": "Streaming cursor of the table \"location_types\"", + "fields": null, + "inputFields": [ + { + "name": "initial_value", + "description": "Stream column input with initial value", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "location_types_stream_cursor_value_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "ordering", + "description": "cursor ordering", + "type": { + "kind": "ENUM", + "name": "cursor_ordering", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "location_types_stream_cursor_value_input", + "description": "Initial value of the column from where the streaming should start", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expected_depth", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "icon", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "location_types_sum_fields", + "description": "aggregate sum on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expected_depth", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "location_types_sum_order_by", + "description": "order by sum() on columns of table \"location_types\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expected_depth", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "location_types_update_column", + "description": "update columns of table \"location_types\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "company_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expected_depth", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "icon", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "location_types_updates", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "location_types_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "location_types_var_pop_fields", + "description": "aggregate var_pop on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expected_depth", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "location_types_var_pop_order_by", + "description": "order by var_pop() on columns of table \"location_types\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expected_depth", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "location_types_var_samp_fields", + "description": "aggregate var_samp on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expected_depth", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "location_types_var_samp_order_by", + "description": "order by var_samp() on columns of table \"location_types\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expected_depth", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "location_types_variance_fields", + "description": "aggregate variance on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expected_depth", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "location_types_variance_order_by", + "description": "order by variance() on columns of table \"location_types\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expected_depth", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "locations", + "description": "columns and relationships of \"locations\"", + "fields": [ + { + "name": "address", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "companies", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "depth", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issues", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issues_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issues_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issues", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issues_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issues_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issues_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issues_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location", + "description": "An object relationship", + "args": [], + "type": { + "kind": "OBJECT", + "name": "locations", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_type", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "location_types", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_type_id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locations", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "locations_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "locations_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "locations", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locations_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "locations_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "locations_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "locations_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "manager_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "parent_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "path", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "timezone", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user", + "description": "An object relationship", + "args": [], + "type": { + "kind": "OBJECT", + "name": "users", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "users", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "users_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "users_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "users", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "users_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "users_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "users_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "users_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "locations_aggregate", + "description": "aggregated selection of \"locations\"", + "fields": [ + { + "name": "aggregate", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "locations_aggregate_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "locations", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "locations_aggregate_bool_exp", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "count", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_aggregate_bool_exp_count", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "locations_aggregate_bool_exp_count", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "arguments", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "locations_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "filter", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "predicate", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "locations_aggregate_fields", + "description": "aggregate fields of \"locations\"", + "fields": [ + { + "name": "avg", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "locations_avg_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "count", + "description": null, + "args": [ + { + "name": "columns", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "locations_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "max", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "locations_max_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "min", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "locations_min_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "locations_stddev_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "locations_stddev_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "locations_stddev_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sum", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "locations_sum_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "locations_var_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "locations_var_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variance", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "locations_variance_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "locations_aggregate_order_by", + "description": "order by aggregate values of table \"locations\"", + "fields": null, + "inputFields": [ + { + "name": "avg", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_avg_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "count", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "max", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_max_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "min", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_min_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_stddev_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev_pop", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_stddev_pop_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev_samp", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_stddev_samp_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sum", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_sum_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "var_pop", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_var_pop_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "var_samp", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_var_samp_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "variance", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_variance_order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "locations_arr_rel_insert_input", + "description": "input type for inserting array relation for remote table \"locations\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "locations_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "locations_avg_fields", + "description": "aggregate avg on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "depth", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_type_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "manager_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "parent_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "locations_avg_order_by", + "description": "order by avg() on columns of table \"locations\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "depth", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_type_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "manager_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "parent_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "locations_bool_exp", + "description": "Boolean expression to filter rows from the table \"locations\". All fields are combined with a logical 'AND'.", + "fields": null, + "inputFields": [ + { + "name": "_and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "locations_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "_not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "locations_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "address", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "depth", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issues", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issues_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_type", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_type_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "locations", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "locations_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "manager_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "parent_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "path", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "timezone", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "users", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "users_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "locations_constraint", + "description": "unique or primary key constraints on table \"locations\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "locations_pkey", + "description": "unique or primary key constraint on columns \"id\"", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "uq_location_path_per_company", + "description": "unique or primary key constraint on columns \"company_id\", \"path\"", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "locations_inc_input", + "description": "input type for incrementing numeric columns in table \"locations\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "depth", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_type_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "manager_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "parent_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "locations_insert_input", + "description": "input type for inserting data into table \"locations\"", + "fields": null, + "inputFields": [ + { + "name": "address", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "depth", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issues", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_type", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_type_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "locations", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "manager_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "parent_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "path", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "timezone", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "users", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "locations_max_fields", + "description": "aggregate max on columns", + "fields": [ + { + "name": "address", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "depth", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_type_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "manager_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "parent_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "path", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "timezone", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "locations_max_order_by", + "description": "order by max() on columns of table \"locations\"", + "fields": null, + "inputFields": [ + { + "name": "address", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "depth", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_type_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "manager_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "parent_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "path", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "timezone", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "locations_min_fields", + "description": "aggregate min on columns", + "fields": [ + { + "name": "address", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "depth", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_type_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "manager_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "parent_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "path", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "timezone", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "locations_min_order_by", + "description": "order by min() on columns of table \"locations\"", + "fields": null, + "inputFields": [ + { + "name": "address", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "depth", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_type_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "manager_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "parent_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "path", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "timezone", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "locations_mutation_response", + "description": "response of any mutation on the table \"locations\"", + "fields": [ + { + "name": "affected_rows", + "description": "number of rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "returning", + "description": "data from the rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "locations", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "locations_obj_rel_insert_input", + "description": "input type for inserting object relation for remote table \"locations\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "locations_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "locations_on_conflict", + "description": "on_conflict condition type for table \"locations\"", + "fields": null, + "inputFields": [ + { + "name": "constraint", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "locations_constraint", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "update_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "locations_update_column", + "ofType": null + } + } + } + }, + "defaultValue": "[]" + }, + { + "name": "where", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "locations_order_by", + "description": "Ordering options when selecting data from \"locations\".", + "fields": null, + "inputFields": [ + { + "name": "address", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "depth", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issues_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_type", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_type_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "locations_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "manager_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "parent_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "path", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "timezone", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "users_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "locations_pk_columns_input", + "description": "primary key columns input for table: locations", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "locations_select_column", + "description": "select columns of table \"locations\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "address", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "depth", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_type_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "manager_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "parent_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "path", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "timezone", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "locations_set_input", + "description": "input type for updating data in table \"locations\"", + "fields": null, + "inputFields": [ + { + "name": "address", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "depth", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_type_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "manager_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "parent_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "path", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "timezone", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "locations_stddev_fields", + "description": "aggregate stddev on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "depth", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_type_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "manager_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "parent_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "locations_stddev_order_by", + "description": "order by stddev() on columns of table \"locations\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "depth", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_type_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "manager_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "parent_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "locations_stddev_pop_fields", + "description": "aggregate stddev_pop on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "depth", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_type_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "manager_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "parent_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "locations_stddev_pop_order_by", + "description": "order by stddev_pop() on columns of table \"locations\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "depth", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_type_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "manager_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "parent_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "locations_stddev_samp_fields", + "description": "aggregate stddev_samp on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "depth", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_type_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "manager_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "parent_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "locations_stddev_samp_order_by", + "description": "order by stddev_samp() on columns of table \"locations\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "depth", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_type_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "manager_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "parent_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "locations_stream_cursor_input", + "description": "Streaming cursor of the table \"locations\"", + "fields": null, + "inputFields": [ + { + "name": "initial_value", + "description": "Stream column input with initial value", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "locations_stream_cursor_value_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "ordering", + "description": "cursor ordering", + "type": { + "kind": "ENUM", + "name": "cursor_ordering", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "locations_stream_cursor_value_input", + "description": "Initial value of the column from where the streaming should start", + "fields": null, + "inputFields": [ + { + "name": "address", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "depth", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_type_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "manager_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "parent_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "path", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "timezone", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "locations_sum_fields", + "description": "aggregate sum on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "depth", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_type_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "manager_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "parent_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "locations_sum_order_by", + "description": "order by sum() on columns of table \"locations\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "depth", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_type_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "manager_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "parent_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "locations_update_column", + "description": "update columns of table \"locations\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "address", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "depth", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_type_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "manager_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "parent_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "path", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "timezone", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "locations_updates", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "locations_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "locations_var_pop_fields", + "description": "aggregate var_pop on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "depth", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_type_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "manager_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "parent_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "locations_var_pop_order_by", + "description": "order by var_pop() on columns of table \"locations\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "depth", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_type_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "manager_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "parent_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "locations_var_samp_fields", + "description": "aggregate var_samp on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "depth", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_type_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "manager_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "parent_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "locations_var_samp_order_by", + "description": "order by var_samp() on columns of table \"locations\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "depth", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_type_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "manager_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "parent_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "locations_variance_fields", + "description": "aggregate variance on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "depth", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_type_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "manager_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "parent_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "locations_variance_order_by", + "description": "order by variance() on columns of table \"locations\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "depth", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location_type_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "manager_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "parent_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "magic_link_tokens", + "description": "columns and relationships of \"magic_link_tokens\"", + "fields": [ + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expires_at", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "token_hash", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "used_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "users", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "magic_link_tokens_aggregate", + "description": "aggregated selection of \"magic_link_tokens\"", + "fields": [ + { + "name": "aggregate", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "magic_link_tokens_aggregate_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "magic_link_tokens", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_aggregate_bool_exp", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "count", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_aggregate_bool_exp_count", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_aggregate_bool_exp_count", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "arguments", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "magic_link_tokens_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "filter", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "predicate", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "magic_link_tokens_aggregate_fields", + "description": "aggregate fields of \"magic_link_tokens\"", + "fields": [ + { + "name": "avg", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "magic_link_tokens_avg_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "count", + "description": null, + "args": [ + { + "name": "columns", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "magic_link_tokens_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "max", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "magic_link_tokens_max_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "min", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "magic_link_tokens_min_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "magic_link_tokens_stddev_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "magic_link_tokens_stddev_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "magic_link_tokens_stddev_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sum", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "magic_link_tokens_sum_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "magic_link_tokens_var_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "magic_link_tokens_var_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variance", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "magic_link_tokens_variance_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_aggregate_order_by", + "description": "order by aggregate values of table \"magic_link_tokens\"", + "fields": null, + "inputFields": [ + { + "name": "avg", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_avg_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "count", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "max", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_max_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "min", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_min_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_stddev_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev_pop", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_stddev_pop_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev_samp", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_stddev_samp_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sum", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_sum_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "var_pop", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_var_pop_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "var_samp", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_var_samp_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "variance", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_variance_order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_arr_rel_insert_input", + "description": "input type for inserting array relation for remote table \"magic_link_tokens\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "magic_link_tokens_avg_fields", + "description": "aggregate avg on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_avg_order_by", + "description": "order by avg() on columns of table \"magic_link_tokens\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_bool_exp", + "description": "Boolean expression to filter rows from the table \"magic_link_tokens\". All fields are combined with a logical 'AND'.", + "fields": null, + "inputFields": [ + { + "name": "_and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "_not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expires_at", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "bigint_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "token_hash", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "used_at", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "magic_link_tokens_constraint", + "description": "unique or primary key constraints on table \"magic_link_tokens\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "magic_link_tokens_pkey", + "description": "unique or primary key constraint on columns \"id\"", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "magic_link_tokens_token_hash_key", + "description": "unique or primary key constraint on columns \"token_hash\"", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_inc_input", + "description": "input type for incrementing numeric columns in table \"magic_link_tokens\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_insert_input", + "description": "input type for inserting data into table \"magic_link_tokens\"", + "fields": null, + "inputFields": [ + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expires_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "token_hash", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "used_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "magic_link_tokens_max_fields", + "description": "aggregate max on columns", + "fields": [ + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expires_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "token_hash", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "used_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_max_order_by", + "description": "order by max() on columns of table \"magic_link_tokens\"", + "fields": null, + "inputFields": [ + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expires_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "token_hash", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "used_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "magic_link_tokens_min_fields", + "description": "aggregate min on columns", + "fields": [ + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expires_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "token_hash", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "used_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_min_order_by", + "description": "order by min() on columns of table \"magic_link_tokens\"", + "fields": null, + "inputFields": [ + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expires_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "token_hash", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "used_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "magic_link_tokens_mutation_response", + "description": "response of any mutation on the table \"magic_link_tokens\"", + "fields": [ + { + "name": "affected_rows", + "description": "number of rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "returning", + "description": "data from the rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "magic_link_tokens", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_on_conflict", + "description": "on_conflict condition type for table \"magic_link_tokens\"", + "fields": null, + "inputFields": [ + { + "name": "constraint", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "magic_link_tokens_constraint", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "update_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "magic_link_tokens_update_column", + "ofType": null + } + } + } + }, + "defaultValue": "[]" + }, + { + "name": "where", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_order_by", + "description": "Ordering options when selecting data from \"magic_link_tokens\".", + "fields": null, + "inputFields": [ + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expires_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "token_hash", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "used_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_pk_columns_input", + "description": "primary key columns input for table: magic_link_tokens", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "magic_link_tokens_select_column", + "description": "select columns of table \"magic_link_tokens\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "created_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expires_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "token_hash", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "used_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_set_input", + "description": "input type for updating data in table \"magic_link_tokens\"", + "fields": null, + "inputFields": [ + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expires_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "token_hash", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "used_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "magic_link_tokens_stddev_fields", + "description": "aggregate stddev on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_stddev_order_by", + "description": "order by stddev() on columns of table \"magic_link_tokens\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "magic_link_tokens_stddev_pop_fields", + "description": "aggregate stddev_pop on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_stddev_pop_order_by", + "description": "order by stddev_pop() on columns of table \"magic_link_tokens\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "magic_link_tokens_stddev_samp_fields", + "description": "aggregate stddev_samp on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_stddev_samp_order_by", + "description": "order by stddev_samp() on columns of table \"magic_link_tokens\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_stream_cursor_input", + "description": "Streaming cursor of the table \"magic_link_tokens\"", + "fields": null, + "inputFields": [ + { + "name": "initial_value", + "description": "Stream column input with initial value", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_stream_cursor_value_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "ordering", + "description": "cursor ordering", + "type": { + "kind": "ENUM", + "name": "cursor_ordering", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_stream_cursor_value_input", + "description": "Initial value of the column from where the streaming should start", + "fields": null, + "inputFields": [ + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expires_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "token_hash", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "used_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "magic_link_tokens_sum_fields", + "description": "aggregate sum on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_sum_order_by", + "description": "order by sum() on columns of table \"magic_link_tokens\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "magic_link_tokens_update_column", + "description": "update columns of table \"magic_link_tokens\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "created_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expires_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "token_hash", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "used_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_updates", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "magic_link_tokens_var_pop_fields", + "description": "aggregate var_pop on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_var_pop_order_by", + "description": "order by var_pop() on columns of table \"magic_link_tokens\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "magic_link_tokens_var_samp_fields", + "description": "aggregate var_samp on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_var_samp_order_by", + "description": "order by var_samp() on columns of table \"magic_link_tokens\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "magic_link_tokens_variance_fields", + "description": "aggregate variance on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_variance_order_by", + "description": "order by variance() on columns of table \"magic_link_tokens\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "maintenance_actions", + "description": "columns and relationships of \"maintenance_actions\"", + "fields": [ + { + "name": "action_description", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "component_name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "component_type", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "end_time", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issues", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "labor_minutes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "parts_useds", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "parts_used_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "parts_used_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "parts_used_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "parts_used", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "parts_useds_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "parts_used_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "parts_used_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "parts_used_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "parts_used_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "root_cause", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "start_time", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "technician_id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "users", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "maintenance_actions_aggregate", + "description": "aggregated selection of \"maintenance_actions\"", + "fields": [ + { + "name": "aggregate", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "maintenance_actions_aggregate_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "maintenance_actions", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_aggregate_bool_exp", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "count", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_aggregate_bool_exp_count", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_aggregate_bool_exp_count", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "arguments", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "maintenance_actions_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "filter", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "predicate", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "maintenance_actions_aggregate_fields", + "description": "aggregate fields of \"maintenance_actions\"", + "fields": [ + { + "name": "avg", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "maintenance_actions_avg_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "count", + "description": null, + "args": [ + { + "name": "columns", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "maintenance_actions_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "max", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "maintenance_actions_max_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "min", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "maintenance_actions_min_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "maintenance_actions_stddev_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "maintenance_actions_stddev_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "maintenance_actions_stddev_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sum", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "maintenance_actions_sum_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "maintenance_actions_var_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "maintenance_actions_var_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variance", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "maintenance_actions_variance_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_aggregate_order_by", + "description": "order by aggregate values of table \"maintenance_actions\"", + "fields": null, + "inputFields": [ + { + "name": "avg", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_avg_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "count", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "max", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_max_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "min", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_min_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_stddev_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev_pop", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_stddev_pop_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev_samp", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_stddev_samp_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sum", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_sum_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "var_pop", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_var_pop_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "var_samp", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_var_samp_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "variance", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_variance_order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_arr_rel_insert_input", + "description": "input type for inserting array relation for remote table \"maintenance_actions\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "maintenance_actions_avg_fields", + "description": "aggregate avg on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "labor_minutes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "technician_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_avg_order_by", + "description": "order by avg() on columns of table \"maintenance_actions\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "labor_minutes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "technician_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_bool_exp", + "description": "Boolean expression to filter rows from the table \"maintenance_actions\". All fields are combined with a logical 'AND'.", + "fields": null, + "inputFields": [ + { + "name": "_and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "_not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "action_description", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "component_name", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "component_type", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "end_time", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "labor_minutes", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "parts_useds", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "parts_used_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "parts_useds_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "parts_used_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "root_cause", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "start_time", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "technician_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "maintenance_actions_constraint", + "description": "unique or primary key constraints on table \"maintenance_actions\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "maintenance_actions_pkey", + "description": "unique or primary key constraint on columns \"id\"", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_inc_input", + "description": "input type for incrementing numeric columns in table \"maintenance_actions\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "labor_minutes", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "technician_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_insert_input", + "description": "input type for inserting data into table \"maintenance_actions\"", + "fields": null, + "inputFields": [ + { + "name": "action_description", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "component_name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "component_type", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "end_time", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "labor_minutes", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "parts_useds", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "parts_used_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "root_cause", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "start_time", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "technician_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "maintenance_actions_max_fields", + "description": "aggregate max on columns", + "fields": [ + { + "name": "action_description", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "component_name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "component_type", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "end_time", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "labor_minutes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "root_cause", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "start_time", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "technician_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_max_order_by", + "description": "order by max() on columns of table \"maintenance_actions\"", + "fields": null, + "inputFields": [ + { + "name": "action_description", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "component_name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "component_type", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "end_time", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "labor_minutes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "root_cause", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "start_time", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "technician_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "maintenance_actions_min_fields", + "description": "aggregate min on columns", + "fields": [ + { + "name": "action_description", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "component_name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "component_type", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "end_time", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "labor_minutes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "root_cause", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "start_time", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "technician_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_min_order_by", + "description": "order by min() on columns of table \"maintenance_actions\"", + "fields": null, + "inputFields": [ + { + "name": "action_description", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "component_name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "component_type", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "end_time", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "labor_minutes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "root_cause", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "start_time", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "technician_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "maintenance_actions_mutation_response", + "description": "response of any mutation on the table \"maintenance_actions\"", + "fields": [ + { + "name": "affected_rows", + "description": "number of rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "returning", + "description": "data from the rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "maintenance_actions", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_obj_rel_insert_input", + "description": "input type for inserting object relation for remote table \"maintenance_actions\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_on_conflict", + "description": "on_conflict condition type for table \"maintenance_actions\"", + "fields": null, + "inputFields": [ + { + "name": "constraint", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "maintenance_actions_constraint", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "update_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "maintenance_actions_update_column", + "ofType": null + } + } + } + }, + "defaultValue": "[]" + }, + { + "name": "where", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_order_by", + "description": "Ordering options when selecting data from \"maintenance_actions\".", + "fields": null, + "inputFields": [ + { + "name": "action_description", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "component_name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "component_type", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "end_time", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "labor_minutes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "parts_useds_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "parts_used_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "root_cause", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "start_time", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "technician_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_pk_columns_input", + "description": "primary key columns input for table: maintenance_actions", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "maintenance_actions_select_column", + "description": "select columns of table \"maintenance_actions\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "action_description", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "component_name", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "component_type", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "end_time", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "labor_minutes", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "root_cause", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "start_time", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "technician_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_set_input", + "description": "input type for updating data in table \"maintenance_actions\"", + "fields": null, + "inputFields": [ + { + "name": "action_description", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "component_name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "component_type", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "end_time", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "labor_minutes", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "root_cause", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "start_time", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "technician_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "maintenance_actions_stddev_fields", + "description": "aggregate stddev on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "labor_minutes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "technician_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_stddev_order_by", + "description": "order by stddev() on columns of table \"maintenance_actions\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "labor_minutes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "technician_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "maintenance_actions_stddev_pop_fields", + "description": "aggregate stddev_pop on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "labor_minutes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "technician_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_stddev_pop_order_by", + "description": "order by stddev_pop() on columns of table \"maintenance_actions\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "labor_minutes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "technician_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "maintenance_actions_stddev_samp_fields", + "description": "aggregate stddev_samp on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "labor_minutes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "technician_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_stddev_samp_order_by", + "description": "order by stddev_samp() on columns of table \"maintenance_actions\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "labor_minutes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "technician_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_stream_cursor_input", + "description": "Streaming cursor of the table \"maintenance_actions\"", + "fields": null, + "inputFields": [ + { + "name": "initial_value", + "description": "Stream column input with initial value", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_stream_cursor_value_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "ordering", + "description": "cursor ordering", + "type": { + "kind": "ENUM", + "name": "cursor_ordering", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_stream_cursor_value_input", + "description": "Initial value of the column from where the streaming should start", + "fields": null, + "inputFields": [ + { + "name": "action_description", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "component_name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "component_type", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "end_time", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "labor_minutes", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "root_cause", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "start_time", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "technician_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "maintenance_actions_sum_fields", + "description": "aggregate sum on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "labor_minutes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "technician_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_sum_order_by", + "description": "order by sum() on columns of table \"maintenance_actions\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "labor_minutes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "technician_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "maintenance_actions_update_column", + "description": "update columns of table \"maintenance_actions\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "action_description", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "component_name", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "component_type", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "end_time", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "labor_minutes", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "root_cause", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "start_time", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "technician_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_updates", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "maintenance_actions_var_pop_fields", + "description": "aggregate var_pop on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "labor_minutes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "technician_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_var_pop_order_by", + "description": "order by var_pop() on columns of table \"maintenance_actions\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "labor_minutes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "technician_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "maintenance_actions_var_samp_fields", + "description": "aggregate var_samp on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "labor_minutes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "technician_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_var_samp_order_by", + "description": "order by var_samp() on columns of table \"maintenance_actions\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "labor_minutes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "technician_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "maintenance_actions_variance_fields", + "description": "aggregate variance on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "labor_minutes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "technician_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_variance_order_by", + "description": "order by variance() on columns of table \"maintenance_actions\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "labor_minutes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "technician_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "mutation_root", + "description": "mutation root", + "fields": [ + { + "name": "delete_companies", + "description": "delete data from the table: \"companies\"", + "args": [ + { + "name": "where", + "description": "filter the rows which have to be deleted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "companies_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "companies_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_companies_by_pk", + "description": "delete single row from the table: \"companies\"", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "companies", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_equipment", + "description": "delete data from the table: \"equipment\"", + "args": [ + { + "name": "where", + "description": "filter the rows which have to be deleted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "equipment_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_equipment_analytics", + "description": "delete data from the table: \"equipment_analytics\"", + "args": [ + { + "name": "where", + "description": "filter the rows which have to be deleted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "equipment_analytics_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_equipment_analytics_by_pk", + "description": "delete single row from the table: \"equipment_analytics\"", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "equipment_analytics", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_equipment_by_pk", + "description": "delete single row from the table: \"equipment\"", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "equipment", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_equipment_categories", + "description": "delete data from the table: \"equipment_categories\"", + "args": [ + { + "name": "where", + "description": "filter the rows which have to be deleted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "equipment_categories_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_equipment_categories_by_pk", + "description": "delete single row from the table: \"equipment_categories\"", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "equipment_categories", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_equipment_photos", + "description": "delete data from the table: \"equipment_photos\"", + "args": [ + { + "name": "where", + "description": "filter the rows which have to be deleted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "equipment_photos_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_equipment_photos_by_pk", + "description": "delete single row from the table: \"equipment_photos\"", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "equipment_photos", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_industry_templates", + "description": "delete data from the table: \"industry_templates\"", + "args": [ + { + "name": "where", + "description": "filter the rows which have to be deleted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "industry_templates_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_industry_templates_by_pk", + "description": "delete single row from the table: \"industry_templates\"", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "industry_templates", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_issue_categories", + "description": "delete data from the table: \"issue_categories\"", + "args": [ + { + "name": "where", + "description": "filter the rows which have to be deleted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "issue_categories_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_issue_categories_by_pk", + "description": "delete single row from the table: \"issue_categories\"", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "issue_categories", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_issue_comments", + "description": "delete data from the table: \"issue_comments\"", + "args": [ + { + "name": "where", + "description": "filter the rows which have to be deleted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "issue_comments_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_issue_comments_by_pk", + "description": "delete single row from the table: \"issue_comments\"", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "issue_comments", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_issue_photos", + "description": "delete data from the table: \"issue_photos\"", + "args": [ + { + "name": "where", + "description": "filter the rows which have to be deleted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "issue_photos_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_issue_photos_by_pk", + "description": "delete single row from the table: \"issue_photos\"", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "issue_photos", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_issues", + "description": "delete data from the table: \"issues\"", + "args": [ + { + "name": "where", + "description": "filter the rows which have to be deleted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "issues_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_issues_by_pk", + "description": "delete single row from the table: \"issues\"", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "issues", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_location_types", + "description": "delete data from the table: \"location_types\"", + "args": [ + { + "name": "where", + "description": "filter the rows which have to be deleted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "location_types_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "location_types_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_location_types_by_pk", + "description": "delete single row from the table: \"location_types\"", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "location_types", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_locations", + "description": "delete data from the table: \"locations\"", + "args": [ + { + "name": "where", + "description": "filter the rows which have to be deleted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "locations_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "locations_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_locations_by_pk", + "description": "delete single row from the table: \"locations\"", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "locations", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_magic_link_tokens", + "description": "delete data from the table: \"magic_link_tokens\"", + "args": [ + { + "name": "where", + "description": "filter the rows which have to be deleted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "magic_link_tokens_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_magic_link_tokens_by_pk", + "description": "delete single row from the table: \"magic_link_tokens\"", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "magic_link_tokens", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_maintenance_actions", + "description": "delete data from the table: \"maintenance_actions\"", + "args": [ + { + "name": "where", + "description": "filter the rows which have to be deleted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "maintenance_actions_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_maintenance_actions_by_pk", + "description": "delete single row from the table: \"maintenance_actions\"", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "maintenance_actions", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_notifications_log", + "description": "delete data from the table: \"notifications_log\"", + "args": [ + { + "name": "where", + "description": "filter the rows which have to be deleted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "notifications_log_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_notifications_log_by_pk", + "description": "delete single row from the table: \"notifications_log\"", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "notifications_log", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_parts_used", + "description": "delete data from the table: \"parts_used\"", + "args": [ + { + "name": "where", + "description": "filter the rows which have to be deleted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "parts_used_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "parts_used_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_parts_used_by_pk", + "description": "delete single row from the table: \"parts_used\"", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "parts_used", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_preventive_schedules", + "description": "delete data from the table: \"preventive_schedules\"", + "args": [ + { + "name": "where", + "description": "filter the rows which have to be deleted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "preventive_schedules_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_preventive_schedules_by_pk", + "description": "delete single row from the table: \"preventive_schedules\"", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "preventive_schedules", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_preventive_tasks", + "description": "delete data from the table: \"preventive_tasks\"", + "args": [ + { + "name": "where", + "description": "filter the rows which have to be deleted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "preventive_tasks_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_preventive_tasks_by_pk", + "description": "delete single row from the table: \"preventive_tasks\"", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "preventive_tasks", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_refresh_tokens", + "description": "delete data from the table: \"refresh_tokens\"", + "args": [ + { + "name": "where", + "description": "filter the rows which have to be deleted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "refresh_tokens_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_refresh_tokens_by_pk", + "description": "delete single row from the table: \"refresh_tokens\"", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "refresh_tokens", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_severity_levels", + "description": "delete data from the table: \"severity_levels\"", + "args": [ + { + "name": "where", + "description": "filter the rows which have to be deleted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "severity_levels_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_severity_levels_by_pk", + "description": "delete single row from the table: \"severity_levels\"", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "severity_levels", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_users", + "description": "delete data from the table: \"users\"", + "args": [ + { + "name": "where", + "description": "filter the rows which have to be deleted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "users_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delete_users_by_pk", + "description": "delete single row from the table: \"users\"", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "users", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_companies", + "description": "insert data into the table: \"companies\"", + "args": [ + { + "name": "objects", + "description": "the rows to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "companies_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "companies_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_companies_one", + "description": "insert a single row into the table: \"companies\"", + "args": [ + { + "name": "object", + "description": "the row to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "companies_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "companies", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_equipment", + "description": "insert data into the table: \"equipment\"", + "args": [ + { + "name": "objects", + "description": "the rows to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "equipment_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_equipment_analytics", + "description": "insert data into the table: \"equipment_analytics\"", + "args": [ + { + "name": "objects", + "description": "the rows to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "equipment_analytics_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_equipment_analytics_one", + "description": "insert a single row into the table: \"equipment_analytics\"", + "args": [ + { + "name": "object", + "description": "the row to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "equipment_analytics", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_equipment_categories", + "description": "insert data into the table: \"equipment_categories\"", + "args": [ + { + "name": "objects", + "description": "the rows to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "equipment_categories_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_equipment_categories_one", + "description": "insert a single row into the table: \"equipment_categories\"", + "args": [ + { + "name": "object", + "description": "the row to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "equipment_categories", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_equipment_one", + "description": "insert a single row into the table: \"equipment\"", + "args": [ + { + "name": "object", + "description": "the row to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "equipment", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_equipment_photos", + "description": "insert data into the table: \"equipment_photos\"", + "args": [ + { + "name": "objects", + "description": "the rows to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "equipment_photos_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_equipment_photos_one", + "description": "insert a single row into the table: \"equipment_photos\"", + "args": [ + { + "name": "object", + "description": "the row to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "equipment_photos", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_industry_templates", + "description": "insert data into the table: \"industry_templates\"", + "args": [ + { + "name": "objects", + "description": "the rows to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "industry_templates_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_industry_templates_one", + "description": "insert a single row into the table: \"industry_templates\"", + "args": [ + { + "name": "object", + "description": "the row to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "industry_templates", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_issue_categories", + "description": "insert data into the table: \"issue_categories\"", + "args": [ + { + "name": "objects", + "description": "the rows to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "issue_categories_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_issue_categories_one", + "description": "insert a single row into the table: \"issue_categories\"", + "args": [ + { + "name": "object", + "description": "the row to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "issue_categories", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_issue_comments", + "description": "insert data into the table: \"issue_comments\"", + "args": [ + { + "name": "objects", + "description": "the rows to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "issue_comments_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_issue_comments_one", + "description": "insert a single row into the table: \"issue_comments\"", + "args": [ + { + "name": "object", + "description": "the row to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "issue_comments", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_issue_photos", + "description": "insert data into the table: \"issue_photos\"", + "args": [ + { + "name": "objects", + "description": "the rows to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "issue_photos_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_issue_photos_one", + "description": "insert a single row into the table: \"issue_photos\"", + "args": [ + { + "name": "object", + "description": "the row to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "issue_photos", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_issues", + "description": "insert data into the table: \"issues\"", + "args": [ + { + "name": "objects", + "description": "the rows to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issues_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "issues_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_issues_one", + "description": "insert a single row into the table: \"issues\"", + "args": [ + { + "name": "object", + "description": "the row to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issues_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "issues", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_location_types", + "description": "insert data into the table: \"location_types\"", + "args": [ + { + "name": "objects", + "description": "the rows to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "location_types_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "location_types_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_location_types_one", + "description": "insert a single row into the table: \"location_types\"", + "args": [ + { + "name": "object", + "description": "the row to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "location_types_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "location_types", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_locations", + "description": "insert data into the table: \"locations\"", + "args": [ + { + "name": "objects", + "description": "the rows to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "locations_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "locations_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_locations_one", + "description": "insert a single row into the table: \"locations\"", + "args": [ + { + "name": "object", + "description": "the row to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "locations_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "locations", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_magic_link_tokens", + "description": "insert data into the table: \"magic_link_tokens\"", + "args": [ + { + "name": "objects", + "description": "the rows to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "magic_link_tokens_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_magic_link_tokens_one", + "description": "insert a single row into the table: \"magic_link_tokens\"", + "args": [ + { + "name": "object", + "description": "the row to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "magic_link_tokens", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_maintenance_actions", + "description": "insert data into the table: \"maintenance_actions\"", + "args": [ + { + "name": "objects", + "description": "the rows to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "maintenance_actions_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_maintenance_actions_one", + "description": "insert a single row into the table: \"maintenance_actions\"", + "args": [ + { + "name": "object", + "description": "the row to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "maintenance_actions", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_notifications_log", + "description": "insert data into the table: \"notifications_log\"", + "args": [ + { + "name": "objects", + "description": "the rows to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "notifications_log_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_notifications_log_one", + "description": "insert a single row into the table: \"notifications_log\"", + "args": [ + { + "name": "object", + "description": "the row to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "notifications_log", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_parts_used", + "description": "insert data into the table: \"parts_used\"", + "args": [ + { + "name": "objects", + "description": "the rows to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "parts_used_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "parts_used_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "parts_used_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_parts_used_one", + "description": "insert a single row into the table: \"parts_used\"", + "args": [ + { + "name": "object", + "description": "the row to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "parts_used_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "parts_used_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "parts_used", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_preventive_schedules", + "description": "insert data into the table: \"preventive_schedules\"", + "args": [ + { + "name": "objects", + "description": "the rows to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "preventive_schedules_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_preventive_schedules_one", + "description": "insert a single row into the table: \"preventive_schedules\"", + "args": [ + { + "name": "object", + "description": "the row to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "preventive_schedules", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_preventive_tasks", + "description": "insert data into the table: \"preventive_tasks\"", + "args": [ + { + "name": "objects", + "description": "the rows to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "preventive_tasks_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_preventive_tasks_one", + "description": "insert a single row into the table: \"preventive_tasks\"", + "args": [ + { + "name": "object", + "description": "the row to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "preventive_tasks", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_refresh_tokens", + "description": "insert data into the table: \"refresh_tokens\"", + "args": [ + { + "name": "objects", + "description": "the rows to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "refresh_tokens_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_refresh_tokens_one", + "description": "insert a single row into the table: \"refresh_tokens\"", + "args": [ + { + "name": "object", + "description": "the row to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "refresh_tokens", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_severity_levels", + "description": "insert data into the table: \"severity_levels\"", + "args": [ + { + "name": "objects", + "description": "the rows to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "severity_levels_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_severity_levels_one", + "description": "insert a single row into the table: \"severity_levels\"", + "args": [ + { + "name": "object", + "description": "the row to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "severity_levels", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_users", + "description": "insert data into the table: \"users\"", + "args": [ + { + "name": "objects", + "description": "the rows to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "users_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "users_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "users_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "insert_users_one", + "description": "insert a single row into the table: \"users\"", + "args": [ + { + "name": "object", + "description": "the row to be inserted", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "users_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "users_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "users", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_companies", + "description": "update data of the table: \"companies\"", + "args": [ + { + "name": "_append", + "description": "append existing jsonb value of filtered columns with new jsonb value", + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_append_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_delete_at_path", + "description": "delete the field or element with specified path (for JSON arrays, negative integers count from the end)", + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_delete_at_path_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_delete_elem", + "description": "delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array", + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_delete_elem_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_delete_key", + "description": "delete key/value pair or string element. key/value pairs are matched based on their key value", + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_delete_key_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_prepend", + "description": "prepend existing jsonb value of filtered columns with new jsonb value", + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_prepend_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "companies_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "companies_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_companies_by_pk", + "description": "update single row of the table: \"companies\"", + "args": [ + { + "name": "_append", + "description": "append existing jsonb value of filtered columns with new jsonb value", + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_append_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_delete_at_path", + "description": "delete the field or element with specified path (for JSON arrays, negative integers count from the end)", + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_delete_at_path_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_delete_elem", + "description": "delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array", + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_delete_elem_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_delete_key", + "description": "delete key/value pair or string element. key/value pairs are matched based on their key value", + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_delete_key_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_prepend", + "description": "prepend existing jsonb value of filtered columns with new jsonb value", + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_prepend_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "pk_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "companies_pk_columns_input", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "companies", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_companies_many", + "description": "update multiples rows of table: \"companies\"", + "args": [ + { + "name": "updates", + "description": "updates to execute, in order", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "companies_updates", + "ofType": null + } + } + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "companies_mutation_response", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_equipment", + "description": "update data of the table: \"equipment\"", + "args": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "equipment_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_equipment_analytics", + "description": "update data of the table: \"equipment_analytics\"", + "args": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "equipment_analytics_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_equipment_analytics_by_pk", + "description": "update single row of the table: \"equipment_analytics\"", + "args": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "pk_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_pk_columns_input", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "equipment_analytics", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_equipment_analytics_many", + "description": "update multiples rows of table: \"equipment_analytics\"", + "args": [ + { + "name": "updates", + "description": "updates to execute, in order", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_updates", + "ofType": null + } + } + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment_analytics_mutation_response", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_equipment_by_pk", + "description": "update single row of the table: \"equipment\"", + "args": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "pk_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_pk_columns_input", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "equipment", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_equipment_categories", + "description": "update data of the table: \"equipment_categories\"", + "args": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "equipment_categories_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_equipment_categories_by_pk", + "description": "update single row of the table: \"equipment_categories\"", + "args": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "pk_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_pk_columns_input", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "equipment_categories", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_equipment_categories_many", + "description": "update multiples rows of table: \"equipment_categories\"", + "args": [ + { + "name": "updates", + "description": "updates to execute, in order", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_updates", + "ofType": null + } + } + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment_categories_mutation_response", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_equipment_many", + "description": "update multiples rows of table: \"equipment\"", + "args": [ + { + "name": "updates", + "description": "updates to execute, in order", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_updates", + "ofType": null + } + } + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment_mutation_response", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_equipment_photos", + "description": "update data of the table: \"equipment_photos\"", + "args": [ + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "equipment_photos_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_equipment_photos_by_pk", + "description": "update single row of the table: \"equipment_photos\"", + "args": [ + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "pk_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_pk_columns_input", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "equipment_photos", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_equipment_photos_many", + "description": "update multiples rows of table: \"equipment_photos\"", + "args": [ + { + "name": "updates", + "description": "updates to execute, in order", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_updates", + "ofType": null + } + } + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment_photos_mutation_response", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_industry_templates", + "description": "update data of the table: \"industry_templates\"", + "args": [ + { + "name": "_append", + "description": "append existing jsonb value of filtered columns with new jsonb value", + "type": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_append_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_delete_at_path", + "description": "delete the field or element with specified path (for JSON arrays, negative integers count from the end)", + "type": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_delete_at_path_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_delete_elem", + "description": "delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array", + "type": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_delete_elem_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_delete_key", + "description": "delete key/value pair or string element. key/value pairs are matched based on their key value", + "type": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_delete_key_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_prepend", + "description": "prepend existing jsonb value of filtered columns with new jsonb value", + "type": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_prepend_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "industry_templates_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_industry_templates_by_pk", + "description": "update single row of the table: \"industry_templates\"", + "args": [ + { + "name": "_append", + "description": "append existing jsonb value of filtered columns with new jsonb value", + "type": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_append_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_delete_at_path", + "description": "delete the field or element with specified path (for JSON arrays, negative integers count from the end)", + "type": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_delete_at_path_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_delete_elem", + "description": "delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array", + "type": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_delete_elem_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_delete_key", + "description": "delete key/value pair or string element. key/value pairs are matched based on their key value", + "type": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_delete_key_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_prepend", + "description": "prepend existing jsonb value of filtered columns with new jsonb value", + "type": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_prepend_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "pk_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_pk_columns_input", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "industry_templates", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_industry_templates_many", + "description": "update multiples rows of table: \"industry_templates\"", + "args": [ + { + "name": "updates", + "description": "updates to execute, in order", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_updates", + "ofType": null + } + } + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "industry_templates_mutation_response", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_issue_categories", + "description": "update data of the table: \"issue_categories\"", + "args": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "issue_categories_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_issue_categories_by_pk", + "description": "update single row of the table: \"issue_categories\"", + "args": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "pk_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_pk_columns_input", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "issue_categories", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_issue_categories_many", + "description": "update multiples rows of table: \"issue_categories\"", + "args": [ + { + "name": "updates", + "description": "updates to execute, in order", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_updates", + "ofType": null + } + } + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issue_categories_mutation_response", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_issue_comments", + "description": "update data of the table: \"issue_comments\"", + "args": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "issue_comments_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_issue_comments_by_pk", + "description": "update single row of the table: \"issue_comments\"", + "args": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "pk_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_pk_columns_input", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "issue_comments", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_issue_comments_many", + "description": "update multiples rows of table: \"issue_comments\"", + "args": [ + { + "name": "updates", + "description": "updates to execute, in order", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_updates", + "ofType": null + } + } + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issue_comments_mutation_response", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_issue_photos", + "description": "update data of the table: \"issue_photos\"", + "args": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "issue_photos_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_issue_photos_by_pk", + "description": "update single row of the table: \"issue_photos\"", + "args": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "pk_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_pk_columns_input", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "issue_photos", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_issue_photos_many", + "description": "update multiples rows of table: \"issue_photos\"", + "args": [ + { + "name": "updates", + "description": "updates to execute, in order", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_updates", + "ofType": null + } + } + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issue_photos_mutation_response", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_issues", + "description": "update data of the table: \"issues\"", + "args": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "issues_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_issues_by_pk", + "description": "update single row of the table: \"issues\"", + "args": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "pk_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issues_pk_columns_input", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "issues", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_issues_many", + "description": "update multiples rows of table: \"issues\"", + "args": [ + { + "name": "updates", + "description": "updates to execute, in order", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issues_updates", + "ofType": null + } + } + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issues_mutation_response", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_location_types", + "description": "update data of the table: \"location_types\"", + "args": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "location_types_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "location_types_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_location_types_by_pk", + "description": "update single row of the table: \"location_types\"", + "args": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "pk_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "location_types_pk_columns_input", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "location_types", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_location_types_many", + "description": "update multiples rows of table: \"location_types\"", + "args": [ + { + "name": "updates", + "description": "updates to execute, in order", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "location_types_updates", + "ofType": null + } + } + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "location_types_mutation_response", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_locations", + "description": "update data of the table: \"locations\"", + "args": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "locations_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "locations_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_locations_by_pk", + "description": "update single row of the table: \"locations\"", + "args": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "pk_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "locations_pk_columns_input", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "locations", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_locations_many", + "description": "update multiples rows of table: \"locations\"", + "args": [ + { + "name": "updates", + "description": "updates to execute, in order", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "locations_updates", + "ofType": null + } + } + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "locations_mutation_response", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_magic_link_tokens", + "description": "update data of the table: \"magic_link_tokens\"", + "args": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "magic_link_tokens_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_magic_link_tokens_by_pk", + "description": "update single row of the table: \"magic_link_tokens\"", + "args": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "pk_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_pk_columns_input", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "magic_link_tokens", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_magic_link_tokens_many", + "description": "update multiples rows of table: \"magic_link_tokens\"", + "args": [ + { + "name": "updates", + "description": "updates to execute, in order", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_updates", + "ofType": null + } + } + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "magic_link_tokens_mutation_response", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_maintenance_actions", + "description": "update data of the table: \"maintenance_actions\"", + "args": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "maintenance_actions_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_maintenance_actions_by_pk", + "description": "update single row of the table: \"maintenance_actions\"", + "args": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "pk_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_pk_columns_input", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "maintenance_actions", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_maintenance_actions_many", + "description": "update multiples rows of table: \"maintenance_actions\"", + "args": [ + { + "name": "updates", + "description": "updates to execute, in order", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_updates", + "ofType": null + } + } + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "maintenance_actions_mutation_response", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_notifications_log", + "description": "update data of the table: \"notifications_log\"", + "args": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "notifications_log_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_notifications_log_by_pk", + "description": "update single row of the table: \"notifications_log\"", + "args": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "pk_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_pk_columns_input", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "notifications_log", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_notifications_log_many", + "description": "update multiples rows of table: \"notifications_log\"", + "args": [ + { + "name": "updates", + "description": "updates to execute, in order", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_updates", + "ofType": null + } + } + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "notifications_log_mutation_response", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_parts_used", + "description": "update data of the table: \"parts_used\"", + "args": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "parts_used_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "parts_used_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "parts_used_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "parts_used_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_parts_used_by_pk", + "description": "update single row of the table: \"parts_used\"", + "args": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "parts_used_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "parts_used_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "pk_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "parts_used_pk_columns_input", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "parts_used", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_parts_used_many", + "description": "update multiples rows of table: \"parts_used\"", + "args": [ + { + "name": "updates", + "description": "updates to execute, in order", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "parts_used_updates", + "ofType": null + } + } + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "parts_used_mutation_response", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_preventive_schedules", + "description": "update data of the table: \"preventive_schedules\"", + "args": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "preventive_schedules_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_preventive_schedules_by_pk", + "description": "update single row of the table: \"preventive_schedules\"", + "args": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "pk_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_pk_columns_input", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "preventive_schedules", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_preventive_schedules_many", + "description": "update multiples rows of table: \"preventive_schedules\"", + "args": [ + { + "name": "updates", + "description": "updates to execute, in order", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_updates", + "ofType": null + } + } + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "preventive_schedules_mutation_response", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_preventive_tasks", + "description": "update data of the table: \"preventive_tasks\"", + "args": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "preventive_tasks_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_preventive_tasks_by_pk", + "description": "update single row of the table: \"preventive_tasks\"", + "args": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "pk_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_pk_columns_input", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "preventive_tasks", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_preventive_tasks_many", + "description": "update multiples rows of table: \"preventive_tasks\"", + "args": [ + { + "name": "updates", + "description": "updates to execute, in order", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_updates", + "ofType": null + } + } + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "preventive_tasks_mutation_response", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_refresh_tokens", + "description": "update data of the table: \"refresh_tokens\"", + "args": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "refresh_tokens_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_refresh_tokens_by_pk", + "description": "update single row of the table: \"refresh_tokens\"", + "args": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "pk_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_pk_columns_input", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "refresh_tokens", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_refresh_tokens_many", + "description": "update multiples rows of table: \"refresh_tokens\"", + "args": [ + { + "name": "updates", + "description": "updates to execute, in order", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_updates", + "ofType": null + } + } + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "refresh_tokens_mutation_response", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_severity_levels", + "description": "update data of the table: \"severity_levels\"", + "args": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "severity_levels_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_severity_levels_by_pk", + "description": "update single row of the table: \"severity_levels\"", + "args": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "pk_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_pk_columns_input", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "severity_levels", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_severity_levels_many", + "description": "update multiples rows of table: \"severity_levels\"", + "args": [ + { + "name": "updates", + "description": "updates to execute, in order", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_updates", + "ofType": null + } + } + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "severity_levels_mutation_response", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_users", + "description": "update data of the table: \"users\"", + "args": [ + { + "name": "_append", + "description": "append existing jsonb value of filtered columns with new jsonb value", + "type": { + "kind": "INPUT_OBJECT", + "name": "users_append_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_delete_at_path", + "description": "delete the field or element with specified path (for JSON arrays, negative integers count from the end)", + "type": { + "kind": "INPUT_OBJECT", + "name": "users_delete_at_path_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_delete_elem", + "description": "delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array", + "type": { + "kind": "INPUT_OBJECT", + "name": "users_delete_elem_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_delete_key", + "description": "delete key/value pair or string element. key/value pairs are matched based on their key value", + "type": { + "kind": "INPUT_OBJECT", + "name": "users_delete_key_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "users_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_prepend", + "description": "prepend existing jsonb value of filtered columns with new jsonb value", + "type": { + "kind": "INPUT_OBJECT", + "name": "users_prepend_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "users_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "users_mutation_response", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_users_by_pk", + "description": "update single row of the table: \"users\"", + "args": [ + { + "name": "_append", + "description": "append existing jsonb value of filtered columns with new jsonb value", + "type": { + "kind": "INPUT_OBJECT", + "name": "users_append_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_delete_at_path", + "description": "delete the field or element with specified path (for JSON arrays, negative integers count from the end)", + "type": { + "kind": "INPUT_OBJECT", + "name": "users_delete_at_path_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_delete_elem", + "description": "delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array", + "type": { + "kind": "INPUT_OBJECT", + "name": "users_delete_elem_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_delete_key", + "description": "delete key/value pair or string element. key/value pairs are matched based on their key value", + "type": { + "kind": "INPUT_OBJECT", + "name": "users_delete_key_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "users_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_prepend", + "description": "prepend existing jsonb value of filtered columns with new jsonb value", + "type": { + "kind": "INPUT_OBJECT", + "name": "users_prepend_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "users_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "pk_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "users_pk_columns_input", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "users", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "update_users_many", + "description": "update multiples rows of table: \"users\"", + "args": [ + { + "name": "updates", + "description": "updates to execute, in order", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "users_updates", + "ofType": null + } + } + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "users_mutation_response", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "notifications_log", + "description": "columns and relationships of \"notifications_log\"", + "fields": [ + { + "name": "channel", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "companies", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delivered_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "event_type", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue", + "description": "An object relationship", + "args": [], + "type": { + "kind": "OBJECT", + "name": "issues", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sent_at", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "users", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "notifications_log_aggregate", + "description": "aggregated selection of \"notifications_log\"", + "fields": [ + { + "name": "aggregate", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "notifications_log_aggregate_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "notifications_log", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "notifications_log_aggregate_bool_exp", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "count", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_aggregate_bool_exp_count", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "notifications_log_aggregate_bool_exp_count", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "arguments", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "notifications_log_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "filter", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "predicate", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "notifications_log_aggregate_fields", + "description": "aggregate fields of \"notifications_log\"", + "fields": [ + { + "name": "avg", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "notifications_log_avg_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "count", + "description": null, + "args": [ + { + "name": "columns", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "notifications_log_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "max", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "notifications_log_max_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "min", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "notifications_log_min_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "notifications_log_stddev_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "notifications_log_stddev_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "notifications_log_stddev_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sum", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "notifications_log_sum_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "notifications_log_var_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "notifications_log_var_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variance", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "notifications_log_variance_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "notifications_log_aggregate_order_by", + "description": "order by aggregate values of table \"notifications_log\"", + "fields": null, + "inputFields": [ + { + "name": "avg", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_avg_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "count", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "max", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_max_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "min", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_min_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_stddev_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev_pop", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_stddev_pop_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev_samp", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_stddev_samp_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sum", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_sum_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "var_pop", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_var_pop_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "var_samp", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_var_samp_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "variance", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_variance_order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "notifications_log_arr_rel_insert_input", + "description": "input type for inserting array relation for remote table \"notifications_log\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "notifications_log_avg_fields", + "description": "aggregate avg on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "notifications_log_avg_order_by", + "description": "order by avg() on columns of table \"notifications_log\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "notifications_log_bool_exp", + "description": "Boolean expression to filter rows from the table \"notifications_log\". All fields are combined with a logical 'AND'.", + "fields": null, + "inputFields": [ + { + "name": "_and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "_not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "channel", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "delivered_at", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "event_type", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sent_at", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "status", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "notifications_log_constraint", + "description": "unique or primary key constraints on table \"notifications_log\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "notifications_log_pkey", + "description": "unique or primary key constraint on columns \"id\"", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "notifications_log_inc_input", + "description": "input type for incrementing numeric columns in table \"notifications_log\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "notifications_log_insert_input", + "description": "input type for inserting data into table \"notifications_log\"", + "fields": null, + "inputFields": [ + { + "name": "channel", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "delivered_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "event_type", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sent_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "status", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "notifications_log_max_fields", + "description": "aggregate max on columns", + "fields": [ + { + "name": "channel", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delivered_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "event_type", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sent_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "notifications_log_max_order_by", + "description": "order by max() on columns of table \"notifications_log\"", + "fields": null, + "inputFields": [ + { + "name": "channel", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "delivered_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "event_type", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sent_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "status", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "notifications_log_min_fields", + "description": "aggregate min on columns", + "fields": [ + { + "name": "channel", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delivered_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "event_type", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sent_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "notifications_log_min_order_by", + "description": "order by min() on columns of table \"notifications_log\"", + "fields": null, + "inputFields": [ + { + "name": "channel", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "delivered_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "event_type", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sent_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "status", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "notifications_log_mutation_response", + "description": "response of any mutation on the table \"notifications_log\"", + "fields": [ + { + "name": "affected_rows", + "description": "number of rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "returning", + "description": "data from the rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "notifications_log", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "notifications_log_on_conflict", + "description": "on_conflict condition type for table \"notifications_log\"", + "fields": null, + "inputFields": [ + { + "name": "constraint", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "notifications_log_constraint", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "update_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "notifications_log_update_column", + "ofType": null + } + } + } + }, + "defaultValue": "[]" + }, + { + "name": "where", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "notifications_log_order_by", + "description": "Ordering options when selecting data from \"notifications_log\".", + "fields": null, + "inputFields": [ + { + "name": "channel", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "delivered_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "event_type", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sent_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "status", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "notifications_log_pk_columns_input", + "description": "primary key columns input for table: notifications_log", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "notifications_log_select_column", + "description": "select columns of table \"notifications_log\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "channel", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delivered_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "event_type", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sent_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "notifications_log_set_input", + "description": "input type for updating data in table \"notifications_log\"", + "fields": null, + "inputFields": [ + { + "name": "channel", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "delivered_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "event_type", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sent_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "status", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "notifications_log_stddev_fields", + "description": "aggregate stddev on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "notifications_log_stddev_order_by", + "description": "order by stddev() on columns of table \"notifications_log\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "notifications_log_stddev_pop_fields", + "description": "aggregate stddev_pop on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "notifications_log_stddev_pop_order_by", + "description": "order by stddev_pop() on columns of table \"notifications_log\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "notifications_log_stddev_samp_fields", + "description": "aggregate stddev_samp on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "notifications_log_stddev_samp_order_by", + "description": "order by stddev_samp() on columns of table \"notifications_log\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "notifications_log_stream_cursor_input", + "description": "Streaming cursor of the table \"notifications_log\"", + "fields": null, + "inputFields": [ + { + "name": "initial_value", + "description": "Stream column input with initial value", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_stream_cursor_value_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "ordering", + "description": "cursor ordering", + "type": { + "kind": "ENUM", + "name": "cursor_ordering", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "notifications_log_stream_cursor_value_input", + "description": "Initial value of the column from where the streaming should start", + "fields": null, + "inputFields": [ + { + "name": "channel", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "delivered_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "event_type", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sent_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "status", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "notifications_log_sum_fields", + "description": "aggregate sum on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "notifications_log_sum_order_by", + "description": "order by sum() on columns of table \"notifications_log\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "notifications_log_update_column", + "description": "update columns of table \"notifications_log\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "channel", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "delivered_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "event_type", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sent_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "notifications_log_updates", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "notifications_log_var_pop_fields", + "description": "aggregate var_pop on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "notifications_log_var_pop_order_by", + "description": "order by var_pop() on columns of table \"notifications_log\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "notifications_log_var_samp_fields", + "description": "aggregate var_samp on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "notifications_log_var_samp_order_by", + "description": "order by var_samp() on columns of table \"notifications_log\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "notifications_log_variance_fields", + "description": "aggregate variance on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "notifications_log_variance_order_by", + "description": "order by variance() on columns of table \"notifications_log\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "numeric", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "numeric_comparison_exp", + "description": "Boolean expression to compare columns of type \"numeric\". All fields are combined with logical 'AND'.", + "fields": null, + "inputFields": [ + { + "name": "_eq", + "description": null, + "type": { + "kind": "SCALAR", + "name": "numeric", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_gt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "numeric", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_gte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "numeric", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_in", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "numeric", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "_is_null", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_lt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "numeric", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_lte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "numeric", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_neq", + "description": null, + "type": { + "kind": "SCALAR", + "name": "numeric", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_nin", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "numeric", + "ofType": null + } + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "order_by", + "description": "column ordering options", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "asc", + "description": "in ascending order, nulls last", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "asc_nulls_first", + "description": "in ascending order, nulls first", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "asc_nulls_last", + "description": "in ascending order, nulls last", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "desc", + "description": "in descending order, nulls first", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "desc_nulls_first", + "description": "in descending order, nulls first", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "desc_nulls_last", + "description": "in descending order, nulls last", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "parts_used", + "description": "columns and relationships of \"parts_used\"", + "fields": [ + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maintenance_action", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "maintenance_actions", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maintenance_action_id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "part_name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "part_number", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "supplier", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "unit_cost_cents", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "parts_used_aggregate", + "description": "aggregated selection of \"parts_used\"", + "fields": [ + { + "name": "aggregate", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "parts_used_aggregate_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "parts_used", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "parts_used_aggregate_bool_exp", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "count", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "parts_used_aggregate_bool_exp_count", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "parts_used_aggregate_bool_exp_count", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "arguments", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "parts_used_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "filter", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "parts_used_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "predicate", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "parts_used_aggregate_fields", + "description": "aggregate fields of \"parts_used\"", + "fields": [ + { + "name": "avg", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "parts_used_avg_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "count", + "description": null, + "args": [ + { + "name": "columns", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "parts_used_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "max", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "parts_used_max_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "min", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "parts_used_min_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "parts_used_stddev_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "parts_used_stddev_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "parts_used_stddev_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sum", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "parts_used_sum_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "parts_used_var_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "parts_used_var_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variance", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "parts_used_variance_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "parts_used_aggregate_order_by", + "description": "order by aggregate values of table \"parts_used\"", + "fields": null, + "inputFields": [ + { + "name": "avg", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "parts_used_avg_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "count", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "max", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "parts_used_max_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "min", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "parts_used_min_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "parts_used_stddev_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev_pop", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "parts_used_stddev_pop_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev_samp", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "parts_used_stddev_samp_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sum", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "parts_used_sum_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "var_pop", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "parts_used_var_pop_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "var_samp", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "parts_used_var_samp_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "variance", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "parts_used_variance_order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "parts_used_arr_rel_insert_input", + "description": "input type for inserting array relation for remote table \"parts_used\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "parts_used_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "parts_used_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "parts_used_avg_fields", + "description": "aggregate avg on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maintenance_action_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "unit_cost_cents", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "parts_used_avg_order_by", + "description": "order by avg() on columns of table \"parts_used\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "maintenance_action_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "quantity", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "unit_cost_cents", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "parts_used_bool_exp", + "description": "Boolean expression to filter rows from the table \"parts_used\". All fields are combined with a logical 'AND'.", + "fields": null, + "inputFields": [ + { + "name": "_and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "parts_used_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "_not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "parts_used_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "parts_used_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "maintenance_action", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "maintenance_action_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "part_name", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "part_number", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "quantity", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "supplier", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "unit_cost_cents", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "parts_used_constraint", + "description": "unique or primary key constraints on table \"parts_used\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "parts_used_pkey", + "description": "unique or primary key constraint on columns \"id\"", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "parts_used_inc_input", + "description": "input type for incrementing numeric columns in table \"parts_used\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "maintenance_action_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "quantity", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "unit_cost_cents", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "parts_used_insert_input", + "description": "input type for inserting data into table \"parts_used\"", + "fields": null, + "inputFields": [ + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "maintenance_action", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "maintenance_action_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "part_name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "part_number", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "quantity", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "supplier", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "unit_cost_cents", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "parts_used_max_fields", + "description": "aggregate max on columns", + "fields": [ + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maintenance_action_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "part_name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "part_number", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "supplier", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "unit_cost_cents", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "parts_used_max_order_by", + "description": "order by max() on columns of table \"parts_used\"", + "fields": null, + "inputFields": [ + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "maintenance_action_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "part_name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "part_number", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "quantity", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "supplier", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "unit_cost_cents", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "parts_used_min_fields", + "description": "aggregate min on columns", + "fields": [ + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maintenance_action_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "part_name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "part_number", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "supplier", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "unit_cost_cents", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "parts_used_min_order_by", + "description": "order by min() on columns of table \"parts_used\"", + "fields": null, + "inputFields": [ + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "maintenance_action_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "part_name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "part_number", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "quantity", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "supplier", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "unit_cost_cents", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "parts_used_mutation_response", + "description": "response of any mutation on the table \"parts_used\"", + "fields": [ + { + "name": "affected_rows", + "description": "number of rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "returning", + "description": "data from the rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "parts_used", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "parts_used_on_conflict", + "description": "on_conflict condition type for table \"parts_used\"", + "fields": null, + "inputFields": [ + { + "name": "constraint", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "parts_used_constraint", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "update_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "parts_used_update_column", + "ofType": null + } + } + } + }, + "defaultValue": "[]" + }, + { + "name": "where", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "parts_used_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "parts_used_order_by", + "description": "Ordering options when selecting data from \"parts_used\".", + "fields": null, + "inputFields": [ + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "maintenance_action", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "maintenance_action_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "part_name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "part_number", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "quantity", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "supplier", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "unit_cost_cents", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "parts_used_pk_columns_input", + "description": "primary key columns input for table: parts_used", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "parts_used_select_column", + "description": "select columns of table \"parts_used\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "created_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maintenance_action_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "part_name", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "part_number", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "supplier", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "unit_cost_cents", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "parts_used_set_input", + "description": "input type for updating data in table \"parts_used\"", + "fields": null, + "inputFields": [ + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "maintenance_action_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "part_name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "part_number", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "quantity", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "supplier", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "unit_cost_cents", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "parts_used_stddev_fields", + "description": "aggregate stddev on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maintenance_action_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "unit_cost_cents", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "parts_used_stddev_order_by", + "description": "order by stddev() on columns of table \"parts_used\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "maintenance_action_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "quantity", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "unit_cost_cents", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "parts_used_stddev_pop_fields", + "description": "aggregate stddev_pop on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maintenance_action_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "unit_cost_cents", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "parts_used_stddev_pop_order_by", + "description": "order by stddev_pop() on columns of table \"parts_used\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "maintenance_action_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "quantity", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "unit_cost_cents", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "parts_used_stddev_samp_fields", + "description": "aggregate stddev_samp on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maintenance_action_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "unit_cost_cents", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "parts_used_stddev_samp_order_by", + "description": "order by stddev_samp() on columns of table \"parts_used\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "maintenance_action_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "quantity", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "unit_cost_cents", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "parts_used_stream_cursor_input", + "description": "Streaming cursor of the table \"parts_used\"", + "fields": null, + "inputFields": [ + { + "name": "initial_value", + "description": "Stream column input with initial value", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "parts_used_stream_cursor_value_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "ordering", + "description": "cursor ordering", + "type": { + "kind": "ENUM", + "name": "cursor_ordering", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "parts_used_stream_cursor_value_input", + "description": "Initial value of the column from where the streaming should start", + "fields": null, + "inputFields": [ + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "maintenance_action_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "part_name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "part_number", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "quantity", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "supplier", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "unit_cost_cents", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "parts_used_sum_fields", + "description": "aggregate sum on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maintenance_action_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "unit_cost_cents", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "parts_used_sum_order_by", + "description": "order by sum() on columns of table \"parts_used\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "maintenance_action_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "quantity", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "unit_cost_cents", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "parts_used_update_column", + "description": "update columns of table \"parts_used\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "created_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maintenance_action_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "part_name", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "part_number", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "supplier", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "unit_cost_cents", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "parts_used_updates", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "parts_used_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "parts_used_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "parts_used_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "parts_used_var_pop_fields", + "description": "aggregate var_pop on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maintenance_action_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "unit_cost_cents", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "parts_used_var_pop_order_by", + "description": "order by var_pop() on columns of table \"parts_used\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "maintenance_action_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "quantity", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "unit_cost_cents", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "parts_used_var_samp_fields", + "description": "aggregate var_samp on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maintenance_action_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "unit_cost_cents", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "parts_used_var_samp_order_by", + "description": "order by var_samp() on columns of table \"parts_used\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "maintenance_action_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "quantity", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "unit_cost_cents", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "parts_used_variance_fields", + "description": "aggregate variance on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maintenance_action_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "quantity", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "unit_cost_cents", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "parts_used_variance_order_by", + "description": "order by variance() on columns of table \"parts_used\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "maintenance_action_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "quantity", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "unit_cost_cents", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "preventive_schedules", + "description": "columns and relationships of \"preventive_schedules\"", + "fields": [ + { + "name": "completed_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "completed_by", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "due_date", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "date", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "preventive_task", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "preventive_tasks", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "task_id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user", + "description": "An object relationship", + "args": [], + "type": { + "kind": "OBJECT", + "name": "users", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "preventive_schedules_aggregate", + "description": "aggregated selection of \"preventive_schedules\"", + "fields": [ + { + "name": "aggregate", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "preventive_schedules_aggregate_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "preventive_schedules", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_aggregate_bool_exp", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "count", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_aggregate_bool_exp_count", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_aggregate_bool_exp_count", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "arguments", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "preventive_schedules_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "filter", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "predicate", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "preventive_schedules_aggregate_fields", + "description": "aggregate fields of \"preventive_schedules\"", + "fields": [ + { + "name": "avg", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "preventive_schedules_avg_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "count", + "description": null, + "args": [ + { + "name": "columns", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "preventive_schedules_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "max", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "preventive_schedules_max_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "min", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "preventive_schedules_min_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "preventive_schedules_stddev_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "preventive_schedules_stddev_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "preventive_schedules_stddev_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sum", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "preventive_schedules_sum_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "preventive_schedules_var_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "preventive_schedules_var_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variance", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "preventive_schedules_variance_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_aggregate_order_by", + "description": "order by aggregate values of table \"preventive_schedules\"", + "fields": null, + "inputFields": [ + { + "name": "avg", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_avg_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "count", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "max", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_max_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "min", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_min_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_stddev_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev_pop", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_stddev_pop_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev_samp", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_stddev_samp_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sum", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_sum_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "var_pop", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_var_pop_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "var_samp", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_var_samp_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "variance", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_variance_order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_arr_rel_insert_input", + "description": "input type for inserting array relation for remote table \"preventive_schedules\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "preventive_schedules_avg_fields", + "description": "aggregate avg on columns", + "fields": [ + { + "name": "completed_by", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "task_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_avg_order_by", + "description": "order by avg() on columns of table \"preventive_schedules\"", + "fields": null, + "inputFields": [ + { + "name": "completed_by", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "task_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_bool_exp", + "description": "Boolean expression to filter rows from the table \"preventive_schedules\". All fields are combined with a logical 'AND'.", + "fields": null, + "inputFields": [ + { + "name": "_and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "_not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "completed_at", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "completed_by", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "due_date", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "date_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "notes", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "preventive_task", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "status", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "task_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "preventive_schedules_constraint", + "description": "unique or primary key constraints on table \"preventive_schedules\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "preventive_schedules_pkey", + "description": "unique or primary key constraint on columns \"id\"", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_inc_input", + "description": "input type for incrementing numeric columns in table \"preventive_schedules\"", + "fields": null, + "inputFields": [ + { + "name": "completed_by", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "task_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_insert_input", + "description": "input type for inserting data into table \"preventive_schedules\"", + "fields": null, + "inputFields": [ + { + "name": "completed_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "completed_by", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "due_date", + "description": null, + "type": { + "kind": "SCALAR", + "name": "date", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "notes", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "preventive_task", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "status", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "task_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "preventive_schedules_max_fields", + "description": "aggregate max on columns", + "fields": [ + { + "name": "completed_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "completed_by", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "due_date", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "date", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "task_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_max_order_by", + "description": "order by max() on columns of table \"preventive_schedules\"", + "fields": null, + "inputFields": [ + { + "name": "completed_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "completed_by", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "due_date", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "notes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "status", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "task_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "preventive_schedules_min_fields", + "description": "aggregate min on columns", + "fields": [ + { + "name": "completed_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "completed_by", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "due_date", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "date", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "task_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_min_order_by", + "description": "order by min() on columns of table \"preventive_schedules\"", + "fields": null, + "inputFields": [ + { + "name": "completed_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "completed_by", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "due_date", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "notes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "status", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "task_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "preventive_schedules_mutation_response", + "description": "response of any mutation on the table \"preventive_schedules\"", + "fields": [ + { + "name": "affected_rows", + "description": "number of rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "returning", + "description": "data from the rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "preventive_schedules", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_on_conflict", + "description": "on_conflict condition type for table \"preventive_schedules\"", + "fields": null, + "inputFields": [ + { + "name": "constraint", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "preventive_schedules_constraint", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "update_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "preventive_schedules_update_column", + "ofType": null + } + } + } + }, + "defaultValue": "[]" + }, + { + "name": "where", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_order_by", + "description": "Ordering options when selecting data from \"preventive_schedules\".", + "fields": null, + "inputFields": [ + { + "name": "completed_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "completed_by", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "due_date", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "notes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "preventive_task", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "status", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "task_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_pk_columns_input", + "description": "primary key columns input for table: preventive_schedules", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "preventive_schedules_select_column", + "description": "select columns of table \"preventive_schedules\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "completed_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "completed_by", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "due_date", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notes", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "task_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_set_input", + "description": "input type for updating data in table \"preventive_schedules\"", + "fields": null, + "inputFields": [ + { + "name": "completed_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "completed_by", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "due_date", + "description": null, + "type": { + "kind": "SCALAR", + "name": "date", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "notes", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "status", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "task_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "preventive_schedules_stddev_fields", + "description": "aggregate stddev on columns", + "fields": [ + { + "name": "completed_by", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "task_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_stddev_order_by", + "description": "order by stddev() on columns of table \"preventive_schedules\"", + "fields": null, + "inputFields": [ + { + "name": "completed_by", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "task_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "preventive_schedules_stddev_pop_fields", + "description": "aggregate stddev_pop on columns", + "fields": [ + { + "name": "completed_by", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "task_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_stddev_pop_order_by", + "description": "order by stddev_pop() on columns of table \"preventive_schedules\"", + "fields": null, + "inputFields": [ + { + "name": "completed_by", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "task_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "preventive_schedules_stddev_samp_fields", + "description": "aggregate stddev_samp on columns", + "fields": [ + { + "name": "completed_by", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "task_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_stddev_samp_order_by", + "description": "order by stddev_samp() on columns of table \"preventive_schedules\"", + "fields": null, + "inputFields": [ + { + "name": "completed_by", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "task_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_stream_cursor_input", + "description": "Streaming cursor of the table \"preventive_schedules\"", + "fields": null, + "inputFields": [ + { + "name": "initial_value", + "description": "Stream column input with initial value", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_stream_cursor_value_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "ordering", + "description": "cursor ordering", + "type": { + "kind": "ENUM", + "name": "cursor_ordering", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_stream_cursor_value_input", + "description": "Initial value of the column from where the streaming should start", + "fields": null, + "inputFields": [ + { + "name": "completed_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "completed_by", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "due_date", + "description": null, + "type": { + "kind": "SCALAR", + "name": "date", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "notes", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "status", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "task_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "preventive_schedules_sum_fields", + "description": "aggregate sum on columns", + "fields": [ + { + "name": "completed_by", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "task_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_sum_order_by", + "description": "order by sum() on columns of table \"preventive_schedules\"", + "fields": null, + "inputFields": [ + { + "name": "completed_by", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "task_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "preventive_schedules_update_column", + "description": "update columns of table \"preventive_schedules\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "completed_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "completed_by", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "due_date", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notes", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "task_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_updates", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "preventive_schedules_var_pop_fields", + "description": "aggregate var_pop on columns", + "fields": [ + { + "name": "completed_by", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "task_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_var_pop_order_by", + "description": "order by var_pop() on columns of table \"preventive_schedules\"", + "fields": null, + "inputFields": [ + { + "name": "completed_by", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "task_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "preventive_schedules_var_samp_fields", + "description": "aggregate var_samp on columns", + "fields": [ + { + "name": "completed_by", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "task_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_var_samp_order_by", + "description": "order by var_samp() on columns of table \"preventive_schedules\"", + "fields": null, + "inputFields": [ + { + "name": "completed_by", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "task_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "preventive_schedules_variance_fields", + "description": "aggregate variance on columns", + "fields": [ + { + "name": "completed_by", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "task_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_variance_order_by", + "description": "order by variance() on columns of table \"preventive_schedules\"", + "fields": null, + "inputFields": [ + { + "name": "completed_by", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "task_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "preventive_tasks", + "description": "columns and relationships of \"preventive_tasks\"", + "fields": [ + { + "name": "assigned_role", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "companies", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "estimated_minutes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "frequency_days", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "is_active", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "preventive_schedules", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "preventive_schedules_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "preventive_schedules", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "preventive_schedules_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "preventive_schedules_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "preventive_schedules_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "preventive_tasks_aggregate", + "description": "aggregated selection of \"preventive_tasks\"", + "fields": [ + { + "name": "aggregate", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "preventive_tasks_aggregate_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "preventive_tasks", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_aggregate_bool_exp", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "bool_and", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_aggregate_bool_exp_bool_and", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "bool_or", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_aggregate_bool_exp_bool_or", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "count", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_aggregate_bool_exp_count", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_aggregate_bool_exp_bool_and", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "arguments", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "preventive_tasks_select_column_preventive_tasks_aggregate_bool_exp_bool_and_arguments_columns", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "filter", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "predicate", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Boolean_comparison_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_aggregate_bool_exp_bool_or", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "arguments", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "preventive_tasks_select_column_preventive_tasks_aggregate_bool_exp_bool_or_arguments_columns", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "filter", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "predicate", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Boolean_comparison_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_aggregate_bool_exp_count", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "arguments", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "preventive_tasks_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "filter", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "predicate", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "preventive_tasks_aggregate_fields", + "description": "aggregate fields of \"preventive_tasks\"", + "fields": [ + { + "name": "avg", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "preventive_tasks_avg_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "count", + "description": null, + "args": [ + { + "name": "columns", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "preventive_tasks_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "max", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "preventive_tasks_max_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "min", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "preventive_tasks_min_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "preventive_tasks_stddev_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "preventive_tasks_stddev_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "preventive_tasks_stddev_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sum", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "preventive_tasks_sum_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "preventive_tasks_var_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "preventive_tasks_var_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variance", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "preventive_tasks_variance_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_aggregate_order_by", + "description": "order by aggregate values of table \"preventive_tasks\"", + "fields": null, + "inputFields": [ + { + "name": "avg", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_avg_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "count", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "max", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_max_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "min", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_min_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_stddev_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev_pop", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_stddev_pop_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev_samp", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_stddev_samp_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sum", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_sum_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "var_pop", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_var_pop_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "var_samp", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_var_samp_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "variance", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_variance_order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_arr_rel_insert_input", + "description": "input type for inserting array relation for remote table \"preventive_tasks\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "preventive_tasks_avg_fields", + "description": "aggregate avg on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "estimated_minutes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "frequency_days", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_avg_order_by", + "description": "order by avg() on columns of table \"preventive_tasks\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "estimated_minutes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "frequency_days", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_bool_exp", + "description": "Boolean expression to filter rows from the table \"preventive_tasks\". All fields are combined with a logical 'AND'.", + "fields": null, + "inputFields": [ + { + "name": "_and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "_not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "assigned_role", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "description", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "estimated_minutes", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "frequency_days", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "is_active", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Boolean_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "preventive_schedules", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "preventive_schedules_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "title", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "preventive_tasks_constraint", + "description": "unique or primary key constraints on table \"preventive_tasks\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "preventive_tasks_pkey", + "description": "unique or primary key constraint on columns \"id\"", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_inc_input", + "description": "input type for incrementing numeric columns in table \"preventive_tasks\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "estimated_minutes", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "frequency_days", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_insert_input", + "description": "input type for inserting data into table \"preventive_tasks\"", + "fields": null, + "inputFields": [ + { + "name": "assigned_role", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "description", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "estimated_minutes", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "frequency_days", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "is_active", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "preventive_schedules", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "title", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "preventive_tasks_max_fields", + "description": "aggregate max on columns", + "fields": [ + { + "name": "assigned_role", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "estimated_minutes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "frequency_days", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_max_order_by", + "description": "order by max() on columns of table \"preventive_tasks\"", + "fields": null, + "inputFields": [ + { + "name": "assigned_role", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "description", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "estimated_minutes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "frequency_days", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "title", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "preventive_tasks_min_fields", + "description": "aggregate min on columns", + "fields": [ + { + "name": "assigned_role", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "estimated_minutes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "frequency_days", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_min_order_by", + "description": "order by min() on columns of table \"preventive_tasks\"", + "fields": null, + "inputFields": [ + { + "name": "assigned_role", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "description", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "estimated_minutes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "frequency_days", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "title", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "preventive_tasks_mutation_response", + "description": "response of any mutation on the table \"preventive_tasks\"", + "fields": [ + { + "name": "affected_rows", + "description": "number of rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "returning", + "description": "data from the rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "preventive_tasks", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_obj_rel_insert_input", + "description": "input type for inserting object relation for remote table \"preventive_tasks\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_on_conflict", + "description": "on_conflict condition type for table \"preventive_tasks\"", + "fields": null, + "inputFields": [ + { + "name": "constraint", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "preventive_tasks_constraint", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "update_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "preventive_tasks_update_column", + "ofType": null + } + } + } + }, + "defaultValue": "[]" + }, + { + "name": "where", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_order_by", + "description": "Ordering options when selecting data from \"preventive_tasks\".", + "fields": null, + "inputFields": [ + { + "name": "assigned_role", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "description", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "estimated_minutes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "frequency_days", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "is_active", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "preventive_schedules_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "title", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_pk_columns_input", + "description": "primary key columns input for table: preventive_tasks", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "preventive_tasks_select_column", + "description": "select columns of table \"preventive_tasks\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "assigned_role", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "estimated_minutes", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "frequency_days", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "is_active", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "preventive_tasks_select_column_preventive_tasks_aggregate_bool_exp_bool_and_arguments_columns", + "description": "select \"preventive_tasks_aggregate_bool_exp_bool_and_arguments_columns\" columns of table \"preventive_tasks\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "is_active", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "preventive_tasks_select_column_preventive_tasks_aggregate_bool_exp_bool_or_arguments_columns", + "description": "select \"preventive_tasks_aggregate_bool_exp_bool_or_arguments_columns\" columns of table \"preventive_tasks\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "is_active", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_set_input", + "description": "input type for updating data in table \"preventive_tasks\"", + "fields": null, + "inputFields": [ + { + "name": "assigned_role", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "description", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "estimated_minutes", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "frequency_days", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "is_active", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "title", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "preventive_tasks_stddev_fields", + "description": "aggregate stddev on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "estimated_minutes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "frequency_days", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_stddev_order_by", + "description": "order by stddev() on columns of table \"preventive_tasks\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "estimated_minutes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "frequency_days", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "preventive_tasks_stddev_pop_fields", + "description": "aggregate stddev_pop on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "estimated_minutes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "frequency_days", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_stddev_pop_order_by", + "description": "order by stddev_pop() on columns of table \"preventive_tasks\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "estimated_minutes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "frequency_days", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "preventive_tasks_stddev_samp_fields", + "description": "aggregate stddev_samp on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "estimated_minutes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "frequency_days", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_stddev_samp_order_by", + "description": "order by stddev_samp() on columns of table \"preventive_tasks\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "estimated_minutes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "frequency_days", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_stream_cursor_input", + "description": "Streaming cursor of the table \"preventive_tasks\"", + "fields": null, + "inputFields": [ + { + "name": "initial_value", + "description": "Stream column input with initial value", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_stream_cursor_value_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "ordering", + "description": "cursor ordering", + "type": { + "kind": "ENUM", + "name": "cursor_ordering", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_stream_cursor_value_input", + "description": "Initial value of the column from where the streaming should start", + "fields": null, + "inputFields": [ + { + "name": "assigned_role", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "description", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "equipment_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "estimated_minutes", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "frequency_days", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "is_active", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "title", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "preventive_tasks_sum_fields", + "description": "aggregate sum on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "estimated_minutes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "frequency_days", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_sum_order_by", + "description": "order by sum() on columns of table \"preventive_tasks\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "estimated_minutes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "frequency_days", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "preventive_tasks_update_column", + "description": "update columns of table \"preventive_tasks\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "assigned_role", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "estimated_minutes", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "frequency_days", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "is_active", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_updates", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "preventive_tasks_var_pop_fields", + "description": "aggregate var_pop on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "estimated_minutes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "frequency_days", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_var_pop_order_by", + "description": "order by var_pop() on columns of table \"preventive_tasks\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "estimated_minutes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "frequency_days", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "preventive_tasks_var_samp_fields", + "description": "aggregate var_samp on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "estimated_minutes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "frequency_days", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_var_samp_order_by", + "description": "order by var_samp() on columns of table \"preventive_tasks\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "estimated_minutes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "frequency_days", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "preventive_tasks_variance_fields", + "description": "aggregate variance on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "estimated_minutes", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "frequency_days", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_variance_order_by", + "description": "order by variance() on columns of table \"preventive_tasks\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "estimated_minutes", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "frequency_days", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "query_root", + "description": null, + "fields": [ + { + "name": "companies", + "description": "fetch data from the table: \"companies\"", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "companies_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "companies_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "companies", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "companies_aggregate", + "description": "fetch aggregated fields from the table: \"companies\"", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "companies_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "companies_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "companies_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "companies_by_pk", + "description": "fetch data from the table: \"companies\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "companies", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_analytics", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_analytics_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment_analytics", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_analytics_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_analytics_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment_analytics_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_analytics_by_pk", + "description": "fetch data from the table: \"equipment_analytics\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "equipment_analytics", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_by_pk", + "description": "fetch data from the table: \"equipment\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "equipment", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_categories", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_categories_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment_categories", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_categories_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_categories_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment_categories_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_categories_by_pk", + "description": "fetch data from the table: \"equipment_categories\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "equipment_categories", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_photos", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_photos_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment_photos", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_photos_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_photos_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment_photos_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_photos_by_pk", + "description": "fetch data from the table: \"equipment_photos\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "equipment_photos", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "industry_templates", + "description": "fetch data from the table: \"industry_templates\"", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "industry_templates_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "industry_templates", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "industry_templates_aggregate", + "description": "fetch aggregated fields from the table: \"industry_templates\"", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "industry_templates_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "industry_templates_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "industry_templates_by_pk", + "description": "fetch data from the table: \"industry_templates\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "industry_templates", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_categories", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issue_categories_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issue_categories", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_categories_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issue_categories_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issue_categories_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_categories_by_pk", + "description": "fetch data from the table: \"issue_categories\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "issue_categories", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_comments", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issue_comments_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issue_comments", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_comments_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issue_comments_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issue_comments_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_comments_by_pk", + "description": "fetch data from the table: \"issue_comments\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "issue_comments", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_photos", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issue_photos_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issue_photos", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_photos_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issue_photos_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issue_photos_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_photos_by_pk", + "description": "fetch data from the table: \"issue_photos\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "issue_photos", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issues", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issues_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issues_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issues", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issues_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issues_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issues_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issues_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issues_by_pk", + "description": "fetch data from the table: \"issues\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "issues", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_types", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "location_types_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "location_types_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "location_types", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_types_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "location_types_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "location_types_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "location_types_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_types_by_pk", + "description": "fetch data from the table: \"location_types\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "location_types", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locations", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "locations_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "locations_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "locations", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locations_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "locations_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "locations_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "locations_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locations_by_pk", + "description": "fetch data from the table: \"locations\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "locations", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "magic_link_tokens", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "magic_link_tokens_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "magic_link_tokens", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "magic_link_tokens_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "magic_link_tokens_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "magic_link_tokens_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "magic_link_tokens_by_pk", + "description": "fetch data from the table: \"magic_link_tokens\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "magic_link_tokens", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maintenance_actions", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "maintenance_actions_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "maintenance_actions", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maintenance_actions_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "maintenance_actions_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "maintenance_actions_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maintenance_actions_by_pk", + "description": "fetch data from the table: \"maintenance_actions\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "maintenance_actions", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notifications_log", + "description": "fetch data from the table: \"notifications_log\"", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "notifications_log_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "notifications_log", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notifications_log_aggregate", + "description": "fetch aggregated fields from the table: \"notifications_log\"", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "notifications_log_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "notifications_log_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notifications_log_by_pk", + "description": "fetch data from the table: \"notifications_log\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "notifications_log", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "parts_used", + "description": "fetch data from the table: \"parts_used\"", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "parts_used_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "parts_used_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "parts_used_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "parts_used", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "parts_used_aggregate", + "description": "fetch aggregated fields from the table: \"parts_used\"", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "parts_used_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "parts_used_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "parts_used_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "parts_used_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "parts_used_by_pk", + "description": "fetch data from the table: \"parts_used\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "parts_used", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "preventive_schedules", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "preventive_schedules_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "preventive_schedules", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "preventive_schedules_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "preventive_schedules_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "preventive_schedules_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "preventive_schedules_by_pk", + "description": "fetch data from the table: \"preventive_schedules\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "preventive_schedules", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "preventive_tasks", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "preventive_tasks_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "preventive_tasks", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "preventive_tasks_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "preventive_tasks_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "preventive_tasks_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "preventive_tasks_by_pk", + "description": "fetch data from the table: \"preventive_tasks\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "preventive_tasks", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "refresh_tokens", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "refresh_tokens_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "refresh_tokens", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "refresh_tokens_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "refresh_tokens_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "refresh_tokens_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "refresh_tokens_by_pk", + "description": "fetch data from the table: \"refresh_tokens\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "refresh_tokens", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "severity_levels", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "severity_levels_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "severity_levels", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "severity_levels_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "severity_levels_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "severity_levels_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "severity_levels_by_pk", + "description": "fetch data from the table: \"severity_levels\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "severity_levels", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "users", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "users_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "users_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "users", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "users_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "users_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "users_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "users_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "users_by_pk", + "description": "fetch data from the table: \"users\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "users", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "refresh_tokens", + "description": "columns and relationships of \"refresh_tokens\"", + "fields": [ + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expires_at", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "revoked_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "token_hash", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "users", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "refresh_tokens_aggregate", + "description": "aggregated selection of \"refresh_tokens\"", + "fields": [ + { + "name": "aggregate", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "refresh_tokens_aggregate_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "refresh_tokens", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_aggregate_bool_exp", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "count", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_aggregate_bool_exp_count", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_aggregate_bool_exp_count", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "arguments", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "refresh_tokens_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "filter", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "predicate", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "refresh_tokens_aggregate_fields", + "description": "aggregate fields of \"refresh_tokens\"", + "fields": [ + { + "name": "avg", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "refresh_tokens_avg_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "count", + "description": null, + "args": [ + { + "name": "columns", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "refresh_tokens_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "max", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "refresh_tokens_max_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "min", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "refresh_tokens_min_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "refresh_tokens_stddev_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "refresh_tokens_stddev_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "refresh_tokens_stddev_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sum", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "refresh_tokens_sum_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "refresh_tokens_var_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "refresh_tokens_var_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variance", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "refresh_tokens_variance_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_aggregate_order_by", + "description": "order by aggregate values of table \"refresh_tokens\"", + "fields": null, + "inputFields": [ + { + "name": "avg", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_avg_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "count", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "max", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_max_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "min", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_min_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_stddev_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev_pop", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_stddev_pop_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev_samp", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_stddev_samp_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sum", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_sum_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "var_pop", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_var_pop_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "var_samp", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_var_samp_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "variance", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_variance_order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_arr_rel_insert_input", + "description": "input type for inserting array relation for remote table \"refresh_tokens\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "refresh_tokens_avg_fields", + "description": "aggregate avg on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_avg_order_by", + "description": "order by avg() on columns of table \"refresh_tokens\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_bool_exp", + "description": "Boolean expression to filter rows from the table \"refresh_tokens\". All fields are combined with a logical 'AND'.", + "fields": null, + "inputFields": [ + { + "name": "_and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "_not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expires_at", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "bigint_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "revoked_at", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "token_hash", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "refresh_tokens_constraint", + "description": "unique or primary key constraints on table \"refresh_tokens\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "refresh_tokens_pkey", + "description": "unique or primary key constraint on columns \"id\"", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "refresh_tokens_token_hash_key", + "description": "unique or primary key constraint on columns \"token_hash\"", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_inc_input", + "description": "input type for incrementing numeric columns in table \"refresh_tokens\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_insert_input", + "description": "input type for inserting data into table \"refresh_tokens\"", + "fields": null, + "inputFields": [ + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expires_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "revoked_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "token_hash", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "refresh_tokens_max_fields", + "description": "aggregate max on columns", + "fields": [ + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expires_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "revoked_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "token_hash", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_max_order_by", + "description": "order by max() on columns of table \"refresh_tokens\"", + "fields": null, + "inputFields": [ + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expires_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "revoked_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "token_hash", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "refresh_tokens_min_fields", + "description": "aggregate min on columns", + "fields": [ + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expires_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "revoked_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "token_hash", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_min_order_by", + "description": "order by min() on columns of table \"refresh_tokens\"", + "fields": null, + "inputFields": [ + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expires_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "revoked_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "token_hash", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "refresh_tokens_mutation_response", + "description": "response of any mutation on the table \"refresh_tokens\"", + "fields": [ + { + "name": "affected_rows", + "description": "number of rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "returning", + "description": "data from the rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "refresh_tokens", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_on_conflict", + "description": "on_conflict condition type for table \"refresh_tokens\"", + "fields": null, + "inputFields": [ + { + "name": "constraint", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "refresh_tokens_constraint", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "update_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "refresh_tokens_update_column", + "ofType": null + } + } + } + }, + "defaultValue": "[]" + }, + { + "name": "where", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_order_by", + "description": "Ordering options when selecting data from \"refresh_tokens\".", + "fields": null, + "inputFields": [ + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expires_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "revoked_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "token_hash", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_pk_columns_input", + "description": "primary key columns input for table: refresh_tokens", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "refresh_tokens_select_column", + "description": "select columns of table \"refresh_tokens\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "created_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expires_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "revoked_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "token_hash", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_set_input", + "description": "input type for updating data in table \"refresh_tokens\"", + "fields": null, + "inputFields": [ + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expires_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "revoked_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "token_hash", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "refresh_tokens_stddev_fields", + "description": "aggregate stddev on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_stddev_order_by", + "description": "order by stddev() on columns of table \"refresh_tokens\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "refresh_tokens_stddev_pop_fields", + "description": "aggregate stddev_pop on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_stddev_pop_order_by", + "description": "order by stddev_pop() on columns of table \"refresh_tokens\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "refresh_tokens_stddev_samp_fields", + "description": "aggregate stddev_samp on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_stddev_samp_order_by", + "description": "order by stddev_samp() on columns of table \"refresh_tokens\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_stream_cursor_input", + "description": "Streaming cursor of the table \"refresh_tokens\"", + "fields": null, + "inputFields": [ + { + "name": "initial_value", + "description": "Stream column input with initial value", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_stream_cursor_value_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "ordering", + "description": "cursor ordering", + "type": { + "kind": "ENUM", + "name": "cursor_ordering", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_stream_cursor_value_input", + "description": "Initial value of the column from where the streaming should start", + "fields": null, + "inputFields": [ + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "expires_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "revoked_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "token_hash", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "refresh_tokens_sum_fields", + "description": "aggregate sum on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_sum_order_by", + "description": "order by sum() on columns of table \"refresh_tokens\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "refresh_tokens_update_column", + "description": "update columns of table \"refresh_tokens\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "created_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "expires_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "revoked_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "token_hash", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_updates", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "refresh_tokens_var_pop_fields", + "description": "aggregate var_pop on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_var_pop_order_by", + "description": "order by var_pop() on columns of table \"refresh_tokens\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "refresh_tokens_var_samp_fields", + "description": "aggregate var_samp on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_var_samp_order_by", + "description": "order by var_samp() on columns of table \"refresh_tokens\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "refresh_tokens_variance_fields", + "description": "aggregate variance on columns", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_variance_order_by", + "description": "order by variance() on columns of table \"refresh_tokens\"", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "user_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "severity_levels", + "description": "columns and relationships of \"severity_levels\"", + "fields": [ + { + "name": "bypass_quiet_hours", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "color", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "companies", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_categories", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issue_categories_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issue_categories", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_categories_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issue_categories_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issue_categories_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issues", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issues_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issues_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issues", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issues_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issues_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issues_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issues_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sla_hours", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sms_alert", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sort_order", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "severity_levels_aggregate", + "description": "aggregated selection of \"severity_levels\"", + "fields": [ + { + "name": "aggregate", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "severity_levels_aggregate_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "severity_levels", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "severity_levels_aggregate_bool_exp", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "bool_and", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_aggregate_bool_exp_bool_and", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "bool_or", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_aggregate_bool_exp_bool_or", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "count", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_aggregate_bool_exp_count", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "severity_levels_aggregate_bool_exp_bool_and", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "arguments", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "severity_levels_select_column_severity_levels_aggregate_bool_exp_bool_and_arguments_columns", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "filter", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "predicate", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Boolean_comparison_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "severity_levels_aggregate_bool_exp_bool_or", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "arguments", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "severity_levels_select_column_severity_levels_aggregate_bool_exp_bool_or_arguments_columns", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "filter", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "predicate", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Boolean_comparison_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "severity_levels_aggregate_bool_exp_count", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "arguments", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "severity_levels_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "filter", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "predicate", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "severity_levels_aggregate_fields", + "description": "aggregate fields of \"severity_levels\"", + "fields": [ + { + "name": "avg", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "severity_levels_avg_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "count", + "description": null, + "args": [ + { + "name": "columns", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "severity_levels_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "max", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "severity_levels_max_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "min", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "severity_levels_min_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "severity_levels_stddev_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "severity_levels_stddev_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "severity_levels_stddev_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sum", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "severity_levels_sum_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "severity_levels_var_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "severity_levels_var_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variance", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "severity_levels_variance_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "severity_levels_aggregate_order_by", + "description": "order by aggregate values of table \"severity_levels\"", + "fields": null, + "inputFields": [ + { + "name": "avg", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_avg_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "count", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "max", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_max_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "min", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_min_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_stddev_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev_pop", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_stddev_pop_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev_samp", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_stddev_samp_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sum", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_sum_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "var_pop", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_var_pop_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "var_samp", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_var_samp_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "variance", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_variance_order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "severity_levels_arr_rel_insert_input", + "description": "input type for inserting array relation for remote table \"severity_levels\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "severity_levels_avg_fields", + "description": "aggregate avg on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sla_hours", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sort_order", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "severity_levels_avg_order_by", + "description": "order by avg() on columns of table \"severity_levels\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sla_hours", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sort_order", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "severity_levels_bool_exp", + "description": "Boolean expression to filter rows from the table \"severity_levels\". All fields are combined with a logical 'AND'.", + "fields": null, + "inputFields": [ + { + "name": "_and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "_not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "bypass_quiet_hours", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Boolean_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "color", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_categories", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_categories_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issues", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issues_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sla_hours", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sms_alert", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Boolean_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sort_order", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "severity_levels_constraint", + "description": "unique or primary key constraints on table \"severity_levels\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "severity_levels_pkey", + "description": "unique or primary key constraint on columns \"id\"", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "severity_levels_inc_input", + "description": "input type for incrementing numeric columns in table \"severity_levels\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sla_hours", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sort_order", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "severity_levels_insert_input", + "description": "input type for inserting data into table \"severity_levels\"", + "fields": null, + "inputFields": [ + { + "name": "bypass_quiet_hours", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "color", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_categories", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issues", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sla_hours", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sms_alert", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sort_order", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "severity_levels_max_fields", + "description": "aggregate max on columns", + "fields": [ + { + "name": "color", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sla_hours", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sort_order", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "severity_levels_max_order_by", + "description": "order by max() on columns of table \"severity_levels\"", + "fields": null, + "inputFields": [ + { + "name": "color", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sla_hours", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sort_order", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "severity_levels_min_fields", + "description": "aggregate min on columns", + "fields": [ + { + "name": "color", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sla_hours", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sort_order", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "severity_levels_min_order_by", + "description": "order by min() on columns of table \"severity_levels\"", + "fields": null, + "inputFields": [ + { + "name": "color", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sla_hours", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sort_order", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "severity_levels_mutation_response", + "description": "response of any mutation on the table \"severity_levels\"", + "fields": [ + { + "name": "affected_rows", + "description": "number of rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "returning", + "description": "data from the rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "severity_levels", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "severity_levels_obj_rel_insert_input", + "description": "input type for inserting object relation for remote table \"severity_levels\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "severity_levels_on_conflict", + "description": "on_conflict condition type for table \"severity_levels\"", + "fields": null, + "inputFields": [ + { + "name": "constraint", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "severity_levels_constraint", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "update_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "severity_levels_update_column", + "ofType": null + } + } + } + }, + "defaultValue": "[]" + }, + { + "name": "where", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "severity_levels_order_by", + "description": "Ordering options when selecting data from \"severity_levels\".", + "fields": null, + "inputFields": [ + { + "name": "bypass_quiet_hours", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "color", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_categories_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issues_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sla_hours", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sms_alert", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sort_order", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "severity_levels_pk_columns_input", + "description": "primary key columns input for table: severity_levels", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "severity_levels_select_column", + "description": "select columns of table \"severity_levels\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "bypass_quiet_hours", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "color", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sla_hours", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sms_alert", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sort_order", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "severity_levels_select_column_severity_levels_aggregate_bool_exp_bool_and_arguments_columns", + "description": "select \"severity_levels_aggregate_bool_exp_bool_and_arguments_columns\" columns of table \"severity_levels\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "bypass_quiet_hours", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sms_alert", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "severity_levels_select_column_severity_levels_aggregate_bool_exp_bool_or_arguments_columns", + "description": "select \"severity_levels_aggregate_bool_exp_bool_or_arguments_columns\" columns of table \"severity_levels\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "bypass_quiet_hours", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sms_alert", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "severity_levels_set_input", + "description": "input type for updating data in table \"severity_levels\"", + "fields": null, + "inputFields": [ + { + "name": "bypass_quiet_hours", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "color", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sla_hours", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sms_alert", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sort_order", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "severity_levels_stddev_fields", + "description": "aggregate stddev on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sla_hours", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sort_order", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "severity_levels_stddev_order_by", + "description": "order by stddev() on columns of table \"severity_levels\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sla_hours", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sort_order", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "severity_levels_stddev_pop_fields", + "description": "aggregate stddev_pop on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sla_hours", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sort_order", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "severity_levels_stddev_pop_order_by", + "description": "order by stddev_pop() on columns of table \"severity_levels\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sla_hours", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sort_order", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "severity_levels_stddev_samp_fields", + "description": "aggregate stddev_samp on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sla_hours", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sort_order", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "severity_levels_stddev_samp_order_by", + "description": "order by stddev_samp() on columns of table \"severity_levels\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sla_hours", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sort_order", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "severity_levels_stream_cursor_input", + "description": "Streaming cursor of the table \"severity_levels\"", + "fields": null, + "inputFields": [ + { + "name": "initial_value", + "description": "Stream column input with initial value", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_stream_cursor_value_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "ordering", + "description": "cursor ordering", + "type": { + "kind": "ENUM", + "name": "cursor_ordering", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "severity_levels_stream_cursor_value_input", + "description": "Initial value of the column from where the streaming should start", + "fields": null, + "inputFields": [ + { + "name": "bypass_quiet_hours", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "color", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sla_hours", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sms_alert", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sort_order", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "severity_levels_sum_fields", + "description": "aggregate sum on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sla_hours", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sort_order", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "severity_levels_sum_order_by", + "description": "order by sum() on columns of table \"severity_levels\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sla_hours", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sort_order", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "severity_levels_update_column", + "description": "update columns of table \"severity_levels\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "bypass_quiet_hours", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "color", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sla_hours", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sms_alert", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sort_order", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "severity_levels_updates", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "severity_levels_var_pop_fields", + "description": "aggregate var_pop on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sla_hours", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sort_order", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "severity_levels_var_pop_order_by", + "description": "order by var_pop() on columns of table \"severity_levels\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sla_hours", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sort_order", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "severity_levels_var_samp_fields", + "description": "aggregate var_samp on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sla_hours", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sort_order", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "severity_levels_var_samp_order_by", + "description": "order by var_samp() on columns of table \"severity_levels\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sla_hours", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sort_order", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "severity_levels_variance_fields", + "description": "aggregate variance on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sla_hours", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sort_order", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "severity_levels_variance_order_by", + "description": "order by variance() on columns of table \"severity_levels\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sla_hours", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sort_order", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "subscription_root", + "description": null, + "fields": [ + { + "name": "companies", + "description": "fetch data from the table: \"companies\"", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "companies_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "companies_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "companies", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "companies_aggregate", + "description": "fetch aggregated fields from the table: \"companies\"", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "companies_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "companies_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "companies_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "companies_by_pk", + "description": "fetch data from the table: \"companies\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "companies", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "companies_stream", + "description": "fetch data from the table in a streaming manner: \"companies\"", + "args": [ + { + "name": "batch_size", + "description": "maximum number of rows returned in a single batch", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "cursor", + "description": "cursor to stream the results returned by the query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "companies_stream_cursor_input", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "companies", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_analytics", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_analytics_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment_analytics", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_analytics_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_analytics_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment_analytics_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_analytics_by_pk", + "description": "fetch data from the table: \"equipment_analytics\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "equipment_analytics", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_analytics_stream", + "description": "fetch data from the table in a streaming manner: \"equipment_analytics\"", + "args": [ + { + "name": "batch_size", + "description": "maximum number of rows returned in a single batch", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "cursor", + "description": "cursor to stream the results returned by the query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_stream_cursor_input", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_analytics_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment_analytics", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_by_pk", + "description": "fetch data from the table: \"equipment\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "equipment", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_categories", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_categories_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment_categories", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_categories_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_categories_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment_categories_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_categories_by_pk", + "description": "fetch data from the table: \"equipment_categories\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "equipment_categories", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_categories_stream", + "description": "fetch data from the table in a streaming manner: \"equipment_categories\"", + "args": [ + { + "name": "batch_size", + "description": "maximum number of rows returned in a single batch", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "cursor", + "description": "cursor to stream the results returned by the query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_stream_cursor_input", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_categories_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment_categories", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_photos", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_photos_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment_photos", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_photos_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "equipment_photos_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment_photos_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_photos_by_pk", + "description": "fetch data from the table: \"equipment_photos\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "equipment_photos", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_photos_stream", + "description": "fetch data from the table in a streaming manner: \"equipment_photos\"", + "args": [ + { + "name": "batch_size", + "description": "maximum number of rows returned in a single batch", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "cursor", + "description": "cursor to stream the results returned by the query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_stream_cursor_input", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_photos_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment_photos", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "equipment_stream", + "description": "fetch data from the table in a streaming manner: \"equipment\"", + "args": [ + { + "name": "batch_size", + "description": "maximum number of rows returned in a single batch", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "cursor", + "description": "cursor to stream the results returned by the query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "equipment_stream_cursor_input", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "equipment_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "equipment", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "industry_templates", + "description": "fetch data from the table: \"industry_templates\"", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "industry_templates_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "industry_templates", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "industry_templates_aggregate", + "description": "fetch aggregated fields from the table: \"industry_templates\"", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "industry_templates_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "industry_templates_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "industry_templates_by_pk", + "description": "fetch data from the table: \"industry_templates\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "industry_templates", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "industry_templates_stream", + "description": "fetch data from the table in a streaming manner: \"industry_templates\"", + "args": [ + { + "name": "batch_size", + "description": "maximum number of rows returned in a single batch", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "cursor", + "description": "cursor to stream the results returned by the query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_stream_cursor_input", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "industry_templates_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "industry_templates", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_categories", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issue_categories_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issue_categories", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_categories_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issue_categories_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issue_categories_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_categories_by_pk", + "description": "fetch data from the table: \"issue_categories\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "issue_categories", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_categories_stream", + "description": "fetch data from the table in a streaming manner: \"issue_categories\"", + "args": [ + { + "name": "batch_size", + "description": "maximum number of rows returned in a single batch", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "cursor", + "description": "cursor to stream the results returned by the query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_stream_cursor_input", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_categories_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issue_categories", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_comments", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issue_comments_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issue_comments", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_comments_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issue_comments_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issue_comments_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_comments_by_pk", + "description": "fetch data from the table: \"issue_comments\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "issue_comments", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_comments_stream", + "description": "fetch data from the table in a streaming manner: \"issue_comments\"", + "args": [ + { + "name": "batch_size", + "description": "maximum number of rows returned in a single batch", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "cursor", + "description": "cursor to stream the results returned by the query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_stream_cursor_input", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issue_comments", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_photos", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issue_photos_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issue_photos", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_photos_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issue_photos_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issue_photos_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_photos_by_pk", + "description": "fetch data from the table: \"issue_photos\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "issue_photos", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_photos_stream", + "description": "fetch data from the table in a streaming manner: \"issue_photos\"", + "args": [ + { + "name": "batch_size", + "description": "maximum number of rows returned in a single batch", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "cursor", + "description": "cursor to stream the results returned by the query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_stream_cursor_input", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issue_photos", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issues", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issues_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issues_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issues", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issues_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issues_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issues_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issues_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issues_by_pk", + "description": "fetch data from the table: \"issues\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "issues", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issues_stream", + "description": "fetch data from the table in a streaming manner: \"issues\"", + "args": [ + { + "name": "batch_size", + "description": "maximum number of rows returned in a single batch", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "cursor", + "description": "cursor to stream the results returned by the query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issues_stream_cursor_input", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issues", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_types", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "location_types_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "location_types_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "location_types", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_types_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "location_types_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "location_types_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "location_types_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_types_by_pk", + "description": "fetch data from the table: \"location_types\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "location_types", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location_types_stream", + "description": "fetch data from the table in a streaming manner: \"location_types\"", + "args": [ + { + "name": "batch_size", + "description": "maximum number of rows returned in a single batch", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "cursor", + "description": "cursor to stream the results returned by the query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "location_types_stream_cursor_input", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "location_types_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "location_types", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locations", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "locations_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "locations_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "locations", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locations_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "locations_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "locations_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "locations_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locations_by_pk", + "description": "fetch data from the table: \"locations\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "locations", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locations_stream", + "description": "fetch data from the table in a streaming manner: \"locations\"", + "args": [ + { + "name": "batch_size", + "description": "maximum number of rows returned in a single batch", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "cursor", + "description": "cursor to stream the results returned by the query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "locations_stream_cursor_input", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "locations", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "magic_link_tokens", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "magic_link_tokens_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "magic_link_tokens", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "magic_link_tokens_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "magic_link_tokens_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "magic_link_tokens_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "magic_link_tokens_by_pk", + "description": "fetch data from the table: \"magic_link_tokens\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "magic_link_tokens", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "magic_link_tokens_stream", + "description": "fetch data from the table in a streaming manner: \"magic_link_tokens\"", + "args": [ + { + "name": "batch_size", + "description": "maximum number of rows returned in a single batch", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "cursor", + "description": "cursor to stream the results returned by the query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_stream_cursor_input", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "magic_link_tokens", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maintenance_actions", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "maintenance_actions_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "maintenance_actions", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maintenance_actions_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "maintenance_actions_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "maintenance_actions_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maintenance_actions_by_pk", + "description": "fetch data from the table: \"maintenance_actions\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "maintenance_actions", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maintenance_actions_stream", + "description": "fetch data from the table in a streaming manner: \"maintenance_actions\"", + "args": [ + { + "name": "batch_size", + "description": "maximum number of rows returned in a single batch", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "cursor", + "description": "cursor to stream the results returned by the query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_stream_cursor_input", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "maintenance_actions", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notifications_log", + "description": "fetch data from the table: \"notifications_log\"", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "notifications_log_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "notifications_log", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notifications_log_aggregate", + "description": "fetch aggregated fields from the table: \"notifications_log\"", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "notifications_log_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "notifications_log_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notifications_log_by_pk", + "description": "fetch data from the table: \"notifications_log\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "notifications_log", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notifications_log_stream", + "description": "fetch data from the table in a streaming manner: \"notifications_log\"", + "args": [ + { + "name": "batch_size", + "description": "maximum number of rows returned in a single batch", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "cursor", + "description": "cursor to stream the results returned by the query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_stream_cursor_input", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "notifications_log", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "parts_used", + "description": "fetch data from the table: \"parts_used\"", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "parts_used_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "parts_used_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "parts_used_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "parts_used", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "parts_used_aggregate", + "description": "fetch aggregated fields from the table: \"parts_used\"", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "parts_used_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "parts_used_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "parts_used_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "parts_used_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "parts_used_by_pk", + "description": "fetch data from the table: \"parts_used\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "parts_used", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "parts_used_stream", + "description": "fetch data from the table in a streaming manner: \"parts_used\"", + "args": [ + { + "name": "batch_size", + "description": "maximum number of rows returned in a single batch", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "cursor", + "description": "cursor to stream the results returned by the query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "parts_used_stream_cursor_input", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "parts_used_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "parts_used", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "preventive_schedules", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "preventive_schedules_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "preventive_schedules", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "preventive_schedules_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "preventive_schedules_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "preventive_schedules_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "preventive_schedules_by_pk", + "description": "fetch data from the table: \"preventive_schedules\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "preventive_schedules", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "preventive_schedules_stream", + "description": "fetch data from the table in a streaming manner: \"preventive_schedules\"", + "args": [ + { + "name": "batch_size", + "description": "maximum number of rows returned in a single batch", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "cursor", + "description": "cursor to stream the results returned by the query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_stream_cursor_input", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "preventive_schedules", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "preventive_tasks", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "preventive_tasks_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "preventive_tasks", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "preventive_tasks_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "preventive_tasks_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "preventive_tasks_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "preventive_tasks_by_pk", + "description": "fetch data from the table: \"preventive_tasks\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "preventive_tasks", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "preventive_tasks_stream", + "description": "fetch data from the table in a streaming manner: \"preventive_tasks\"", + "args": [ + { + "name": "batch_size", + "description": "maximum number of rows returned in a single batch", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "cursor", + "description": "cursor to stream the results returned by the query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_stream_cursor_input", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_tasks_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "preventive_tasks", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "refresh_tokens", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "refresh_tokens_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "refresh_tokens", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "refresh_tokens_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "refresh_tokens_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "refresh_tokens_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "refresh_tokens_by_pk", + "description": "fetch data from the table: \"refresh_tokens\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "bigint", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "refresh_tokens", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "refresh_tokens_stream", + "description": "fetch data from the table in a streaming manner: \"refresh_tokens\"", + "args": [ + { + "name": "batch_size", + "description": "maximum number of rows returned in a single batch", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "cursor", + "description": "cursor to stream the results returned by the query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_stream_cursor_input", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "refresh_tokens", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "severity_levels", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "severity_levels_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "severity_levels", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "severity_levels_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "severity_levels_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "severity_levels_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "severity_levels_by_pk", + "description": "fetch data from the table: \"severity_levels\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "severity_levels", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "severity_levels_stream", + "description": "fetch data from the table in a streaming manner: \"severity_levels\"", + "args": [ + { + "name": "batch_size", + "description": "maximum number of rows returned in a single batch", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "cursor", + "description": "cursor to stream the results returned by the query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_stream_cursor_input", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "severity_levels_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "severity_levels", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "users", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "users_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "users_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "users", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "users_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "users_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "users_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "users_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "users_by_pk", + "description": "fetch data from the table: \"users\" using primary key columns", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "users", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "users_stream", + "description": "fetch data from the table in a streaming manner: \"users\"", + "args": [ + { + "name": "batch_size", + "description": "maximum number of rows returned in a single batch", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "cursor", + "description": "cursor to stream the results returned by the query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "users_stream_cursor_input", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "users", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "timestamptz", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "description": "Boolean expression to compare columns of type \"timestamptz\". All fields are combined with logical 'AND'.", + "fields": null, + "inputFields": [ + { + "name": "_eq", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_gt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_gte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_in", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "_is_null", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_lt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_lte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_neq", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_nin", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "users", + "description": "columns and relationships of \"users\"", + "fields": [ + { + "name": "company", + "description": "An object relationship", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "companies", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_location_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "email", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "is_active", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_comments", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issue_comments_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issue_comments", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_comments_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issue_comments_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issue_comments_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_photos", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issue_photos_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issue_photos", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issue_photos_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issue_photos_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issue_photos_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issues", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issues_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issues_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issues", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuesByReporterId", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issues_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issues_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issues", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issuesByReporterId_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issues_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issues_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issues_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issues_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "issues_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "issues_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "issues_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last_login_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "location", + "description": "An object relationship", + "args": [], + "type": { + "kind": "OBJECT", + "name": "locations", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locations", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "locations_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "locations_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "locations", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locations_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "locations_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "locations_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "locations_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "magic_link_tokens", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "magic_link_tokens_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "magic_link_tokens", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "magic_link_tokens_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "magic_link_tokens_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "magic_link_tokens_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maintenance_actions", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "maintenance_actions_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "maintenance_actions", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "maintenance_actions_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "maintenance_actions_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "maintenance_actions_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notification_prefs", + "description": null, + "args": [ + { + "name": "path", + "description": "JSON select path", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notifications_logs", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "notifications_log_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "notifications_log", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notifications_logs_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "notifications_log_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "notifications_log_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "password_hash", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "phone", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "preventive_schedules", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "preventive_schedules_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "preventive_schedules", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "preventive_schedules_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "preventive_schedules_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "preventive_schedules_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "refresh_tokens", + "description": "An array relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "refresh_tokens_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "refresh_tokens", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "refresh_tokens_aggregate", + "description": "An aggregate relationship", + "args": [ + { + "name": "distinct_on", + "description": "distinct select on columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "refresh_tokens_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "limit", + "description": "limit the number of rows returned", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "offset", + "description": "skip the first n rows. Use only with order_by", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "order_by", + "description": "sort the rows by one or more columns", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_order_by", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows returned", + "type": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "refresh_tokens_aggregate", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "role", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "users_aggregate", + "description": "aggregated selection of \"users\"", + "fields": [ + { + "name": "aggregate", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "users_aggregate_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "users", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "users_aggregate_bool_exp", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "bool_and", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_aggregate_bool_exp_bool_and", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "bool_or", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_aggregate_bool_exp_bool_or", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "count", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_aggregate_bool_exp_count", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "users_aggregate_bool_exp_bool_and", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "arguments", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "users_select_column_users_aggregate_bool_exp_bool_and_arguments_columns", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "filter", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "predicate", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Boolean_comparison_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "users_aggregate_bool_exp_bool_or", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "arguments", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "users_select_column_users_aggregate_bool_exp_bool_or_arguments_columns", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "filter", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "predicate", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Boolean_comparison_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "users_aggregate_bool_exp_count", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "arguments", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "users_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "filter", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "predicate", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "users_aggregate_fields", + "description": "aggregate fields of \"users\"", + "fields": [ + { + "name": "avg", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "users_avg_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "count", + "description": null, + "args": [ + { + "name": "columns", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "users_select_column", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "distinct", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "max", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "users_max_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "min", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "users_min_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "users_stddev_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "users_stddev_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stddev_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "users_stddev_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sum", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "users_sum_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_pop", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "users_var_pop_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "var_samp", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "users_var_samp_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variance", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "users_variance_fields", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "users_aggregate_order_by", + "description": "order by aggregate values of table \"users\"", + "fields": null, + "inputFields": [ + { + "name": "avg", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_avg_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "count", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "max", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_max_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "min", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_min_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_stddev_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev_pop", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_stddev_pop_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "stddev_samp", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_stddev_samp_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "sum", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_sum_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "var_pop", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_var_pop_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "var_samp", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_var_samp_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "variance", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_variance_order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "users_append_input", + "description": "append existing jsonb value of filtered columns with new jsonb value", + "fields": null, + "inputFields": [ + { + "name": "notification_prefs", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "users_arr_rel_insert_input", + "description": "input type for inserting array relation for remote table \"users\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "users_insert_input", + "ofType": null + } + } + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "users_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "users_avg_fields", + "description": "aggregate avg on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_location_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "users_avg_order_by", + "description": "order by avg() on columns of table \"users\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_location_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "description": "Boolean expression to filter rows from the table \"users\". All fields are combined with a logical 'AND'.", + "fields": null, + "inputFields": [ + { + "name": "_and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "_not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "company", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_location_id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "email", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Int_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "is_active", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "Boolean_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_comments", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_comments_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_photos", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_photos_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issues", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issuesByReporterId", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issuesByReporterId_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issues_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "last_login_at", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "timestamptz_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "locations", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "locations_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "magic_link_tokens", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "magic_link_tokens_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "maintenance_actions", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "maintenance_actions_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "notification_prefs", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "jsonb_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "notifications_logs", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "notifications_logs_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "password_hash", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "phone", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "preventive_schedules", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "preventive_schedules_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "refresh_tokens", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "refresh_tokens_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_aggregate_bool_exp", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "role", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "String_comparison_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "users_constraint", + "description": "unique or primary key constraints on table \"users\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "uq_users_email_per_company", + "description": "unique or primary key constraint on columns \"email\", \"company_id\"", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "users_pkey", + "description": "unique or primary key constraint on columns \"id\"", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "users_delete_at_path_input", + "description": "delete the field or element with specified path (for JSON arrays, negative integers count from the end)", + "fields": null, + "inputFields": [ + { + "name": "notification_prefs", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "users_delete_elem_input", + "description": "delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array", + "fields": null, + "inputFields": [ + { + "name": "notification_prefs", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "users_delete_key_input", + "description": "delete key/value pair or string element. key/value pairs are matched based on their key value", + "fields": null, + "inputFields": [ + { + "name": "notification_prefs", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "users_inc_input", + "description": "input type for incrementing numeric columns in table \"users\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_location_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "users_insert_input", + "description": "input type for inserting data into table \"users\"", + "fields": null, + "inputFields": [ + { + "name": "company", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_location_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "email", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "is_active", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_comments", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_photos", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issues", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issuesByReporterId", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "last_login_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_obj_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "locations", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "magic_link_tokens", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "maintenance_actions", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "notification_prefs", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "notifications_logs", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "password_hash", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "phone", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "preventive_schedules", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "refresh_tokens", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_arr_rel_insert_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "role", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "users_max_fields", + "description": "aggregate max on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_location_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "email", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last_login_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "password_hash", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "phone", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "role", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "users_max_order_by", + "description": "order by max() on columns of table \"users\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_location_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "email", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "last_login_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "password_hash", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "phone", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "role", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "users_min_fields", + "description": "aggregate min on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_location_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "email", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last_login_at", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "password_hash", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "phone", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "role", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "users_min_order_by", + "description": "order by min() on columns of table \"users\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_location_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "email", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "last_login_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "password_hash", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "phone", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "role", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "users_mutation_response", + "description": "response of any mutation on the table \"users\"", + "fields": [ + { + "name": "affected_rows", + "description": "number of rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "returning", + "description": "data from the rows affected by the mutation", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "users", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "users_obj_rel_insert_input", + "description": "input type for inserting object relation for remote table \"users\"", + "fields": null, + "inputFields": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "users_insert_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "on_conflict", + "description": "upsert condition", + "type": { + "kind": "INPUT_OBJECT", + "name": "users_on_conflict", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "users_on_conflict", + "description": "on_conflict condition type for table \"users\"", + "fields": null, + "inputFields": [ + { + "name": "constraint", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "users_constraint", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "update_columns", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "users_update_column", + "ofType": null + } + } + } + }, + "defaultValue": "[]" + }, + { + "name": "where", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "users_order_by", + "description": "Ordering options when selecting data from \"users\".", + "fields": null, + "inputFields": [ + { + "name": "company", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "companies_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_location_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "email", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "is_active", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_comments_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_comments_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issue_photos_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issue_photos_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issuesByReporterId_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "issues_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "issues_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "last_login_at", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "location", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "locations_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "locations_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "magic_link_tokens_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "magic_link_tokens_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "maintenance_actions_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "maintenance_actions_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "notification_prefs", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "notifications_logs_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "notifications_log_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "password_hash", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "phone", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "preventive_schedules_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "preventive_schedules_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "refresh_tokens_aggregate", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "refresh_tokens_aggregate_order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "role", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "users_pk_columns_input", + "description": "primary key columns input for table: users", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "users_prepend_input", + "description": "prepend existing jsonb value of filtered columns with new jsonb value", + "fields": null, + "inputFields": [ + { + "name": "notification_prefs", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "users_select_column", + "description": "select columns of table \"users\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "company_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_location_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "email", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "is_active", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last_login_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notification_prefs", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "password_hash", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "phone", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "role", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "users_select_column_users_aggregate_bool_exp_bool_and_arguments_columns", + "description": "select \"users_aggregate_bool_exp_bool_and_arguments_columns\" columns of table \"users\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "is_active", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "users_select_column_users_aggregate_bool_exp_bool_or_arguments_columns", + "description": "select \"users_aggregate_bool_exp_bool_or_arguments_columns\" columns of table \"users\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "is_active", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "users_set_input", + "description": "input type for updating data in table \"users\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_location_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "email", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "is_active", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "last_login_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "notification_prefs", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "password_hash", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "phone", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "role", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "users_stddev_fields", + "description": "aggregate stddev on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_location_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "users_stddev_order_by", + "description": "order by stddev() on columns of table \"users\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_location_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "users_stddev_pop_fields", + "description": "aggregate stddev_pop on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_location_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "users_stddev_pop_order_by", + "description": "order by stddev_pop() on columns of table \"users\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_location_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "users_stddev_samp_fields", + "description": "aggregate stddev_samp on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_location_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "users_stddev_samp_order_by", + "description": "order by stddev_samp() on columns of table \"users\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_location_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "users_stream_cursor_input", + "description": "Streaming cursor of the table \"users\"", + "fields": null, + "inputFields": [ + { + "name": "initial_value", + "description": "Stream column input with initial value", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "users_stream_cursor_value_input", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "ordering", + "description": "cursor ordering", + "type": { + "kind": "ENUM", + "name": "cursor_ordering", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "users_stream_cursor_value_input", + "description": "Initial value of the column from where the streaming should start", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "created_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_location_id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "email", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "is_active", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "last_login_at", + "description": null, + "type": { + "kind": "SCALAR", + "name": "timestamptz", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "notification_prefs", + "description": null, + "type": { + "kind": "SCALAR", + "name": "jsonb", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "password_hash", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "phone", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "role", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "users_sum_fields", + "description": "aggregate sum on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_location_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "users_sum_order_by", + "description": "order by sum() on columns of table \"users\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_location_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "users_update_column", + "description": "update columns of table \"users\"", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "company_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "created_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_location_id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "email", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "is_active", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last_login_at", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notification_prefs", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "password_hash", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "phone", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "role", + "description": "column name", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "users_updates", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "_append", + "description": "append existing jsonb value of filtered columns with new jsonb value", + "type": { + "kind": "INPUT_OBJECT", + "name": "users_append_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_delete_at_path", + "description": "delete the field or element with specified path (for JSON arrays, negative integers count from the end)", + "type": { + "kind": "INPUT_OBJECT", + "name": "users_delete_at_path_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_delete_elem", + "description": "delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array", + "type": { + "kind": "INPUT_OBJECT", + "name": "users_delete_elem_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_delete_key", + "description": "delete key/value pair or string element. key/value pairs are matched based on their key value", + "type": { + "kind": "INPUT_OBJECT", + "name": "users_delete_key_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_inc", + "description": "increments the numeric columns with given value of the filtered values", + "type": { + "kind": "INPUT_OBJECT", + "name": "users_inc_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_prepend", + "description": "prepend existing jsonb value of filtered columns with new jsonb value", + "type": { + "kind": "INPUT_OBJECT", + "name": "users_prepend_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_set", + "description": "sets the columns of the filtered rows to the given values", + "type": { + "kind": "INPUT_OBJECT", + "name": "users_set_input", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "where", + "description": "filter the rows which have to be updated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "users_bool_exp", + "ofType": null + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "users_var_pop_fields", + "description": "aggregate var_pop on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_location_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "users_var_pop_order_by", + "description": "order by var_pop() on columns of table \"users\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_location_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "users_var_samp_fields", + "description": "aggregate var_samp on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_location_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "users_var_samp_order_by", + "description": "order by var_samp() on columns of table \"users\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_location_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "users_variance_fields", + "description": "aggregate variance on columns", + "fields": [ + { + "name": "company_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "default_location_id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "users_variance_order_by", + "description": "order by variance() on columns of table \"users\"", + "fields": null, + "inputFields": [ + { + "name": "company_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "default_location_id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "ENUM", + "name": "order_by", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "uuid", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "uuid_comparison_exp", + "description": "Boolean expression to compare columns of type \"uuid\". All fields are combined with logical 'AND'.", + "fields": null, + "inputFields": [ + { + "name": "_eq", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_gt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_gte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_in", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + } + }, + "defaultValue": null + }, + { + "name": "_is_null", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_lt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_lte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_neq", + "description": null, + "type": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "_nin", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "uuid", + "ofType": null + } + } + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + } + ], + "directives": [ + { + "name": "include", + "description": "whether this query should be included", + "locations": [ + "FIELD", + "FRAGMENT_SPREAD", + "INLINE_FRAGMENT" + ], + "args": [ + { + "name": "if", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "defaultValue": null + } + ] + }, + { + "name": "skip", + "description": "whether this query should be skipped", + "locations": [ + "FIELD", + "FRAGMENT_SPREAD", + "INLINE_FRAGMENT" + ], + "args": [ + { + "name": "if", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "defaultValue": null + } + ] + }, + { + "name": "cached", + "description": "whether this query should be cached (Hasura Cloud only)", + "locations": [ + "QUERY" + ], + "args": [ + { + "name": "ttl", + "description": "measured in seconds", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": "60" + }, + { + "name": "refresh", + "description": "refresh the cache entry", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "defaultValue": "false" + } + ] + } + ] + } +} diff --git a/front/src/lib/locations.ts b/front/src/lib/locations.ts new file mode 100644 index 0000000..593ac5b --- /dev/null +++ b/front/src/lib/locations.ts @@ -0,0 +1,31 @@ +import { gql, useQuery, type UseQueryArgs } from 'urql' + +interface Location { + id: number + name: string +} + +interface LocationsData { + locations: Location[] +} + +interface LocationsVariables { + company_id: number +} + +const LOCATIONS_QUERY = gql` + query Locations($company_id: Int!) { + locations(where: { company_id: { _eq: $company_id } }, order_by: { name: asc }) { + id + name + } + } +` + +export const useGetLocations = ( + props: Omit, 'query'>, +) => + useQuery({ + query: LOCATIONS_QUERY, + ...props, + }) diff --git a/front/src/locales/en-GB.json b/front/src/locales/en-GB.json index 03ad721..07680a6 100644 --- a/front/src/locales/en-GB.json +++ b/front/src/locales/en-GB.json @@ -53,7 +53,14 @@ "demo_identity": "Demo Identity", "select_identity": "Select identity...", "restricted_access": "Restricted Access Terminal.", - "request_credentials": "Request Credentials" + "request_credentials": "Request Credentials", + "mode_password": "Password", + "mode_magic_link": "Magic Link", + "magic_link_description": "Enter your email and we'll send you a login link. No password needed.", + "magic_link_send": "Send Login Link", + "magic_link_sent": "Check your inbox", + "magic_link_check_inbox": "We sent a login link to", + "magic_link_resend": "Send to a different email" }, "branding": { "tagline": "OperaFix: Operations without failures", diff --git a/front/src/locales/pt-PT.json b/front/src/locales/pt-PT.json index bd79f09..f932ce3 100644 --- a/front/src/locales/pt-PT.json +++ b/front/src/locales/pt-PT.json @@ -53,7 +53,14 @@ "demo_identity": "Identidade de Demonstração (Demo)", "select_identity": "Selecione uma identidade...", "restricted_access": "Terminal de Acesso Restrito.", - "request_credentials": "Solicitar Credenciais" + "request_credentials": "Solicitar Credenciais", + "mode_password": "Password", + "mode_magic_link": "Link Magico", + "magic_link_description": "Digite o seu email e iremos mandar um email com um login link.", + "magic_link_send": "Enviar Login Link", + "magic_link_sent": "Verifica a tua email", + "magic_link_check_inbox": "Mandamos um login link para", + "magic_link_resend": "Mandado para outro email" }, "branding": { "tagline": "OperaFix: Operações sem falhas", diff --git a/front/src/main.tsx b/front/src/main.tsx index 73ddfd7..d4af00c 100644 --- a/front/src/main.tsx +++ b/front/src/main.tsx @@ -1,6 +1,8 @@ -import React from 'react' +import { StrictMode } from 'react' import ReactDOM from 'react-dom/client' import App from './App.tsx' +import { Provider as UrqlProvider } from 'urql' +import { gqlClient } from './lib/gql/graphql-client.ts' import './index.css' import './i18n' @@ -11,8 +13,10 @@ import './i18n' const rootElement = document.getElementById('root') if (rootElement) { ReactDOM.createRoot(rootElement).render( - - - , + + + + + , ) } diff --git a/front/src/pages/AuthVerify.tsx b/front/src/pages/AuthVerify.tsx new file mode 100644 index 0000000..d956379 --- /dev/null +++ b/front/src/pages/AuthVerify.tsx @@ -0,0 +1,126 @@ +import { type FC, useEffect, useState } from 'react' +import { useNavigate } from 'react-router-dom' +import { motion } from 'framer-motion' +import { CheckCircle2, Loader2, QrCode, XCircle } from 'lucide-react' +import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '../components/Card.tsx' +import { Button } from '../components/Button.tsx' +import { useAuth } from '../context/AuthContext.tsx' + +type State = 'loading' | 'success' | 'error' + +export const AuthVerify: FC = () => { + const navigate = useNavigate() + const { user, isLoading } = useAuth() + const [state, setState] = useState('loading') + + const params = new URLSearchParams(window.location.search) + const hasError = params.get('error') + + useEffect(() => { + if (hasError) { + setState('error') + return + } + + // AuthContext useEffect already called refresh() on mount + if (!isLoading) { + if (user) { + setState('success') + setTimeout(() => navigate('/'), 1500) + } else { + setState('error') + } + } + }, [isLoading, user]) + + return ( +
+
+
+
+ + + {/* Same branding header as Login */} +
+
+ +
+
+

+ OperaFix +

+
+
+ + + + + {state === 'loading' && 'Verifying Link'} + {state === 'success' && 'Access Granted'} + {state === 'error' && 'Link Invalid'} + + + {state === 'loading' && 'Please wait...'} + {state === 'success' && 'Redirecting to dashboard'} + {state === 'error' && 'This link has expired or already been used'} + + + + + {state === 'loading' && ( + + +

+ Authenticating session +

+
+ )} + + {state === 'success' && ( + + +

+ Login successful +

+
+ )} + + {state === 'error' && ( + + +

+ Request a new link from the login page +

+ +
+ )} +
+
+
+
+ ) +} diff --git a/front/src/pages/Docs/ApiDocs.tsx b/front/src/pages/Docs/ApiDocs.tsx new file mode 100644 index 0000000..8b0340f --- /dev/null +++ b/front/src/pages/Docs/ApiDocs.tsx @@ -0,0 +1,592 @@ +import { type FC, useEffect, useState } from 'react' +import { + Check, + ChevronDown, + ChevronRight, + CircleAlert, + Copy, + Key, + Layers, + Link as LinkIcon, + Loader2, + Lock, + ShieldAlert, + Unlock, +} from 'lucide-react' +import { cn } from '../../lib/utils' +import { Card, CardContent } from '../../components/Card' + +interface OpenAPISpec { + info: { title: string; description: string; version: string } + servers: Array<{ url: string; description: string }> + tags: Array<{ name: string; description: string }> + paths: Record> + components?: { + securitySchemes?: Record + schemas?: Record + } +} + +interface Operation { + tags: string[] + summary: string + description: string + operationId: string + security?: Array> + parameters?: Parameter[] + requestBody?: RequestBody + responses: Record +} + +interface Parameter { + in: string + name: string + required: boolean + description: string + schema: Schema +} + +interface RequestBody { + required: boolean + content: Record +} + +interface Response { + description: string + content?: Record +} + +interface Schema { + type?: string + format?: string + example?: unknown + $ref?: string + properties?: Record + required?: string[] + enum?: string[] +} + +interface SecurityScheme { + type: string + scheme?: string + bearerFormat?: string + description: string +} + +const METHOD_STYLES: Record = { + get: 'bg-emerald-500/10 text-emerald-400 border-emerald-500/20', + post: 'bg-blue-500/10 text-blue-400 border-blue-500/20', + put: 'bg-amber-500/10 text-amber-400 border-amber-500/20', + patch: 'bg-orange-500/10 text-orange-400 border-orange-500/20', + delete: 'bg-red-500/10 text-red-400 border-red-500/20', +} + +const STATUS_STYLES: Record = { + '2': 'text-emerald-400', + '4': 'text-amber-400', + '5': 'text-red-400', +} + +function MethodBadge({ method }: { method: string }) { + return ( + + {method.toUpperCase()} + + ) +} + +function CopyButton({ text }: { text: string }) { + const [copied, setCopied] = useState(false) + const copy = async () => { + await navigator.clipboard.writeText(text) + setCopied(true) + setTimeout(() => setCopied(false), 1500) + } + return ( + + ) +} + +function CodeBlock({ + children, + language = 'json', +}: { + children: string + language?: string +}) { + return ( +
+
+ + {language} + + +
+
+        {children}
+      
+
+ ) +} + +function EndpointRow({ + method, + path, + operation, + schemas, +}: { + method: string + path: string + operation: Operation + schemas: Record +}) { + const [open, setOpen] = useState(false) + const isSecured = (operation.security?.length ?? 0) > 0 + + const resolveExample = (schema?: Schema): string => { + if (!schema) return '{}' + if (schema.$ref) { + const name = schema.$ref.split('/').pop()! + const resolved = schemas[name] + if (resolved?.properties) { + const ex: Record = {} + for (const [k, v] of Object.entries(resolved.properties)) { + ex[k] = v.example ?? + (v.type === 'string' ? '' : v.type === 'integer' ? 0 : null) + } + return JSON.stringify(ex, null, 2) + } + } + return JSON.stringify(schema.example ?? {}, null, 2) + } + + const requestExample = operation.requestBody + ? (() => { + const content = Object.values(operation.requestBody.content)[0] + return content?.example + ? JSON.stringify(content.example, null, 2) + : resolveExample(content?.schema) + })() + : null + + return ( +
+ {/* Row header — always visible */} + + + {/* Expanded detail */} + {open && ( +
+ {/* Description + auth badge */} +
+

+ {operation.description} +

+ {isSecured + ? ( + + Bearer JWT + + ) + : ( + + Public + + )} +
+ +
+ {/* Left — Parameters + Request body */} +
+ {/* Parameters */} + {(operation.parameters?.length ?? 0) > 0 && ( +
+

+ Parameters +

+
+ {operation.parameters!.map((param) => ( +
+
+
+ + {param.name} + + + {param.in} + + {param.required && ( + + required + + )} +
+

+ {param.description} +

+
+ + {param.schema?.type} + +
+ ))} +
+
+ )} + + {/* Request body */} + {requestExample && ( +
+

+ Request body +

+ {requestExample} +
+ )} + + {/* curl example */} +
+

+ Example +

+ + {[ + `curl -X ${method.toUpperCase()} http://localhost:8081${path}`, + isSecured ? ` -H "Authorization: Bearer "` : null, + requestExample ? ` -H "Content-Type: application/json"` : null, + requestExample ? ` -d '${requestExample.replace(/\n/g, ' ')}'` : null, + ] + .filter(Boolean) + .join(' \\\n')} + +
+
+ + {/* Right — Responses */} +
+

+ Responses +

+
+ {Object.entries(operation.responses).map( + ([status, response]) => ( +
+
+ + {status} + + + {response.description} + +
+ {response.content && ( +
+ {Object.entries(response.content).map( + ([mime, content]) => ( +
+ {content.example + ? ( +
+                                      {JSON.stringify(content.example, null, 2)}
+                                    
+ ) + : content.schema?.$ref + ? ( + + → {content.schema.$ref.split('/').pop()} + + ) + : null} +
+ ), + )} +
+ )} +
+ ), + )} +
+
+
+
+ )} +
+ ) +} + +const TagSection = ({ + tag, + endpoints, + schemas, +}: { + tag: { name: string; description: string } + endpoints: Array<{ method: string; path: string; operation: Operation }> + schemas: Record +}) => { + const [collapsed, setCollapsed] = useState(false) + + return ( +
+ + + {!collapsed && ( +
+ {endpoints.map(({ method, path, operation }) => ( + + ))} +
+ )} +
+ ) +} + +export const ApiDocs: FC = () => { + const [spec, setSpec] = useState(null) + const [loading, setLoading] = useState(true) + const [error, setError] = useState(null) + + useEffect(() => { + fetch('/api/docs') + .then((res) => { + if (!res.ok) throw new Error(`HTTP ${res.status}`) + return res.json() + }) + .then((data) => { + setSpec(data) + setLoading(false) + }) + .catch((err) => { + setError(err.message) + setLoading(false) + }) + }, []) + + if (loading) { + return ( +
+ + + Loading spec... + +
+ ) + } + + if (error || !spec) { + return ( +
+ + + Failed to load API spec — is the API running?{' '} + {error} + +
+ ) + } + + const schemas = spec.components?.schemas ?? {} + const securitySchemes = spec.components?.securitySchemes ?? {} + + // Group endpoints by tag + const endpointsByTag: Record< + string, + Array<{ method: string; path: string; operation: Operation }> + > = {} + + for (const [path, methods] of Object.entries(spec.paths)) { + for (const [method, operation] of Object.entries(methods)) { + const tag = operation.tags?.[0] ?? 'other' + if (!endpointsByTag[tag]) endpointsByTag[tag] = [] + endpointsByTag[tag].push({ method, path, operation }) + } + } + + return ( +
+ {/* Header */} +
+
+
+

+ {spec.info.title} +

+

+ {spec.info.description} +

+
+ + v{spec.info.version} + +
+ + {/* Servers */} +
+ {spec.servers.map((server) => ( +
+ +
+

+ {server.description} +

+ + {server.url} + +
+
+ ))} +
+
+ + {/* Auth schemes */} + {Object.keys(securitySchemes).length > 0 && ( +
+

+ Authentication +

+
+ {Object.entries(securitySchemes).map(([name, scheme]) => ( + + +
+ + + {name} + + + {scheme.scheme ?? scheme.type} + + {scheme.bearerFormat && ( + + {scheme.bearerFormat} + + )} +
+

+ {scheme.description} +

+
+
+ ))} +
+
+ )} + + {/* Endpoints grouped by tag */} +
+

+ Endpoints +

+ +
+ {spec.tags.map((tag) => { + const endpoints = endpointsByTag[tag.name] ?? [] + if (endpoints.length === 0) return null + return ( + + ) + })} + {/* Any endpoints not covered by a declared tag */} + {endpointsByTag['other'] && ( + + )} +
+
+
+ ) +} diff --git a/front/src/pages/Docs/index.tsx b/front/src/pages/Docs/index.tsx index 3beabea..cb49421 100644 --- a/front/src/pages/Docs/index.tsx +++ b/front/src/pages/Docs/index.tsx @@ -1,10 +1,20 @@ import type React from 'react' import { useState } from 'react' -import { Box, Database, GitMerge, ListTodo, Map as MapIcon, Palette, Terminal } from 'lucide-react' +import { + Box, + Database, + GitMerge, + Landmark, + ListTodo, + Map as MapIcon, + Palette, + Terminal, +} from 'lucide-react' import { cn } from '../../lib/utils.ts' import { ThemingDocs } from './ThemingDocs.tsx' import { WorkflowDocs } from './WorkflowDocs.tsx' import { SchemaDocs } from './SchemaDocs.tsx' +import { ApiDocs } from './ApiDocs.tsx' import { ComponentsDocs } from './ComponentsDocs.tsx' import { UserJourneyDocs } from './UserJourneyDocs.tsx' import { NextPhaseDocs } from './NextPhaseDocs.tsx' @@ -18,6 +28,7 @@ export const Docs: React.FC = () => { { id: 'schema', label: 'Data Schema (Current)', icon: Database }, { id: 'workflow', label: 'System Workflow', icon: GitMerge }, { id: 'user_journey', label: 'User Journeys', icon: MapIcon }, + { id: 'api', label: 'Api Docs', icon: Landmark }, { id: 'next_phase', label: 'Next Phase & To-Do', icon: ListTodo }, ] @@ -70,6 +81,7 @@ export const Docs: React.FC = () => { {activeTab === 'workflow' && } {activeTab === 'user_journey' && } {activeTab === 'next_phase' && } + {activeTab === 'api' && }
diff --git a/front/src/pages/Equipment/EquipmentList.tsx b/front/src/pages/Equipment/EquipmentList.tsx index df2ef88..6aedf1f 100644 --- a/front/src/pages/Equipment/EquipmentList.tsx +++ b/front/src/pages/Equipment/EquipmentList.tsx @@ -1,7 +1,6 @@ -import { type FC, useMemo, useState } from 'react' +import { type FC, useEffect, useState } from 'react' import { useTranslation } from 'react-i18next' -import { CATEGORIES, EQUIPMENT, LOCATIONS } from '../../data/mockData.ts' -import { Card, CardContent, CardHeader } from '../../components/Card.tsx' +import { Card, CardContent, CardHeader } from '../../components/Card' import { Table, TableBody, @@ -15,49 +14,76 @@ import { Button } from '../../components/Button.tsx' import { Input, Select } from '../../components/Input.tsx' import { ChevronRight, Plus, QrCode } from 'lucide-react' import { useNavigate } from 'react-router-dom' -import { useAuth } from '../../context/AuthContext.tsx' +import { useAuth } from '../../context/AuthContext' +import { useGetEquipmentCategories, useGetEquipmentList } from '../../lib/equipment' +import { useGetLocations } from '../../lib/locations' +// debounce on search +export function useDebounce(value: T, delay = 300): T { + const [debounced, setDebounced] = useState(value) + useEffect(() => { + const t = setTimeout(() => setDebounced(value), delay) + return () => clearTimeout(t) + }, [value, delay]) + return debounced +} /** * Fleet inventory overview. - * Provides advanced filtering and searching for all registered assets. + * Fetches live data from Hasura; filtering is server-side via GraphQL variables. */ export const EquipmentList: FC = () => { const navigate = useNavigate() const { t } = useTranslation() - const { user } = useAuth() + const { user, isLoading } = useAuth() + + // TODO: add a loader? + if (isLoading) return null + const [searchTerm, setSearchTerm] = useState('') - const [locationFilter, setLocationFilter] = useState('all') - const [statusFilter, setStatusFilter] = useState('all') - const [typeFilter, setTypeFilter] = useState('all') + const [locationFilter, setLocationFilter] = useState(null) + const [statusFilter, setStatusFilter] = useState(null) + const [categoryFilter, setCategoryFilter] = useState(null) + const debouncedSearch = useDebounce(searchTerm, 300) + + const where: Record = { + company_id: { _eq: user!.companyId }, + } + if (locationFilter) where.location_id = { _eq: locationFilter } + if (categoryFilter) where.category_id = { _eq: categoryFilter } + if (statusFilter) where.status = { _eq: statusFilter } + if (debouncedSearch) { + const term = `%${debouncedSearch}%` + where._or = [ + { name: { _ilike: term } }, + { serial_number: { _ilike: term } }, + { qr_code_id: { _ilike: term } }, + ] + } + const [{ data, fetching, error }] = useGetEquipmentList({ + variables: { where }, + pause: !user, + }) const isAdminOrManager = user?.role === 'admin' || user?.role === 'ops_manager' || user?.role === 'manager' - /** - * Filter the equipment list based on user input and selected filters. - */ - const filteredEquipment = useMemo( - () => - EQUIPMENT.filter((item) => { - const matchesSearch = item.name.toLowerCase().includes(searchTerm.toLowerCase()) || - item.serialNumber.toLowerCase().includes(searchTerm.toLowerCase()) || - item.qrCodeId.toLowerCase().includes(searchTerm.toLowerCase()) - const matchesLocation = locationFilter === 'all' || - item.locationId === locationFilter - const matchesStatus = statusFilter === 'all' || - item.status === statusFilter - const matchesType = typeFilter === 'all' || - item.categoryId === typeFilter + // TODO: handle fetching and error ? + const [{ data: locationsData }] = useGetLocations({ + variables: { company_id: user!.companyId }, + pause: !user, + }) + const [{ data: categoriesData }] = useGetEquipmentCategories({ + variables: { company_id: user!.companyId }, + pause: !user, + }) - return matchesSearch && matchesLocation && matchesStatus && matchesType - }), - [searchTerm, locationFilter, statusFilter, typeFilter], - ) + const locations = locationsData?.locations ?? [] + const categories = categoriesData?.equipment_categories ?? [] + const equipment = data?.equipment ?? [] return (
- {/* Header section with search and primary actions */}

@@ -84,7 +110,6 @@ export const EquipmentList: FC = () => {

- {/* Filtering interface */}
@@ -99,12 +124,15 @@ export const EquipmentList: FC = () => {
+ - {/* Detailed inventory table */} + {error && ( +

+ {error.message} +

+ )} @@ -161,59 +200,63 @@ export const EquipmentList: FC = () => { - {filteredEquipment.length > 0 + {fetching ? ( - filteredEquipment.map((item) => ( - navigate(`/equipment/${item.id}`)} - className='group cursor-pointer' - > - -
- - {item.name} - - - {item.qrCodeId} - -
-
- - - {CATEGORIES.find((c) => c.id === item.categoryId)?.name} - - - {LOCATIONS.find((l) => l.id === item.locationId)?.name} - - - - - - - - {new Date(item.installDate).toLocaleDateString( - 'en-GB', - { - day: '2-digit', - month: 'short', - year: 'numeric', - }, - )} - - - - - + // Skeleton rows — replace with your Skeleton component if you have one + Array.from({ length: 6 }).map((_, i) => ( + + {Array.from({ length: 6 }).map((_, j) => ( + +
+ + ))} )) ) + : equipment.length > 0 + ? equipment.map((item) => ( + navigate(`/equipment/${item.id}`)} + className='group cursor-pointer' + > + +
+ + {item.name} + + + {item.qr_code_id} + +
+
+ + {item.equipment_category.name} + + + {item.location?.name || '-'} + + + + + + {new Date(item.install_date).toLocaleDateString('en-GB', { + day: '2-digit', + month: 'short', + year: 'numeric', + })} + + + + +
+ )) : ( { const { t, i18n } = useTranslation() - const { login } = useAuth() + const { login, error } = useAuth() const { mode, toggleMode } = useTheme() - const [selected, setSelected] = useState('') + + const [loginMode, setLoginMode] = useState('password') const [email, setEmail] = useState('') const [password, setPassword] = useState('') + const [isSubmitting, setIsSubmitting] = useState(false) + const [magicLinkSent, setMagicLinkSent] = useState(false) + const [magicLinkError, setMagicLinkError] = useState(null) - /** - * Handle the login form submission. - */ - const handleLogin = (e: FormEvent) => { + const handleLogin = async (e: FormEvent) => { e.preventDefault() - if (selected) { - login(selected) + if (!email || !password) return + setIsSubmitting(true) + try { + await login(email, password) window.location.href = '/' + } finally { + setIsSubmitting(false) + } + } + + const handleMagicLink = async (e: FormEvent) => { + e.preventDefault() + if (!email) return + setIsSubmitting(true) + setMagicLinkError(null) + try { + await authApi.magicLink(email) + setMagicLinkSent(true) + } catch { + setMagicLinkError('Something went wrong. Please try again.') + } finally { + setIsSubmitting(false) } } return (
- {/* Configuration controls in the top corner */}
-
- {/* Decorative background gradients */}
@@ -69,110 +79,171 @@ export const Login: FC = () => { transition={{ duration: 0.8, ease: [0.22, 1, 0.36, 1] }} className='max-w-md w-full relative z-10' > - {/* Branding header */}
-

- OperaFix -

+

OperaFix

{t('branding.tagline')}
- {/* Main Login Card */} - - {t('login.title')} - + {t('login.title')} {t('login.subtitle')} - -
- setEmail(e.target.value)} - autoComplete='email' - /> -
+ + + {/* Mode switcher */} +
+ {(['password', 'magic-link'] as LoginMode[]).map((m) => ( + + ))} +
+ + {/* Password form */} + {loginMode === 'password' && ( + setPassword(e.target.value)} - autoComplete='current-password' + label={t('common.email')} + type='email' + placeholder='email@example.com' + value={email} + onChange={(e) => setEmail(e.target.value)} + autoComplete='email' + required /> -
- +
+ setPassword(e.target.value)} + autoComplete='current-password' + required + /> +
+ +
-
- {/* Demo identity selector for testing purposes */} -
-
- -
-
- - Development Bypass - -
-
- - - - + + )} + + {/* Magic link form */} + {loginMode === 'magic-link' && ( + - {t('common.login')} - - + {magicLinkSent + ? ( + + +
+

+ {t('login.magic_link_sent')} +

+

+ {t('login.magic_link_check_inbox')}{' '} + {email} +

+
+ +
+ ) + : ( +
+

+ {t('login.magic_link_description')} +

+ setEmail(e.target.value)} + autoComplete='email' + required + /> + + {magicLinkError && ( +

+ {magicLinkError} +

+ )} + + + + )} +
+ )}
diff --git a/front/src/pages/QRScanner.tsx b/front/src/pages/QRScanner.tsx index 11ba408..5f3979f 100644 --- a/front/src/pages/QRScanner.tsx +++ b/front/src/pages/QRScanner.tsx @@ -3,9 +3,9 @@ import { useNavigate } from 'react-router-dom' import { useTranslation } from 'react-i18next' import { AnimatePresence, motion } from 'framer-motion' import { - AlertCircle, Calendar, CheckCircle2, + CircleAlert, FilePlus, Info, MapPin, @@ -202,7 +202,7 @@ export const QRScanner: FC = () => {
- +

diff --git a/front/src/pages/Settings.tsx b/front/src/pages/Settings.tsx index 2f370c0..a6d7ba2 100644 --- a/front/src/pages/Settings.tsx +++ b/front/src/pages/Settings.tsx @@ -1,89 +1,90 @@ import type { ColorTheme } from '../context/ThemeContext.tsx' -import { type FC, type ReactNode, useState } from 'react' +import { type FC, type ReactNode, useEffect, useState } from 'react' import { useTheme } from '../context/ThemeContext.tsx' import { useAuth } from '../context/AuthContext.tsx' import { useToast } from '../context/ToastContext.tsx' import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '../components/Card.tsx' import { Button } from '../components/Button.tsx' -import { Input } from '../components/Input.tsx' -import { MapPin, Palette, Plus, ShieldCheck, Trash2, User as UserIcon, Users } from 'lucide-react' +import { Input, Select } from '../components/Input.tsx' +import { + Loader2, + MapPin, + Palette, + Plus, + ShieldCheck, + Trash2, + User as UserIcon, + Users, + X, +} from 'lucide-react' import { Badge } from '../components/Badge.tsx' -import { LOCATIONS, USERS } from '../data/mockData.ts' import { cn } from '../lib/utils.ts' import { useTranslation } from 'react-i18next' +import { type InviteUserPayload, type UserDetail, usersApi } from '../lib/api/user.ts' +import { AnimatePresence, motion } from 'framer-motion' + +const ROLES = ['employee', 'technician', 'location_manager', 'ops_manager', 'admin'] as const -/** - * Settings page for user profile, system preferences, and administrative management. - * Organised into tabs for better navigation between different configuration areas. - */ export const Settings: FC = () => { const { t } = useTranslation() const { user } = useAuth() const { mode, colorTheme, toggleMode, setColorTheme } = useTheme() const { toast } = useToast() - const [activeTab, setActiveTab] = useState< - 'profile' | 'users' | 'locations' | 'roles' - >('profile') + const [activeTab, setActiveTab] = useState<'profile' | 'users' | 'locations' | 'roles'>('profile') - // Determine if the current user has administrative permissions - const isAdmin = user?.role === 'admin' || user?.role === 'ops_manager' + const isAdmin = user?.role === 'admin' || user?.role === 'ops_manager' || + user?.role === 'location_manager' - /** - * List of available colour themes for the application. - */ - const themes: { id: ColorTheme; color: string; name: string }[] = [ - { - id: 'gold', - color: 'bg-[#b3922d] dark:bg-[#f2ca50]', - name: t('settings.theme_gold'), - }, - { - id: 'sapphire', - color: 'bg-[#0284c7] dark:bg-[#38bdf8]', - name: t('settings.theme_sapphire'), - }, - { - id: 'emerald', - color: 'bg-[#059669] dark:bg-[#34d399]', - name: t('settings.theme_emerald'), - }, - { - id: 'ruby', - color: 'bg-[#e11d48] dark:bg-[#fb7185]', - name: t('settings.theme_ruby'), - }, - { - id: 'amethyst', - color: 'bg-[#7c3aed] dark:bg-[#a78bfa]', - name: t('settings.theme_amethyst'), - }, - ] + const [users, setUsers] = useState([]) + const [usersLoading, setUsersLoading] = useState(false) + const [showInviteModal, setShowInviteModal] = useState(false) + const [deactivatingId, setDeactivatingId] = useState(null) - /** - * Save profile changes and show a confirmation toast. - */ - const handleSaveProfile = () => { - toast('Profile settings saved successfully!', 'success') + useEffect(() => { + if (activeTab !== 'users' || !isAdmin) return + setUsersLoading(true) + usersApi + .list() + .then(setUsers) + .catch(() => toast('Failed to load users', 'error')) + .finally(() => setUsersLoading(false)) + }, [activeTab]) + + const handleDeactivate = async (u: UserDetail) => { + if (!confirm(`Deactivate ${u.name}? They will no longer be able to log in.`)) return + setDeactivatingId(u.id) + try { + await usersApi.deactivate(u.id) + setUsers((prev) => prev.filter((x) => x.id !== u.id)) + toast(`${u.name} has been deactivated`, 'success') + } catch { + toast('Failed to deactivate user', 'error') + } finally { + setDeactivatingId(null) + } } - /** - * Update the application's primary accent colour. - */ - const handleThemeChange = (id: ColorTheme, name: string) => { - setColorTheme(id) - toast(`Theme updated to ${name}`, 'info') + const handleInvited = (newUser: UserDetail) => { + setUsers((prev) => [newUser, ...prev]) + setShowInviteModal(false) + toast(`Invite sent to ${newUser.email}`, 'success') } + const themes: { id: ColorTheme; color: string; name: string }[] = [ + { id: 'gold', color: 'bg-[#b3922d] dark:bg-[#f2ca50]', name: t('settings.theme_gold') }, + { id: 'sapphire', color: 'bg-[#0284c7] dark:bg-[#38bdf8]', name: t('settings.theme_sapphire') }, + { id: 'emerald', color: 'bg-[#059669] dark:bg-[#34d399]', name: t('settings.theme_emerald') }, + { id: 'ruby', color: 'bg-[#e11d48] dark:bg-[#fb7185]', name: t('settings.theme_ruby') }, + { id: 'amethyst', color: 'bg-[#7c3aed] dark:bg-[#a78bfa]', name: t('settings.theme_amethyst') }, + ] + return (
-

- {t('settings.title')} -

+

{t('settings.title')}

{t('settings.subtitle')}

- {/* Tab navigation bar */}
{
- {/* Profile Management Section */} + {/* Profile */} {activeTab === 'profile' && ( @@ -131,21 +132,13 @@ export const Settings: FC = () => {
- {user?.avatar - ? ( - {`${user?.name}'s - ) - : } +
@@ -154,43 +147,20 @@ export const Settings: FC = () => {

-
- - + + -
- -
- -
)} - {/* Administrative User Management */} + {/* Users */} {activeTab === 'users' && isAdmin && ( @@ -198,124 +168,86 @@ export const Settings: FC = () => { {t('settings.user_management')} - - {t('settings.user_management_desc')} - + {t('settings.user_management_desc')}
- -
- {USERS.map((u) => ( -
-
-
- {u.avatar - ? ( - {`${u.name}'s - ) - : } -
-
-

- {u.name} -

-

- {u.email} -

-
-
-
- - -
+
+
+ +
+
+

{u.name}

+

{u.email}

+
+
+
+ + {user?.role === 'admin' && u.id !== user?.id && ( + + )} +
+
+ ))}
- ))} -
+ )} )} - {/* Location and Site Configuration */} + {/* Locations, kept as-is, will be wired to API in locations module */} {activeTab === 'locations' && isAdmin && ( - -
- - {t('common.locations')} - - - {t('settings.locations_desc')} - -
- + + + {t('common.locations')} + + {t('settings.locations_desc')} -
- {LOCATIONS.slice(0, 5).map((l) => ( -
-
-
- -
-
-

- {l.name} -

-

- {l.type} -

-
-
- -
- ))} -
+

Location management coming soon.

)}
- {/* System Preferences Sidebar */} + {/* Preferences sidebar */}
@@ -324,27 +256,21 @@ export const Settings: FC = () => { - {/* Appearance Mode */}

{t('settings.dark_mode')}

-

- {t('settings.dark_mode_desc')} -

+

{t('settings.dark_mode_desc')}

- {/* Primary Accent Selection */}

{t('settings.accent_color')}

- {themes.map((t) => ( + {themes.map((th) => (
- - {/* Notification Settings */} -
-
-

- {t('settings.notifications')} -

-

- {t('settings.notifications_desc')} -

-
- -
- {/* System Integrity Badge */} @@ -412,36 +320,130 @@ export const Settings: FC = () => { -
-

- {t('common.status')}: {t('common.operational')} -

-

- Version: 2.4.0-Enterprise -

-
+

+ {t('common.status')}: {t('common.operational')} +

+

+ Version: 2.4.0-Enterprise +

+ + {/* Invite modal */} + + {showInviteModal && ( + setShowInviteModal(false)} + onInvited={handleInvited} + /> + )} + +

+ ) +} + +const InviteModal: FC<{ onClose: () => void; onInvited: (u: UserDetail) => void }> = ( + { onClose, onInvited }, +) => { + const [form, setForm] = useState({ name: '', email: '', role: 'employee' }) + const [isSubmitting, setIsSubmitting] = useState(false) + const [error, setError] = useState(null) + + const set = + (field: keyof InviteUserPayload) => + (e: React.ChangeEvent) => + setForm((prev) => ({ ...prev, [field]: e.target.value })) + + const handleSubmit = async (e: React.FormEvent) => { + e.preventDefault() + setError(null) + setIsSubmitting(true) + try { + const user = await usersApi.invite(form) + onInvited(user) + } catch (err) { + setError(err instanceof Error ? err.message : 'Failed to send invite') + } finally { + setIsSubmitting(false) + } + } + + return ( +
+ + +
+

Invite User

+ +
+ +
+ + + + + + {error &&

{error}

} + +
+ + +
+ +
) } -/** - * Reusable navigation tab button. - */ -const TabButton = ({ - active, - onClick, - label, - icon, -}: { - active: boolean - onClick: () => void - label: string - icon: ReactNode -}) => ( +const TabButton = ( + { active, onClick, label, icon }: { + active: boolean + onClick: () => void + label: string + icon: ReactNode + }, +) => (