export declare const queryDepartmentByUserId = "\n  query MyQuery($user_id: Int!) {\n    department_user(\n      where: { deleted_at: { _is_null: true }, user_id: { _eq: $user_id } }\n    ) {\n      department {\n        id\n        name\n        code\n        department_manager_id\n        department_users(where: {deleted_at: {_is_null: true}}) {\n          user_id\n          user_manager_id\n        }\n      }\n    }\n  }\n";
export declare const queryDepartmentIsManager = "\n  query MyQuery($department_manager_id: _int4!) {\n    find_department(\n      args: { manager_id: $department_manager_id }\n      where: { deleted_at: { _is_null: true } }\n    ) {\n      department {\n        id\n        name\n        code\n        department_manager_id\n        department_users(where: {deleted_at: {_is_null: true}}) {\n          user_id\n          user_manager_id\n        }\n      }\n    }\n  }\n";
export declare const queryUserManageOfUserLevelFirst = "\n  query queryUserManageOfUserLevelFirst($user_id: Int!) {\n    department_user(\n      where: {deleted_at: {_is_null: true}, user_id: {_eq: $user_id}}\n    ) {\n      user_manager_id\n      department_id\n      userByUserManagerId {\n        full_name\n        email\n        email_secondary\n        is_use_email_secondary\n        department_users(where: {deleted_at: {_is_null: true}}) {\n          user_manager_id\n          department_id\n        }\n      }\n    }\n  }\n";
export declare const queryUserManageOfUserLevelSecond = "\n  query queryUserManageOfUserLevelSecond($user_id: Int!) {\n    department_user(where: {deleted_at: {_is_null: true}, user_id: {_eq: $user_id}}) {\n      department {\n        name\n        department {\n          name\n          department_users(where: {deleted_at: {_is_null: true}}) {\n            user_id\n            user {\n              full_name\n              email\n              email_secondary\n              is_use_email_secondary\n              user_roles(where: {deleted_at: {_is_null: true}}) {\n                role {\n                  is_master_role\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n";
